|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthhreco.classification.MMDClassifier
Minimum distance classifier measures the normalized Euclidean distance between the test example and each of the training classes.
Constructor Summary | |
MMDClassifier()
|
Method Summary | |
Classification |
classify(FeatureSet s)
Classify the given example by computing the normalized Euclidean distance to each training class. |
void |
clear()
Clear all previously trained data. |
boolean |
isIncremental()
Return whether this classifier is incremental, i.e. |
void |
train(TrainingSet s,
int numFeatures)
Train the classifier with the given training set. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MMDClassifier()
Method Detail |
public Classification classify(FeatureSet s) throws ClassifierException
classify
in interface Classifier
ClassifierException
public void train(TrainingSet s, int numFeatures) throws ClassifierException
train
in interface TrainableClassifier
ClassifierException
public boolean isIncremental()
isIncremental
in interface TrainableClassifier
public void clear()
clear
in interface TrainableClassifier
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |