com.ewasystems.data.prep
Class DataPrepConfig

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--java.util.Properties
                    |
                    +--com.ewasystems.dm.AbstractEngineConfig
                          |
                          +--com.ewasystems.data.prep.DataPrepConfig
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable
Direct Known Subclasses:
NeuralNetworkConfig

public abstract class DataPrepConfig
extends com.ewasystems.dm.AbstractEngineConfig

Title: Abstract Engine Configuration

Description: Basis for All Engine Configurations

Company: EWA Systems

Copyright: (c) 1998 - 2005

See Also:
Serialized Form

Inner classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
static int SAMPLE_EVENLY
          Subsample By Taking Records Evenly
static int SAMPLE_FIRST
          Subsample By Taking First Records
static int SAMPLE_LAST
          Subsample By Taking Last Records
static int SAMPLE_RANDOM
          Subsample Randomly
 
Constructor Summary
DataPrepConfig()
          Bare Constructor that Loads and Reports the Default Configuration
 
Method Summary
 java.util.Properties defaultConfiguration()
          Returns the Default Configuration
 int getNumVFolds()
          Gets the Max Threads Configuration
 int getSubSampleSize()
          Gets the Max Threads Configuration
 int getSubSampleSizeBy()
          Gets the Max Threads Configuration
 double getTestingProportion()
          Gets the Max Threads Configuration
 int getVFoldLimit()
          Gets the Max Threads Configuration
 void readConfiguration()
          Imports/Updates the Configuration based on the Specified Configuration
 void report()
          Sends Text Report of Current Configuration to VDXError via Debug Messages
 void setNumVFolds(int numVFolds)
          Sets the Max Threads Configuration
 void setSubSampleSize(int subSampleSize)
          Sets the Max Threads Configuration
 void setSubSampleSizeBy(int subSampleSizeBy)
          Sets the Max Threads Configuration
 void setTestingProportion(double testingProportion)
          Sets the Max Threads Configuration
 void setVFoldLimit(int vFoldLimit)
          Sets the Max Threads Configuration
 
Methods inherited from class com.ewasystems.dm.AbstractEngineConfig
getConfigName, getMaxThreads, getRandomSeed, loadConfigFromFile, loadConfigFromProperties, setMaxThreads, setRandomSeed, storeConfigToFile
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SAMPLE_EVENLY

public static final int SAMPLE_EVENLY
Subsample By Taking Records Evenly

SAMPLE_FIRST

public static final int SAMPLE_FIRST
Subsample By Taking First Records

SAMPLE_LAST

public static final int SAMPLE_LAST
Subsample By Taking Last Records

SAMPLE_RANDOM

public static final int SAMPLE_RANDOM
Subsample Randomly
Constructor Detail

DataPrepConfig

public DataPrepConfig()
Bare Constructor that Loads and Reports the Default Configuration
Method Detail

defaultConfiguration

public java.util.Properties defaultConfiguration()

Returns the Default Configuration

Overrides:
defaultConfiguration in class com.ewasystems.dm.AbstractEngineConfig

getNumVFolds

public int getNumVFolds()
Gets the Max Threads Configuration

getSubSampleSize

public int getSubSampleSize()
Gets the Max Threads Configuration

getSubSampleSizeBy

public int getSubSampleSizeBy()
Gets the Max Threads Configuration

getTestingProportion

public double getTestingProportion()
Gets the Max Threads Configuration

getVFoldLimit

public int getVFoldLimit()
Gets the Max Threads Configuration

readConfiguration

public void readConfiguration()
Imports/Updates the Configuration based on the Specified Configuration
Overrides:
readConfiguration in class com.ewasystems.dm.AbstractEngineConfig

report

public void report()
Sends Text Report of Current Configuration to VDXError via Debug Messages
Overrides:
report in class com.ewasystems.dm.AbstractEngineConfig

setNumVFolds

public void setNumVFolds(int numVFolds)
Sets the Max Threads Configuration
Parameters:
maxThreads: - The Maximum Number of Threads

setSubSampleSize

public void setSubSampleSize(int subSampleSize)
Sets the Max Threads Configuration
Parameters:
maxThreads: - The Maximum Number of Threads

setSubSampleSizeBy

public void setSubSampleSizeBy(int subSampleSizeBy)
Sets the Max Threads Configuration
Parameters:
maxThreads: - The Maximum Number of Threads

setTestingProportion

public void setTestingProportion(double testingProportion)
Sets the Max Threads Configuration
Parameters:
maxThreads: - The Maximum Number of Threads

setVFoldLimit

public void setVFoldLimit(int vFoldLimit)
Sets the Max Threads Configuration
Parameters:
maxThreads: - The Maximum Number of Threads