com.rapidminer.example.set
Class AttributeTransformationReplaceMissing

java.lang.Object
  extended by 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

Constructor Summary
AttributeTransformationReplaceMissing(AttributeTransformationReplaceMissing other)
           
AttributeTransformationReplaceMissing(java.util.Map<java.lang.String,java.lang.Double> replacementMap)
           
 
Method Summary
 java.lang.Object clone()
           
 double inverseTransform(Attribute attribute, double value)
           
 boolean isReversable()
           
 void setReplacementMap(java.util.Map<java.lang.String,java.lang.Double> replacementMap)
           
 double transform(Attribute attribute, double value)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeTransformationReplaceMissing

public AttributeTransformationReplaceMissing(java.util.Map<java.lang.String,java.lang.Double> replacementMap)

AttributeTransformationReplaceMissing

public AttributeTransformationReplaceMissing(AttributeTransformationReplaceMissing other)
Method Detail

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