fit_logit_platt_scaler.Rd
fit_logit_platt_scaler fit the Platt scaler to calibrate the xgboost predictions
fit_logit_platt_scaler(model, data)
model | an xgboost model fit with parsnip |
---|---|
data | a data frame |
a logistic regression (parsnip) model