predict.survival_learner {iai}R Documentation

Return the predictions made by a survival learner for each point in the features

Description

Julia Equivalent: IAI.predict

Usage

## S3 method for class '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

## Not run: iai::predict(lnr, X, t = 10)


[Package iai version 1.10.0 Index]