Click or drag to resize
Accord.NET (logo)

ProportionalHazardsNewtonRaphsonRun Method (Double, 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
Syntax
[ObsoleteAttribute("Please use Learn(x, y) instead.")]
public double Run(
	double[][] inputs,
	double[] time,
	SurvivalOutcome[] censor
)
Request Example View Source

Parameters

inputs
Type: SystemDouble
The input data.
time
Type: SystemDouble
The time-to-event for the non-censored training samples.
censor
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