Click or drag to resize
Accord.NET (logo)

ProportionalHazardsAnalysisCompute Method (Double, Int32)

Note: This API is now obsolete.

Computes the Proportional Hazards Analysis.

Namespace:  Accord.Statistics.Analysis
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
[ObsoleteAttribute("Please use Learn(x, y) instead.")]
public bool Compute(
	double limit = 0.0001,
	int maxIterations = 50
Request Example View Source


limit (Optional)
Type: SystemDouble
The difference between two iterations of the regression algorithm when the algorithm should stop. If not specified, the value of 1e-4 will be used. The difference is calculated based on the largest absolute parameter change of the regression.
maxIterations (Optional)
Type: SystemInt32
The maximum number of iterations to be performed by the regression algorithm.

Return Value

Type: Boolean
True if the model converged, false otherwise.
See Also