accuracy: Accuracy Calculator

View source: R/utils.R

accuracyR Documentation

Accuracy Calculator

Description

Accuracy Calculator

Usage

accuracy(predicted, actual)

Arguments

predicted

Predicted odds of an event occuring. needen't be of set (0,1)

actual

If the event occured (0 or 1), or model results in 0, 0.25, 0.4, 0.6, 0.75, 1.0

Value

a percentage of correct predictions


pbulsink/HockeyModel documentation built on Dec. 16, 2024, 8:03 a.m.