Train and store a survival model to be loaded at a later point for prediction.
Examples
ds.first_name
), datasets (ds
or ds[["first_name", "last_name"]]
) or models (referenced
by name e.g. "churn-clf"
).
Inputs
target
parameter below) and the feature columns you wish to use in the model.Outputs
step(..., {"param": "value", ...}) -> (output)
.
Parameters
Properties
median
returns the median survival time. percentile
returns the survival time at
the given percentile. expectation
returns the expected survival time.
survival_function
returns the whole survival function (one series per sample).Values must be one of the following:median
percentile
expectation
survival_function
kind
is set to percentile
Values must be in the following range:kind
is set to survival_function
.
Either an explicit array of durations, or an object specifying a duration step size and
maximum duration.Properties
Array items
breslow
spline
piecewise