com.rapidminer.operator.validation
Class WeightedBootstrappingValidation
java.lang.Object
com.rapidminer.operator.Operator
com.rapidminer.operator.OperatorChain
com.rapidminer.operator.validation.ValidationChain
com.rapidminer.operator.validation.AbstractBootstrappingValidation
com.rapidminer.operator.validation.WeightedBootstrappingValidation
- All Implemented Interfaces:
- ConfigurationListener, PreviewListener, ParameterHandler, LoggingHandler
public class WeightedBootstrappingValidation
- extends AbstractBootstrappingValidation
This validation operator performs several bootstrapped samplings (sampling with replacement)
on the input set and trains a model on these samples. The remaining samples, i.e. those which
were not sampled, build a test set on which the model is evaluated. This process is repeated
for the specified number of iterations after which the average performance is calculated.
The basic setup is the same as for the usual cross validation operator. The first inner
operator must provide a model and the second a performance vector. Please note that this operator
does not regard example weights, i.e. weights specified in a weight column.
This validation operator provides several values which can be logged
by means of a ProcessLogOperator. All performance estimation operators
of RapidMiner provide access to the average values calculated during the estimation.
Since the operator cannot ensure the names of the delivered criteria, the
ProcessLog operator can access the values via the generic value names:
- performance: the value for the main criterion calculated by this validation operator
- performance1: the value of the first criterion of the performance vector calculated
- performance2: the value of the second criterion of the performance vector calculated
- performance3: the value of the third criterion of the performance vector calculated
- for the main criterion, also the variance and the standard deviation can be
accessed where applicable.
- Author:
- Ingo Mierswa
| Methods inherited from class com.rapidminer.operator.validation.ValidationChain |
apply, evaluate, evaluate, getInnerOperatorCondition, getInputClasses, getInputDescription, getLearner, getMaxNumberOfInnerOperators, getMinNumberOfInnerOperators, getOutputClasses, learn, setResult |
| Methods inherited from class com.rapidminer.operator.OperatorChain |
addAddListener, addOperator, addOperator, checkDeprecations, checkIO, checkNumberOfInnerOperators, checkProperties, clearErrorList, cloneOperator, createExperimentTree, createProcessTree, getAllInnerOperators, getIndexOfOperator, getInnerOperatorForName, getInnerOperatorsXML, getNumberOfAllOperators, getNumberOfOperators, getOperator, getOperatorFromAll, getOperators, performAdditionalChecks, processFinished, processStarts, registerOperator, removeAddListener, removeOperator, shouldAddNonConsumedInput, shouldReturnInnerOutput, unregisterOperator |
| Methods inherited from class com.rapidminer.operator.Operator |
addError, addValue, addWarning, apply, checkForStop, createExperimentTree, createFromXML, createMarkedExperimentTree, createMarkedProcessTree, createProcessTree, getAddOnlyAdditionalOutput, getApplyCount, getDeliveredOutputClasses, getDeprecationInfo, getDesiredInputClasses, getEncoding, getErrorList, getExperiment, getInput, getInput, getInput, 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, register, remove, rename, resume, setApplyCount, setBreakpoint, setEnabled, setExpanded, setInput, setListParameter, setOperatorParameters, setParameter, setParameters, setParent, setUserDescription, toString, writeXML |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WeightedBootstrappingValidation
public WeightedBootstrappingValidation(OperatorDescription description)
createMapping
protected int[] createMapping(ExampleSet exampleSet,
int size,
java.util.Random random)
throws OperatorException
- Specified by:
createMapping in class AbstractBootstrappingValidation
- Throws:
OperatorException
Copyright © 2001-2009 by Rapid-I