public interface Classifier
| Modifier and Type | Method and Description | 
|---|---|
void | 
buildClassifier(Instances data)
Generates a classifier. 
 | 
double | 
classifyInstance(Instance instance)
Classifies the given test instance. 
 | 
double[] | 
distributionForInstance(Instance instance)
Predicts the class memberships for a given instance. 
 | 
Capabilities | 
getCapabilities()
Returns the Capabilities of this classifier. 
 | 
void buildClassifier(Instances data) throws java.lang.Exception
data - set of instances serving as training datajava.lang.Exception - if the classifier has not been
 generated successfullydouble classifyInstance(Instance instance) throws java.lang.Exception
instance - the instance to be classifiedjava.lang.Exception - if an error occurred during the predictiondouble[] distributionForInstance(Instance instance) throws java.lang.Exception
instance - the instance to be classifiedjava.lang.Exception - if distribution could not be
 computed successfullyCapabilities getCapabilities()
Capabilities