com.rapidminer.example.set
Class AttributeTransformationWeighting
java.lang.Object
com.rapidminer.example.set.AttributeTransformationWeighting
- All Implemented Interfaces:
- AttributeTransformation
public class AttributeTransformationWeighting
- extends java.lang.Object
- implements AttributeTransformation
This transformation simply returns the weight-scaled value.
It must only be used by AttributeWeightedExampleSet since
this class takes care of reassigning attributeWeights after clone.
- Author:
- Ingo Mierswa
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeTransformationWeighting
public AttributeTransformationWeighting(AttributeWeights attributeWeights)
AttributeTransformationWeighting
public AttributeTransformationWeighting(AttributeTransformationWeighting other)
- Clone constructor.
clone
public java.lang.Object clone()
- Specified by:
clone in interface AttributeTransformation- Overrides:
clone in class java.lang.Object
setAttributeWeights
public void setAttributeWeights(AttributeWeights weights)
inverseTransform
public double inverseTransform(Attribute attribute,
double value)
- Specified by:
inverseTransform in interface AttributeTransformation
isReversable
public boolean isReversable()
- Specified by:
isReversable in interface AttributeTransformation
transform
public double transform(Attribute attribute,
double value)
- Specified by:
transform in interface AttributeTransformation
Copyright © 2001-2009 by Rapid-I