I just installed the ROCR
package in R, in order to calculate several performance measures such as accuracy, AUC, recall, precision, ...
However, when I calculate accuracy, I don't understand the meaning of the "cutoffs". The result is the following:
An object of class "performance"
Slot "x.name":
[1] "Cutoff"
Slot "y.name":
[1] "Accuracy"
Slot "alpha.name":
[1] "none"
Slot "x.values":
[[1]]
[1] Inf 2 1
Slot "y.values":
[[1]]
[1] 0.45 0.75 0.55
Slot "alpha.values":
list()
The second value from y.values
, 0.75, is the actual accuracy of the model and the number that I want. But I don't understand why it is calculating 2 other accuracies? Can someone help?