public class ClassificationEvaluation extends Object
Constructor and Description |
---|
ClassificationEvaluation() |
Modifier and Type | Method and Description |
---|---|
void |
addEvaluation(Map map) |
void |
count(int actual,
int predicted) |
static ClassificationEvaluation |
create(Map map) |
double |
getAccuracy() |
double |
getF1() |
double |
getPrecision() |
double |
getRecall() |
void |
putToMap(Map map) |
Map |
toMap() |
public void count(int actual, int predicted)
public void putToMap(Map map)
public Map toMap()
public static ClassificationEvaluation create(Map map)
public void addEvaluation(Map map)
public double getPrecision()
public double getRecall()
public double getF1()
public double getAccuracy()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.