Learn R Programming

iai (version 1.10.2)

predict_hazard.survival_learner: Return the fitted hazard coefficient estimate made by a survival learner for each point in the features.

Description

A higher hazard coefficient estimate corresponds to a smaller predicted survival time.

Usage

# S3 method for survival_learner
predict_hazard(obj, X, ...)

Arguments

obj

The learner or grid to use for prediction.

X

The features of the data.

...

Additional arguments (unused)

IAI Compatibility

Requires IAI version 1.2 or higher.

Details

Julia Equivalent: IAI.predict_hazard

Examples

Run this code
if (FALSE) iai::predict_hazard(lnr, X)

Run the code above in your browser using DataLab