Click or drag to resize
Accord.NET (logo)

ProportionalHazardsNewtonRaphsonLearn Method (Double, Double, SurvivalOutcome, Double)

Learns a model that can map the given inputs to the given outputs.

Namespace:  Accord.Statistics.Models.Regression.Fitting
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public ProportionalHazards Learn(
	double[][] inputs,
	double[] time,
	SurvivalOutcome[] censor,
	double[] weights = null
)
Request Example View Source

Parameters

inputs
Type: SystemDouble
The model inputs.
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.
weights (Optional)
Type: SystemDouble
The weight of importance for each input-output pair (if supported by the learning algorithm).

Return Value

Type: ProportionalHazards
A model that has learned how to produce censor given inputs and time.
See Also