Package boofcv.struct.learning
Class ClassificationHistogram
java.lang.Object
boofcv.struct.learning.ClassificationHistogram
Used create a histogram of actual to predicted classification. This will be a NxN matrix. This can
then be converted into a confusion matrix. Rows are actual type and columns is the predicted type.
-
Constructor Details
-
ClassificationHistogram
public ClassificationHistogram(int numTypes)
-
-
Method Details
-
reset
public void reset() -
increment
public void increment(int actual, int predicted) -
createConfusion
-
get
public int get(int actual, int predicted)
-