com.rapidminer.operator.preprocessing.sampling
Class Bootstrapping

java.lang.Object
  extended by com.rapidminer.operator.Operator
      extended by com.rapidminer.operator.AbstractExampleSetProcessing
          extended by com.rapidminer.operator.preprocessing.AbstractDataProcessing
              extended by com.rapidminer.operator.preprocessing.sampling.AbstractSamplingOperator
                  extended by com.rapidminer.operator.preprocessing.sampling.AbstractBootstrapping
                      extended by com.rapidminer.operator.preprocessing.sampling.Bootstrapping
All Implemented Interfaces:
ConfigurationListener, PreviewListener, ParameterHandler, LoggingHandler

public class Bootstrapping
extends AbstractBootstrapping

This operator constructs a bootstrapped sample from the given example set. That means that a sampling with replacement will be performed. The usual sample size is the number of original examples. This operator also offers the possibility to create the inverse example set, i.e. an example set containing all examples which are not part of the bootstrapped example set. This inverse example set might be used for a bootstrapped validation (together with an IteratingPerformanceAverage operator.

Author:
Ingo Mierswa, Martin Scholz

Field Summary
 
Fields inherited from class com.rapidminer.operator.preprocessing.sampling.AbstractBootstrapping
PARAMETER_LOCAL_RANDOM_SEED, PARAMETER_SAMPLE_RATIO
 
Constructor Summary
Bootstrapping(OperatorDescription description)
           
 
Method Summary
 int[] createMapping(ExampleSet exampleSet, int size, java.util.Random random)
           
 
Methods inherited from class com.rapidminer.operator.preprocessing.sampling.AbstractBootstrapping
apply, getParameterTypes
 
Methods inherited from class com.rapidminer.operator.AbstractExampleSetProcessing
apply, getInputClasses, getOutputClasses
 
Methods inherited from class com.rapidminer.operator.Operator
addError, addValue, addWarning, apply, checkDeprecations, checkForStop, checkIO, checkProperties, clearErrorList, cloneOperator, createExperimentTree, createExperimentTree, createFromXML, createMarkedExperimentTree, createMarkedProcessTree, createProcessTree, createProcessTree, getAddOnlyAdditionalOutput, getApplyCount, getDeliveredOutputClasses, getDeprecationInfo, getDesiredInputClasses, getEncoding, getErrorList, getExperiment, getInnerOperatorsXML, getInput, getInput, getInput, getInputDescription, getIOContainerForInApplyLoopBreakpoint, getIODescription, getLog, getName, getOperatorClassName, getOperatorDescription, getParameter, getParameterAsBoolean, getParameterAsColor, getParameterAsDouble, getParameterAsFile, getParameterAsFile, getParameterAsInputStream, getParameterAsInt, getParameterAsMatrix, getParameterAsString, getParameterList, getParameters, getParameterType, getParent, getProcess, getStartTime, getStatus, getUserDescription, getValue, getValues, getXML, hasBreakpoint, hasBreakpoint, hasInput, inApplyLoop, isDebugMode, isEnabled, isExpanded, isParallel, isParameterSet, log, logError, logNote, logWarning, performAdditionalChecks, processFinished, processStarts, register, registerOperator, remove, rename, resume, setApplyCount, setBreakpoint, setEnabled, setExpanded, setInput, setListParameter, setOperatorParameters, setParameter, setParameters, setParent, setUserDescription, toString, unregisterOperator, writeXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Bootstrapping

public Bootstrapping(OperatorDescription description)
Method Detail

createMapping

public int[] createMapping(ExampleSet exampleSet,
                           int size,
                           java.util.Random random)
                    throws OperatorException
Specified by:
createMapping in class AbstractBootstrapping
Throws:
OperatorException


Copyright © 2001-2009 by Rapid-I