Class ClassificationHistogram

java.lang.Object
boofcv.struct.learning.ClassificationHistogram

public class ClassificationHistogram
extends Object
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

      public Confusion createConfusion()
    • get

      public int get​(int actual, int predicted)