EvaluationMeasures.table: EvaluationMeasures.table

Description Usage Arguments Details Value Author(s) Examples

View source: R/table.R

Description

Specify the number of TP,TN,FP,FN

Usage

1
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

1
EvaluationMeasures.table(c(1,0,1,0,1,0,1,0),c(1,1,1,1,1,0,0,0))

EvaluationMeasures documentation built on May 30, 2017, 5:22 a.m.