com.rapidminer.operator.preprocessing.normalization
Class Normalization

java.lang.Object
  extended by com.rapidminer.operator.Operator
      extended by com.rapidminer.operator.preprocessing.PreprocessingOperator
          extended by com.rapidminer.operator.preprocessing.normalization.Normalization
All Implemented Interfaces:
ConfigurationListener, PreviewListener, ParameterHandler, LoggingHandler

public class Normalization
extends PreprocessingOperator

This operator performs a normalization. This can be done between a user defined minimum and maximum value or by a z-transformation, i.e. on mean 0 and variance 1. or by a proportional transformation as proportion of the total sum of the respective attribute.

Author:
Ingo Mierswa, Sebastian Land

Field Summary
static java.lang.String[] NORMALIZATION_METHODS
           
static java.lang.String PARAMETER_MAX
          The parameter name for "The maximum value after normalization"
static java.lang.String PARAMETER_MIN
          The parameter name for "The minimum value after normalization"
static java.lang.String PARAMETER_NORMALIZATION_METHOD
           
 
Fields inherited from class com.rapidminer.operator.preprocessing.PreprocessingOperator
PARAMETER_CREATE_VIEW, PARAMETER_RETURN_PREPROCESSING_MODEL
 
Constructor Summary
Normalization(OperatorDescription description)
          Creates a new Normalization operator.
 
Method Summary
 Model createPreprocessingModel(ExampleSet exampleSet)
          Depending on the parameter value of "standardize" this method creates either a ZTransformationModel, MinMaxNormalizationModel or PercentageNormalizationModel.
 java.util.List<ParameterType> getParameterTypes()
          Returns a list with all parameter types of this model.
 
Methods inherited from class com.rapidminer.operator.preprocessing.PreprocessingOperator
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
 

Field Detail

NORMALIZATION_METHODS

public static final java.lang.String[] NORMALIZATION_METHODS

PARAMETER_NORMALIZATION_METHOD

public static final java.lang.String PARAMETER_NORMALIZATION_METHOD
See Also:
Constant Field Values

PARAMETER_MIN

public static final java.lang.String PARAMETER_MIN
The parameter name for "The minimum value after normalization"

See Also:
Constant Field Values

PARAMETER_MAX

public static final java.lang.String PARAMETER_MAX
The parameter name for "The maximum value after normalization"

See Also:
Constant Field Values
Constructor Detail

Normalization

public Normalization(OperatorDescription description)
Creates a new Normalization operator.

Method Detail

createPreprocessingModel

public Model createPreprocessingModel(ExampleSet exampleSet)
                               throws OperatorException
Depending on the parameter value of "standardize" this method creates either a ZTransformationModel, MinMaxNormalizationModel or PercentageNormalizationModel.

Specified by:
createPreprocessingModel in class PreprocessingOperator
Throws:
OperatorException

getParameterTypes

public java.util.List<ParameterType> getParameterTypes()
Returns a list with all parameter types of this model.

Specified by:
getParameterTypes in interface ParameterHandler
Overrides:
getParameterTypes in class PreprocessingOperator


Copyright © 2001-2009 by Rapid-I