com.rapidminer.tools.math.smoothing
Class SmoothingKernel

java.lang.Object
  extended by com.rapidminer.tools.math.smoothing.SmoothingKernel
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BisquareSmoothingKernel, EpanechnikovSmoothingKernel, ExponentialSmoothingKernel, GaussianSmoothingKernel, McLainSmoothingKernel, RectangularSmoothingKernel, TriangularSmoothingKernel, TricubeSmoothingKernel, TriweightSmoothingKernel

public abstract class SmoothingKernel
extends java.lang.Object
implements java.io.Serializable

This class provides the functionality of a smoothing kernel, which returns weights depended on a norm distance. Additionally, this class provides a convenient method for normalizing the distances to 1.

Author:
Sebastian Land
See Also:
Serialized Form

Constructor Summary
SmoothingKernel()
           
 
Method Summary
abstract  double getWeight(double distance)
           
 double getWeight(double distance, double normalizationConstant)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmoothingKernel

public SmoothingKernel()
Method Detail

getWeight

public double getWeight(double distance,
                        double normalizationConstant)

getWeight

public abstract double getWeight(double distance)


Copyright © 2001-2009 by Rapid-I