|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object marf.Storage.StorageManager marf.Stats.StatisticalEstimators.StatisticalEstimator marf.Stats.StatisticalEstimators.Smoothing.Smoothing
public abstract class Smoothing
Generic Smoothing Estimator implementation.
Most statistical smoothing classes should extend
this class. If they can't, they must implement
the ISmoothing
interface.
TODO: complete exception handling.
ISmoothing
,
Serialized FormField Summary |
---|
Fields inherited from class marf.Stats.StatisticalEstimators.StatisticalEstimator |
---|
oProbabilityTable, oStreamTokenizer |
Fields inherited from class marf.Storage.StorageManager |
---|
bDumpOnNotFound, iCurrentDumpMode, oObjectToSerialize, strFilename |
Fields inherited from interface marf.Stats.StatisticalEstimators.Smoothing.ISmoothing |
---|
MARF_INTERFACE_CODE_REVISION |
Fields inherited from interface marf.Stats.StatisticalEstimators.IStatisticalEstimator |
---|
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 | |
---|---|
Smoothing()
Default constructor with a call to the parent. |
Method Summary | |
---|---|
static java.lang.String |
getMARFSourceCodeRevision()
Returns source code revision information. |
boolean |
train()
This generic implementation first calls super.train() ,
then smooth() , and then dump() . |
Methods inherited from class marf.Stats.StatisticalEstimators.StatisticalEstimator |
---|
backSynchronizeObject, dumpCSV, dumpXML, getFilename, getLanguage, getProbabilityTable, getStreamTokenizer, p, resetFilename, restoreCSV, restoreXML, setLanguage, setStreamTokenizer |
Methods inherited from class marf.Storage.StorageManager |
---|
clone, dump, dumpBinary, dumpGzipBinary, dumpHTML, dumpSQL, enableDumpOnNotFound, equals, getDefaultExtension, getDefaultExtension, getDumpMode, getObjectToSerialize, hashCode, restore, restoreBinary, restoreGzipBinary, restoreHTML, restoreSQL, setDumpMode, setFilename, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface marf.Stats.StatisticalEstimators.Smoothing.ISmoothing |
---|
smooth |
Constructor Detail |
---|
public Smoothing()
Method Detail |
---|
public boolean train()
super.train()
,
then smooth()
, and then dump()
.
train
in interface IStatisticalEstimator
train
in class StatisticalEstimator
true
if training was successfulIStatisticalEstimator.train()
public static java.lang.String getMARFSourceCodeRevision()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |