Interface ClassifierDiscrete

All Known Implementing Classes:
ClassifierBayesUpdaterDiscrete, ClassifierMbDiscrete

public interface ClassifierDiscrete
Interface implemented by classes that do discrete classification.
Author:
Frank Wimberly
  • Method Details

    • classify

      int[] classify()
      Returns:
      an array with a classification (estimated value) of a target variable for each case in a DataSet.
    • crossTabulation

      int[][] crossTabulation()
      Returns:
      the double subscripted int array containing the "confusion matrix" of coefs of estimated versus observed values of the target variable.
    • getPercentCorrect

      double getPercentCorrect()
      Returns:
      the percentage of cases where the target variable is correctly classified.