Interface ClassifierDiscrete

All Known Implementing Classes:
ClassifierBayesUpdaterDiscrete, ClassifierMbDiscrete

public interface ClassifierDiscrete
Interface implemented by classes that do discrete classification.
Version:
$Id: $Id
Author:
Frank Wimberly
  • Method Summary

    Modifier and Type
    Method
    Description
    int[]
    classify.
    int[][]
    crossTabulation.
    double
    getPercentCorrect.
  • Method Details

    • classify

      int[] classify()

      classify.

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

      int[][] crossTabulation()

      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()

      getPercentCorrect.

      Returns:
      the percentage of cases where the target variable is correctly classified.