View source: R/cross-validation.R
Due to rounding, too many or too few predictions may be made. This functions makes the adjustments in a reasonable manner
1 | adjustPredictions(predictions, probabilities, n)
|
predictions |
An integer vector of the number of each category that have been predicted. |
probabilities |
A vector of probabilities |
n |
How many predictions should there be |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.