com.rapidminer.operator.learner.functions.kernel.rvm.kernel
Class KernelBasisFunction

java.lang.Object
  extended by com.rapidminer.operator.learner.functions.kernel.rvm.kernel.KernelBasisFunction
All Implemented Interfaces:
java.io.Serializable

public class KernelBasisFunction
extends java.lang.Object
implements java.io.Serializable

A basis function for kernels.

Author:
Piotr Kasprzak, Ingo Mierswa
See Also:
Serialized Form

Field Summary
protected  int dim
          Dimension of the basis vector (= dimension of input vectors)
protected  Kernel kernel
          The kernel to be used as a basis
protected  double[] y
          Vector
 
Constructor Summary
KernelBasisFunction(Kernel kernel)
           
KernelBasisFunction(Kernel kernel, double[] y_vector)
          Constructor(s)
 
Method Summary
 double eval(double[] x)
          Evaluate KernelBasisFunction
 double[] getBasisVector()
          Get basis vector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dim

protected int dim
Dimension of the basis vector (= dimension of input vectors)


y

protected double[] y
Vector


kernel

protected Kernel kernel
The kernel to be used as a basis

Constructor Detail

KernelBasisFunction

public KernelBasisFunction(Kernel kernel,
                           double[] y_vector)
Constructor(s)


KernelBasisFunction

public KernelBasisFunction(Kernel kernel)
Method Detail

eval

public double eval(double[] x)
Evaluate KernelBasisFunction


getBasisVector

public double[] getBasisVector()
Get basis vector



Copyright © 2001-2009 by Rapid-I