Description Usage Arguments Details Value
Get a sparse summary of the calibration
1 | getCalibration(prediction, numberOfStrata = 10, truncateFraction = 0.01)
|
prediction |
A prediction object as generated using the
|
numberOfStrata |
The number of strata in the plot. |
truncateFraction |
This fraction of probability values will be ignored when plotting, to avoid the x-axis scale being dominated by a few outliers. |
Generates a sparse summary showing the predicted probabilities and the observed fractions. Predictions are stratefied into equally sized bins of predicted probabilities.
A dataframe with the calibration summary
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.