predict_hazard.glmnetcv_survival_learner | R Documentation |
glmnetcv_survival_learner
for each point in the features.A higher hazard coefficient estimate corresponds to a smaller predicted survival time.
## S3 method for class 'glmnetcv_survival_learner'
predict_hazard(obj, X, fit_index = NULL, ...)
obj |
The learner or grid to use for prediction. |
X |
The features of the data. |
fit_index |
The index of the fit in the path to use for prediction, defaulting to the best fit if not supplied. |
... |
Additional arguments (unused) |
Julia Equivalent:
IAI.predict_hazard
Requires IAI version 3.0 or higher.
## Not run: iai::predict_hazard(lnr, X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.