com.rapidminer.tools.math.smoothing
Class McLainSmoothingKernel

java.lang.Object
  extended by com.rapidminer.tools.math.smoothing.SmoothingKernel
      extended by com.rapidminer.tools.math.smoothing.McLainSmoothingKernel
All Implemented Interfaces:
java.io.Serializable

public class McLainSmoothingKernel
extends SmoothingKernel

This class implements a McLain smoothing kernel with fixed epsilon on 1 for normalization, so that it returns a weight of 1 on distance 0.

Author:
Sebastian Land
See Also:
Serialized Form

Constructor Summary
McLainSmoothingKernel()
           
 
Method Summary
 double getWeight(double distance)
           
 java.lang.String toString()
           
 
Methods inherited from class com.rapidminer.tools.math.smoothing.SmoothingKernel
getWeight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

McLainSmoothingKernel

public McLainSmoothingKernel()
Method Detail

getWeight

public double getWeight(double distance)
Specified by:
getWeight in class SmoothingKernel

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2009 by Rapid-I