marf.FeatureExtraction.RandomFeatureExtraction
Class RandomFeatureExtraction

java.lang.Object
  |
  +--marf.FeatureExtraction.FeatureExtraction
        |
        +--marf.FeatureExtraction.RandomFeatureExtraction.RandomFeatureExtraction
All Implemented Interfaces:
StorageManager

public class RandomFeatureExtraction
extends FeatureExtraction

Class RandomFeatureExtraction. Implementation of random feature extraction for testing.

$Header: /cvsroot/marf/marf/src/marf/FeatureExtraction/RandomFeatureExtraction/RandomFeatureExtraction.java,v 1.3.2.1 2003/02/16 18:26:46 mokhov Exp $

Since:
0.2.0

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
 
Constructor Summary
RandomFeatureExtraction(Preprocessing poPreprocessing)
          RandomFeatureExtraction Constructor
 
Method Summary
 void dump()
          Not Implemented
 boolean extractFeatures()
          Random Gaussian feature extracton.
 void restore()
          Not Implemented
 
Methods inherited from class marf.FeatureExtraction.FeatureExtraction
getFeaturesArray, hamming, hamming
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, 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.
Constructor Detail

RandomFeatureExtraction

public RandomFeatureExtraction(Preprocessing poPreprocessing)
RandomFeatureExtraction Constructor
Parameters:
poPreprocessing - Preprocessing object reference
Method Detail

extractFeatures

public final boolean extractFeatures()
                              throws FeatureExtractionException
Random Gaussian feature extracton.
Overrides:
extractFeatures in class FeatureExtraction
Returns:
true
Throws:
FeatureExtractionException -  

dump

public void dump()
          throws java.io.IOException
Not Implemented
Following copied from interface: marf.Storage.StorageManager
Throws:
java.io.IOException -  

restore

public void restore()
             throws java.io.IOException
Not Implemented
Following copied from interface: marf.Storage.StorageManager
Throws:
java.io.IOException -