| xgb_pro | R Documentation |
Fits an XGBoost model using the Cox proportional hazards objective function.
xgb_pro(X, y_surv, tune = FALSE)
X |
A data frame of predictors. |
y_surv |
A |
tune |
Logical. If TRUE, performs internal tuning (currently handled by cv.glmnet automatically). |
An object of class survival_xgboost and pro_model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.