com.rapidminer.operator.postprocessing
Class WindowExamples2OriginalData

java.lang.Object
  extended by com.rapidminer.operator.Operator
      extended by com.rapidminer.operator.AbstractExampleSetProcessing
          extended by com.rapidminer.operator.postprocessing.WindowExamples2OriginalData
All Implemented Interfaces:
ConfigurationListener, PreviewListener, ParameterHandler, LoggingHandler

public class WindowExamples2OriginalData
extends AbstractExampleSetProcessing

This operator performs several transformations which could be performed by basic RapidMiner operators but lead to complex operator chains. Therefore, this operator can be used as a shortcut.

The basic idea is to apply this operator after the ModelApplier performed with a model learned from a windowed example set which was transformed with the WindowExamples2ModelingData operator. Hence, the input example set must contain the base_value special attribute created by the mentioned preprocessing operator. If a label and / or a predicted label is provided, the transformation is performed for the label and / or the predicted label (e.g. for performance calculations).

Please note that only series data sets where the series was represented by the examples (rows) are supported by this operator due to the naming conventions of the resulting attributes which are delivered by the MultivariateSeries2WindowExamples operator.

This operator performs a simple task. It adds the values of the base value special attribute to both the label and the predicted label (if available) so the original data (range) is restored. After that, it removes the base_value special attribute.

Author:
Ingo Mierswa

Constructor Summary
WindowExamples2OriginalData(OperatorDescription description)
           
 
Method Summary
 ExampleSet apply(ExampleSet exampleSet)
          Delegate for the apply method.
 
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, getParameterTypes, 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

WindowExamples2OriginalData

public WindowExamples2OriginalData(OperatorDescription description)
Method Detail

apply

public ExampleSet apply(ExampleSet exampleSet)
                 throws OperatorException
Description copied from class: AbstractExampleSetProcessing
Delegate for the apply method. In most cases, the returned example set will be the same as the example set or a modified clone.

Specified by:
apply in class AbstractExampleSetProcessing
Throws:
OperatorException


Copyright © 2001-2009 by Rapid-I