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

View source: R/iaibase.R

predict.survival_learnerR 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)


iai documentation built on July 9, 2023, 5:41 p.m.