Last chance! 50% off unlimited learning
Sale ends in
calcAvgAcc
calculates the average accuracy between predicted thermal sensation votes and actual obtained sensation votes
calcAvgAcc(ref, pred)
a numeric item or vector containing categorical actual thermal sensation votes coded from -3 'cold' to +3 'hot'
a numeric item or vector containing categorical predicted thermal sensation votes coded from -3 'cold' to +3 'hot'
calcAvgAcc
returns a single value presenting the average accuracy between actual and predicted thermal sensation votes.
Sokolova, M. and Lapalme, G. A systematic analysis of performance measures for classification tasks, Information Processing & Management, Elsevier, 2009, 45, 427-437
see also calcTPRTSV
, calcMeanBias
# NOT RUN {
## Define data
ref <- rnorm(5) # actual thermal sensation votes
ref <- cutTSV(ref)
pred <- rnorm(5) # predicted thermal sensation votes
pred <- cutTSV(pred)
calcAvgAcc(ref, pred)
# }
Run the code above in your browser using DataLab