marf.FeatureExtraction.RandomFeatureExtraction
Class RandomFeatureExtraction

java.lang.Object
  |
  +--marf.Storage.StorageManager
        |
        +--marf.FeatureExtraction.FeatureExtraction
              |
              +--marf.FeatureExtraction.RandomFeatureExtraction.RandomFeatureExtraction
All Implemented Interfaces:
IFeatureExtraction, IStorageManager, java.io.Serializable

public class RandomFeatureExtraction
extends FeatureExtraction

Implementation of random feature extraction for testing as a baseline.

$Id: RandomFeatureExtraction.java,v 1.14 2005/08/14 01:15:55 mokhov Exp $

Since:
0.2.0
Version:
$Revision: 1.14 $
Author:
Serguei Mokhov
See Also:
Serialized Form

Field Summary
static int DEFAULT_CHUNK_SIZE
          Default number (256) of doubles per chunk in a feature vector.
 
Fields inherited from class marf.FeatureExtraction.FeatureExtraction
adFeatures, oPreprocessing
 
Fields inherited from class marf.Storage.StorageManager
bDumpOnNotFound, iCurrentDumpMode, oObjectToSerialize, strFilename
 
Fields inherited from interface marf.FeatureExtraction.IFeatureExtraction
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
RandomFeatureExtraction(marf.Preprocessing.IPreprocessing poPreprocessing)
          RandomFeatureExtraction Constructor.
 
Method Summary
 boolean extractFeatures()
          Random Gaussian-based feature extracton.
static java.lang.String getMARFSourceCodeRevision()
          Returns source code revision information.
 
Methods inherited from class marf.FeatureExtraction.FeatureExtraction
backSynchronizeObject, getFeaturesArray, getPreprocessing, setPreprocessing
 
Methods inherited from class marf.Storage.StorageManager
dump, dumpBinary, dumpCSV, dumpGzipBinary, dumpHTML, dumpSQL, dumpXML, enableDumpOnNotFound, getDefaultExtension, getDefaultExtension, getDumpMode, getFilename, restore, 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
 

Field Detail

DEFAULT_CHUNK_SIZE

public static final int DEFAULT_CHUNK_SIZE
Default number (256) of doubles per chunk in a feature vector.

See Also:
Constant Field Values
Constructor Detail

RandomFeatureExtraction

public RandomFeatureExtraction(marf.Preprocessing.IPreprocessing poPreprocessing)
RandomFeatureExtraction Constructor.

Parameters:
poPreprocessing - Preprocessing object reference
Method Detail

extractFeatures

public final boolean extractFeatures()
                              throws FeatureExtractionException
Random Gaussian-based feature extracton.

Returns:
true
Throws:
FeatureExtractionException

getMARFSourceCodeRevision

public static java.lang.String getMARFSourceCodeRevision()
Returns source code revision information.

Returns:
revision string
Since:
0.3.0