Documentation of 'smile.validation.ConfusionMatrix' Java class
ConfusionMatrix
smile.validation

Class ConfusionMatrix



  • public class ConfusionMatrix
    extends java.lang.Object
    Generates the confusion matrix based on truth and prediction vectors
    • Constructor Summary

      Constructors 
      Constructor and Description
      ConfusionMatrix(int[] truth, int[] prediction) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int[][] getMatrix() 
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ConfusionMatrix

        public ConfusionMatrix(int[] truth,
                               int[] prediction)
    • Method Detail

      • getMatrix

        public int[][] getMatrix()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.