Use a pretrained model to predict new data.
Examples
ds.first_name
), datasets (ds
or ds[["first_name", "last_name"]]
) or models (referenced
by name e.g. "churn-clf"
).
Inputs
Outputs
step(..., {"param": "value", ...}) -> (output)
.
Parameters
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:null
.To use this feature, the target
parameter must also be provided to identify the event and duration
columns in the dataset.