brierScore {PatientLevelPrediction} | R Documentation |
brierScore
Description
brierScore
Usage
brierScore(prediction)
Arguments
prediction |
A prediction dataframe |
Details
Calculates the brierScore from prediction object
Value
A list containing the brier score and the scaled brier score
Examples
prediction <- data.frame(
value = c(0.1, 0.2, 0.3, 0.4, 0.5),
outcomeCount = c(0, 1, 0, 1, 1))
brierScore(prediction)
[Package PatientLevelPrediction version 6.4.1 Index]