Learn R Programming

iai (version 1.10.2)

predict.survival_learner: Return the predictions made by a survival learner for each point in the features

Description

Julia Equivalent: IAI.predict

Usage

# S3 method for survival_learner
predict(obj, X, t = NULL, ...)

Arguments

obj

The learner or grid to use for prediction.

X

The features of the data.

t

The time for which to predict survival probability, defaulting to returning the entire survival curve if not supplied

...

Additional arguments (unused)

Examples

Run this code
if (FALSE) iai::predict(lnr, X, t = 10)

Run the code above in your browser using DataLab