|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--marf.Storage.StorageManager
|
+--marf.Classification.Classification
|
+--marf.Classification.Stochastic.Stochastic
Generic Stochastic Classification Module.
TODO: Not Implemented.
$Id: Stochastic.java,v 1.16 2005/05/30 11:59:48 mokhov Exp $
| Field Summary |
| Fields inherited from class marf.Classification.Classification |
oFeatureExtraction, oResultSet, oTrainingSet |
| Fields inherited from class marf.Storage.StorageManager |
iCurrentDumpMode, oObjectToSerialize, strFilename |
| Fields inherited from interface marf.Storage.IStorageManager |
DUMP_BINARY, DUMP_CSV_TEXT, DUMP_GZIP_BINARY, DUMP_HTML, DUMP_SQL, DUMP_XML, INTERFACE_CODE_REVISION, sastrExtensionsMap |
| Constructor Summary | |
Stochastic(marf.FeatureExtraction.FeatureExtraction poFeatureExtraction)
Stochastic Constructor. |
|
| Method Summary | |
boolean |
classify()
Not Implemented. |
void |
dump()
Not Implemented. |
marf.Storage.Result |
getResult()
Retrieves the maximum-probability classification result. |
static java.lang.String |
getRevision()
Retrieves class' revision. |
void |
restore()
Not Implemented. |
boolean |
train()
Not Implemented. |
| Methods inherited from class marf.Classification.Classification |
getResultSet, getTrainingSetFilename |
| Methods inherited from class marf.Storage.StorageManager |
backSynchronizeObject, dumpBinary, dumpCSV, dumpGzipBinary, dumpHTML, dumpSQL, dumpXML, getDefaultExtension, getDefaultExtension, getDumpMode, getFilename, restoreBinary, restoreCSV, restoreGzipBinary, restoreHTML, restoreSQL, restoreXML, setDumpMode, setFilename |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Stochastic(marf.FeatureExtraction.FeatureExtraction poFeatureExtraction)
poFeatureExtraction - FeatureExtraction module reference| Method Detail |
public boolean classify()
throws ClassificationException
classify in class Classificationtrue if classification was successful; false otherwise
ClassificationException - if there was an error while classifying
public boolean train()
throws ClassificationException
train in class Classificationtrue if training was successful
(i.e. mean vector was updated); false otherwise
ClassificationException - if there was a problem while trainingTrainingSet
public void dump()
throws StorageException
dump in interface IStorageManagerdump in class ClassificationStorageException - if there's a problem saving training set to disk
public void restore()
throws StorageException
restore in interface IStorageManagerrestore in class ClassificationStorageException - if there is a problem loading the training set from diskpublic marf.Storage.Result getResult()
getResult in class Classificationpublic static java.lang.String getRevision()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||