predict_hazard.survival_learner: Return the fitted hazard coefficient estimate made by a...

View source: R/iaibase.R

predict_hazard.survival_learnerR Documentation

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 class '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)

Details

Julia Equivalent: IAI.predict_hazard

IAI Compatibility

Requires IAI version 1.2 or higher.

Examples

## Not run: iai::predict_hazard(lnr, X)


iai documentation built on Oct. 19, 2024, 1:07 a.m.