Click or drag to resize
Accord.NET (logo)

ProportionalHazardsNewtonRaphsonRun Method (Double, Int32)

Note: This API is now obsolete.

Runs the Newton-Raphson update for Cox's hazards learning until convergence.

Namespace:  Accord.Statistics.Models.Regression.Fitting
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
[ObsoleteAttribute("Please use Learn(x, y) instead.")]
public double Run(
	double[] time,
	int[] censor
Request Example View Source


Type: SystemDouble
The time-to-event for the non-censored training samples.
Type: SystemInt32
The output (event) associated with each input vector.

Return Value

Type: Double
The maximum relative change in the parameters after the iteration.
See Also