org.apache.mahout.common.kernel
Class TriangularKernelProfile
java.lang.Object
org.apache.mahout.common.kernel.TriangularKernelProfile
- All Implemented Interfaces:
- IKernelProfile
public class TriangularKernelProfile
- extends Object
- implements IKernelProfile
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TriangularKernelProfile
public TriangularKernelProfile()
calculateValue
public double calculateValue(double distance,
double h)
- Specified by:
calculateValue
in interface IKernelProfile
- Returns:
- calculated value of the kernel
calculateDerivativeValue
public double calculateDerivativeValue(double distance,
double h)
- Specified by:
calculateDerivativeValue
in interface IKernelProfile
- Returns:
- the calculated dervative value of the kernel
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.