brier {ModelMetrics} | R Documentation |
Brier Score
Description
Calculates the Brier score
Usage
brier(...)
## Default S3 method:
brier(actual, predicted, ...)
## S3 method for class 'glm'
brier(modelObject, ...)
## S3 method for class 'randomForest'
brier(modelObject, ...)
## S3 method for class 'glmerMod'
brier(modelObject, ...)
## S3 method for class 'gbm'
brier(modelObject, ...)
## S3 method for class 'rpart'
brier(modelObject, ...)
Arguments
... |
additional parameters to be passed the the s3 methods |
actual |
A vector of the labels |
predicted |
A vector of predicted values |
modelObject |
the model object. Currently supported |
[Package ModelMetrics version 1.2.2.2 Index]