EvaluationMeasures.table {EvaluationMeasures} | R Documentation |
EvaluationMeasures.table
Description
Specify the number of TP,TN,FP,FN
Usage
EvaluationMeasures.table(Real, Predicted, Positive = 1)
Arguments
Real |
Real binary values of the class |
Predicted |
Predicted binary values of the class |
Positive |
Consider 1 label as Positive Class unless changing this parameter to 0 |
Details
By getting the predicted values and real values calulate the number of True positive samples, False Negative, False Positive and True Negative
Value
TP,TN,FP,FN
Author(s)
Babak Khorsand
Examples
EvaluationMeasures.table(c(1,0,1,0,1,0,1,0),c(1,1,1,1,1,0,0,0))
[Package EvaluationMeasures version 1.1.0 Index]