Click or drag to resize
Accord.NET (logo)

ProportionalHazardsNewtonRaphsonRun Method (Double, SurvivalOutcome)

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,
	SurvivalOutcome[] censor
Request Example View Source


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

Return Value

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