com.rapidminer.operator.preprocessing.sampling
Class WeightedBootstrapping

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.WeightedBootstrapping
All Implemented Interfaces:
ConfigurationListener, PreviewListener, ParameterHandler, LoggingHandler

public class WeightedBootstrapping
extends AbstractBootstrapping

This operator constructs a bootstrapped sample from the given example set which must provide a weight attribute. If no weight attribute was provided this operator will stop the process with an error message. See the operator Bootstrapping for more information.

Author:
Ingo Mierswa

Field Summary
 
Fields inherited from class com.rapidminer.operator.preprocessing.sampling.AbstractBootstrapping
PARAMETER_LOCAL_RANDOM_SEED, PARAMETER_SAMPLE_RATIO
 
Constructor Summary
WeightedBootstrapping(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

WeightedBootstrapping

public WeightedBootstrapping(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