autoweka.instancegenerators
Class TerminationHoldout

java.lang.Object
  extended by autoweka.InstanceGenerator
      extended by autoweka.instancegenerators.RandomSubSampling
          extended by autoweka.instancegenerators.TerminationHoldout

public class TerminationHoldout
extends RandomSubSampling

Experimental InstanceGenerator that takes as input a child classifier, and holds back a bunch of data as a 'Termination' set from the SMBO methods. instanceGeneratorArguments: This is a method that requires a child, instance generator, so the format is ARGS[$]CHILDCLASSNAME[$]CHILDARGS terminationSeed - the seed used to split up into the termination or not terminationPercent - the percentage of data to use for a termination set terminationBias - the bias towards a uniform partition instance string format: terminationSeed - the seed used to split up into the termination or not terminationPercent - the percentage of data to use for a termination set terminationBias - the bias towards a uniform partition


Nested Class Summary
 
Nested classes/interfaces inherited from class autoweka.InstanceGenerator
InstanceGenerator.NestedArgs
 
Constructor Summary
TerminationHoldout(java.lang.String instanceFileName)
           
 
Method Summary
 Instances _getTestingFromParams(java.lang.String params)
          Subclass implementation for getting the testing data given the param string
 Instances _getTrainingFromParams(java.lang.String params)
          Subclass implementation for getting the training data given the param string
 java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getAllInstanceFeatures(java.lang.String params)
          Some SMBO methods can leverage extra features about an Instance, this method should return a map of feature/value pairs for all instances
 java.util.List<java.lang.String> getAllInstanceStrings(java.lang.String params)
          Gets a list of all the 'params' Strings that can be used with this InstanceGenerator.
 
Methods inherited from class autoweka.instancegenerators.RandomSubSampling
getInstances, newFilter
 
Methods inherited from class autoweka.InstanceGenerator
create, create, getTesting, getTestingFromParams, getTraining, getTrainingFromParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TerminationHoldout

public TerminationHoldout(java.lang.String instanceFileName)
Method Detail

_getTrainingFromParams

public Instances _getTrainingFromParams(java.lang.String params)
Description copied from class: InstanceGenerator
Subclass implementation for getting the training data given the param string

Overrides:
_getTrainingFromParams in class RandomSubSampling

_getTestingFromParams

public Instances _getTestingFromParams(java.lang.String params)
Description copied from class: InstanceGenerator
Subclass implementation for getting the testing data given the param string

Overrides:
_getTestingFromParams in class RandomSubSampling

getAllInstanceStrings

public java.util.List<java.lang.String> getAllInstanceStrings(java.lang.String params)
Description copied from class: InstanceGenerator
Gets a list of all the 'params' Strings that can be used with this InstanceGenerator. For example, the for 10-fold Cross Validation this method would return 10 Strings defining each fold

Overrides:
getAllInstanceStrings in class RandomSubSampling

getAllInstanceFeatures

public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getAllInstanceFeatures(java.lang.String params)
Description copied from class: InstanceGenerator
Some SMBO methods can leverage extra features about an Instance, this method should return a map of feature/value pairs for all instances

Overrides:
getAllInstanceFeatures in class InstanceGenerator