powered by
brierScore
brierScore(prediction)
A list containing the brier score and the scaled brier score
A prediction dataframe
Calculates the brierScore from prediction object
prediction <- data.frame( value = c(0.1, 0.2, 0.3, 0.4, 0.5), outcomeCount = c(0, 1, 0, 1, 1)) brierScore(prediction)
Run the code above in your browser using DataLab