Returns calibrated probabilities from calib$model, where calib is obtained by calling the
A vector of probabilities that the model will calibrate.
A list containing a calibration map, a calibration model and the fitted parameters, obtained by calling the
1 2 3 4 5 6 7 8 9 10 11
## Creating a vector of probabilities p <- seq(0.01,0.99,0.01) ## Creating a label vector based on the probability vector y <- rbinom(99,1,p) ## Fitting beta calibration with three parameters calib <- beta_calibration(p, y, "abm") ## Obtaining calibrated probabilities probas <- beta_predict(p, calib)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.