|
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
Syntax [ObsoleteAttribute("Please use Learn(x, y) instead.")]
public double Run(
double[] time,
SurvivalOutcome[] censor
)
<ObsoleteAttribute("Please use Learn(x, y) instead.")>
Public Function Run (
time As Double(),
censor As SurvivalOutcome()
) As Double
Request Example
View SourceParameters
- 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:
DoubleThe maximum relative change in the parameters after the iteration.
See Also