com.rapidminer.example.set
Class AttributeTransformationReplaceMissing
java.lang.Object
com.rapidminer.example.set.AttributeTransformationReplaceMissing
- All Implemented Interfaces:
- AttributeTransformation
public class AttributeTransformationReplaceMissing
- extends java.lang.Object
- implements AttributeTransformation
This transformation simply returns the same value.
- Author:
- Ingo Mierswa
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeTransformationReplaceMissing
public AttributeTransformationReplaceMissing(java.util.Map<java.lang.String,java.lang.Double> replacementMap)
AttributeTransformationReplaceMissing
public AttributeTransformationReplaceMissing(AttributeTransformationReplaceMissing other)
clone
public java.lang.Object clone()
- Specified by:
clone in interface AttributeTransformation- Overrides:
clone in class java.lang.Object
setReplacementMap
public void setReplacementMap(java.util.Map<java.lang.String,java.lang.Double> replacementMap)
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