com.rapidminer.operator.preprocessing.normalization
Class RangeNormalizationMethod

java.lang.Object
  extended by com.rapidminer.operator.preprocessing.normalization.AbstractNormalizationMethod
      extended by com.rapidminer.operator.preprocessing.normalization.RangeNormalizationMethod
All Implemented Interfaces:
NormalizationMethod

public class RangeNormalizationMethod
extends AbstractNormalizationMethod

This is the transformation method for transforming the data of an attribute into a certain interval.

Author:
Sebastian Land

Field Summary
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"
 
Constructor Summary
RangeNormalizationMethod()
           
 
Method Summary
 java.lang.String getName()
          This just returns the name of the method.
 AbstractNormalizationModel getNormalizationModel(ExampleSet exampleSet, Operator operator)
          This method will be called to build the normalization model from the given ExampleSet.
 java.util.List<ParameterType> getParameterTypes(ParameterHandler handler)
          If this method needs additional parameter types, they can be returned here.
 java.util.Collection<AttributeMetaData> modifyAttributeMetaData(ExampleSetMetaData emd, AttributeMetaData amd, InputPort exampleSetInputPort, ParameterHandler parameterHandler)
          This modifies the meta data of the given attribute and returns a collection of all derived attributes.
 
Methods inherited from class com.rapidminer.operator.preprocessing.normalization.AbstractNormalizationMethod
init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

RangeNormalizationMethod

public RangeNormalizationMethod()
Method Detail

modifyAttributeMetaData

public java.util.Collection<AttributeMetaData> modifyAttributeMetaData(ExampleSetMetaData emd,
                                                                       AttributeMetaData amd,
                                                                       InputPort exampleSetInputPort,
                                                                       ParameterHandler parameterHandler)
                                                                throws UndefinedParameterError
Description copied from interface: NormalizationMethod
This modifies the meta data of the given attribute and returns a collection of all derived attributes. In normal cases this is simply one single attribute.

parameterHandler - TODO
Throws:
UndefinedParameterError

getNormalizationModel

public AbstractNormalizationModel getNormalizationModel(ExampleSet exampleSet,
                                                        Operator operator)
                                                 throws UserError
Description copied from interface: NormalizationMethod
This method will be called to build the normalization model from the given ExampleSet. It will be called directly after init() is called.

operator - TODO
Throws:
UserError

getName

public java.lang.String getName()
Description copied from interface: NormalizationMethod
This just returns the name of the method.


getParameterTypes

public java.util.List<ParameterType> getParameterTypes(ParameterHandler handler)
Description copied from interface: NormalizationMethod
If this method needs additional parameter types, they can be returned here.

Specified by:
getParameterTypes in interface NormalizationMethod
Overrides:
getParameterTypes in class AbstractNormalizationMethod


Copyright © 2001-2009 by Rapid-I