Evaluation.accuracy.Rd
Function to calculate the accuract of an estimator, given its estimates and the observed outcomes.
Evaluation.accuracy(data.observed, data.predicted)
data.observed | the true data (Y). |
---|---|
data.predicted | the Y outcome from the estimator . |
double the calculated accuracy.