Description Usage Arguments Details Value See Also Examples
Returns measures that assess prediction performance.
1 2 |
act |
A numeric vector of actual values. Typically equal to one for a player one win, zero for a player two win, and one half for a draw. |
pred |
A numeric vector of predictions, typically values between zero and one. A matrix can also be given, in which case the jth column contains the predictions for model j. |
cap |
A numeric vector of length two giving values at which to cap the binomial deviance. |
which |
Select metrics using any subset of |
na.rm |
Remove missing values in predictions. The default is to remove missing values because the default predict method will predict missing values for games with new players. |
sort |
By default output is ordered from best to worst using the first metric specified. |
digits |
Round to this number of digits. |
scale |
If |
The preferred metric for assessing predictions in chess is the capped binomial deviance. Mean squared error and mean absolute error metrics are also produced. By default all metrics are scaled so that the value 100 represents the zero information case. If not scaled, then all metrics are multiplied by 100.
A numeric vector.
1 2 3 4 5 6 |
bdev mse mae
96.096 97.213 90.358
bdev mse mae
66.609 48.366 44.733
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.