|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--marf.Classification.Classification
Class Classification
Abstract Classification Module
$Header: /cvsroot/marf/marf/src/marf/Classification/Classification.java,v 1.16.2.1 2003/02/16 18:08:53 mokhov Exp $
Field Summary | |
protected FeatureExtraction |
oFeatureExtraction
Reference to the FeatureExtraction object |
protected Result |
oResult
Classification Result |
protected TrainingSet |
oTrainingSet
TrainingSet Container |
Constructor Summary | |
protected |
Classification(FeatureExtraction poFeatureExtraction)
Generic Classification Constructor |
Method Summary | |
abstract boolean |
classify()
Generic classification routine. |
void |
dump()
Generic implementation of dump() for TrainingSet |
Result |
getResult()
Retrieves the classification result |
void |
restore()
Generic implementation of restore() for TrainingSet |
boolean |
train()
Generic training routine for building/updating mean vectors in the training set. |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected FeatureExtraction oFeatureExtraction
protected TrainingSet oTrainingSet
protected Result oResult
Constructor Detail |
protected Classification(FeatureExtraction poFeatureExtraction)
poFeatureExtraction
- FeatureExtraction module referenceMethod Detail |
public abstract boolean classify() throws ClassificationException
true
if classification was successful; false
otherwiseClassificationException
- public boolean train() throws ClassificationException
super.train();
true
if training successful (i.e. mean vector was updated), false
otherwiseClassificationException
- public void dump() throws java.io.IOException
dump
in interface StorageManager
java.io.IOException
- public void restore() throws java.io.IOException
restore
in interface StorageManager
java.io.IOException
- public final Result getResult()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |