Package edu.cmu.tetrad.classify
Interface ClassifierDiscrete
- All Known Implementing Classes:
- ClassifierBayesUpdaterDiscrete,- ClassifierMbDiscrete
public interface ClassifierDiscrete
Interface implemented by classes that do discrete classification.
- Author:
- Frank Wimberly
- 
Method Summary
- 
Method Details- 
classifyint[] classify()- Returns:
- an array with a classification (estimated value) of a target variable for each case in a DataSet.
 
- 
crossTabulationint[][] crossTabulation()- Returns:
- the double subscripted int array containing the "confusion matrix" of coefs of estimated versus observed values of the target variable.
 
- 
getPercentCorrectdouble getPercentCorrect()- Returns:
- the percentage of cases where the target variable is correctly classified.
 
 
-