Learn R Programming

iai (version 1.4.0)

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

Description

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

Usage

predict_hazard(lnr, X)

Arguments

lnr

The learner or grid to use for prediction.

X

The features of the data.

IAI Compatibility

Requires IAI version 1.2 or higher.

Details

Julia Equivalent: IAI.predict_hazard

Examples

Run this code
# NOT RUN {
iai::predict_hazard(lnr, X)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab