public abstract class ROCTable extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
falseNegatives |
protected int[] |
falsePositives |
protected double[] |
thresholds |
protected int[] |
trueNegatives |
protected int[] |
truePositives |
| Constructor and Description |
|---|
ROCTable(double min,
double max,
double thresholdIncrements) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
add(double score,
Classification classification) |
double |
getError(int index) |
int |
getFalseNegative(int index) |
int |
getFalsePositive(int index) |
double |
getFalsePositiveRate(int index) |
double |
getThreshold(int index) |
int |
getTrueNegative(int index) |
int |
getTruePositive(int index) |
double |
getTruePositiveRate(int index) |
int |
size() |
String |
toString() |
protected double[] thresholds
protected int[] truePositives
protected int[] falsePositives
protected int[] trueNegatives
protected int[] falseNegatives
public abstract void add(double score,
Classification classification)
public int getTruePositive(int index)
public int getTrueNegative(int index)
public int getFalsePositive(int index)
public int getFalseNegative(int index)
public double getThreshold(int index)
public double getError(int index)
public double getFalsePositiveRate(int index)
public double getTruePositiveRate(int index)
public int size()
Copyright © 2016. All Rights Reserved.