|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IClassification
Classification Interface.
$Id: IClassification.java,v 1.6 2006/07/31 02:19:13 mokhov Exp $
Field Summary | |
---|---|
static java.lang.String |
MARF_INTERFACE_CODE_REVISION
Interface source code revision. |
Method Summary | |
---|---|
boolean |
classify()
Generic classification routine. |
boolean |
classify(double[] padFeatureVector)
Generic classification routine. |
IFeatureExtraction |
getFeatureExtraction()
Retrieves the features source. |
Result |
getResult()
Retrieves the likely classification result. |
ResultSet |
getResultSet()
Retrieves the enclosed result set. |
void |
setFeatureExtraction(IFeatureExtraction poFeatureExtraction)
Allows setting the features source. |
boolean |
train()
Generic training routine for building/updating mean vectors in the training set. |
boolean |
train(double[] padFeatureVector)
Generic training routine for building/updating mean vectors in the training set. |
Field Detail |
---|
static final java.lang.String MARF_INTERFACE_CODE_REVISION
Method Detail |
---|
boolean classify() throws ClassificationException
true
if classification was successful; false
otherwise
ClassificationException
- if there was an error while classifyingboolean train() throws ClassificationException
true
if training was successful; false
otherwise
ClassificationException
- if there was a problem while trainingboolean classify(double[] padFeatureVector) throws ClassificationException
padFeatureVector
- vector of features to compare with the stored ones
true
if classification was successful; false
otherwise
ClassificationException
- if there was an error while classifyingboolean train(double[] padFeatureVector) throws ClassificationException
padFeatureVector
- vector of features to train on
true
if training was successful; false
otherwise
ClassificationException
- if there was a problem while trainingResult getResult()
ResultSet getResultSet()
IFeatureExtraction getFeatureExtraction()
void setFeatureExtraction(IFeatureExtraction poFeatureExtraction)
poFeatureExtraction
- the FeatureExtraction object to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |