|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmarf.Storage.StorageManager
marf.Classification.Classification
marf.Classification.Stochastic.Stochastic
public class Stochastic
Generic Stochastic Classification Module.
TODO: partially implemented.
$Id: Stochastic.java,v 1.26 2007/12/31 00:17:05 mokhov Exp $
| Field Summary | |
|---|---|
private static long |
serialVersionUID
For serialization versioning. |
| Fields inherited from class marf.Classification.Classification |
|---|
adFeatureVector, oFeatureExtraction, oResultSet, oTrainingSet |
| Fields inherited from class marf.Storage.StorageManager |
|---|
bDumpOnNotFound, iCurrentDumpMode, oObjectToSerialize, strFilename |
| Fields inherited from interface marf.Classification.IClassification |
|---|
MARF_INTERFACE_CODE_REVISION |
| Fields inherited from interface marf.Storage.IStorageManager |
|---|
DUMP_BINARY, DUMP_CSV_TEXT, DUMP_GZIP_BINARY, DUMP_HTML, DUMP_SQL, DUMP_XML, MARF_INTERFACE_CODE_REVISION, STORAGE_FILE_EXTENSIONS |
| Constructor Summary | |
|---|---|
Stochastic(IFeatureExtraction poFeatureExtraction)
Stochastic Constructor. |
|
| Method Summary | |
|---|---|
boolean |
classify(double[] padFeatureVector)
Not Implemented. |
static java.lang.String |
getMARFSourceCodeRevision()
Retrieves class' revision. |
Result |
getResult()
Retrieves the maximum-probability classification result. |
boolean |
train(double[] padFeatureVector)
Not Implemented. |
| Methods inherited from class marf.Classification.Classification |
|---|
classify, clone, dump, getFeatureExtraction, getResultSet, getTrainingSetFilename, loadTrainingSet, restore, setFeatureExtraction, train |
| Methods inherited from class marf.Storage.StorageManager |
|---|
backSynchronizeObject, dumpBinary, dumpCSV, dumpGzipBinary, dumpHTML, dumpSQL, dumpXML, enableDumpOnNotFound, equals, getDefaultExtension, getDefaultExtension, getDumpMode, getFilename, getObjectToSerialize, hashCode, restoreBinary, restoreCSV, restoreGzipBinary, restoreHTML, restoreSQL, restoreXML, setDumpMode, setFilename, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
serialver tool that comes with JDK.
| Constructor Detail |
|---|
public Stochastic(IFeatureExtraction poFeatureExtraction)
poFeatureExtraction - FeatureExtraction module reference| Method Detail |
|---|
public boolean classify(double[] padFeatureVector)
throws ClassificationException
padFeatureVector - vector of features to compare with the stored ones
NotImplementedException
ClassificationException - never thrown
public boolean train(double[] padFeatureVector)
throws ClassificationException
train in interface IClassificationtrain in class ClassificationpadFeatureVector - feature vector to train on
NotImplementedException
ClassificationException - never thrownTrainingSetpublic Result getResult()
public static java.lang.String getMARFSourceCodeRevision()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||