stepwise_catch_prob_predict.Rdstepwise_catch_prob_predict Make calibrated predictions from xgboost + Platt scaling
stepwise_catch_prob_predict(data, xgb_model)
| data | a data frame |
|---|---|
| xgb_model | the xgboost (parsnip) model |
a vector of predicted probabilities