com.rapidminer.operator.learner.functions.kernel.jmysvm.kernel
Class KernelRadial

java.lang.Object
  extended by com.rapidminer.operator.learner.functions.kernel.jmysvm.kernel.Kernel
      extended by com.rapidminer.operator.learner.functions.kernel.jmysvm.kernel.KernelRadial
All Implemented Interfaces:
java.io.Serializable

public class KernelRadial
extends Kernel

Radial Kernel

Author:
Stefan Rueping, Ingo Mierswa
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.rapidminer.operator.learner.functions.kernel.jmysvm.kernel.Kernel
cache_MB, dim, examples_total, kernel_cache, kernel_cache_size, the_examples
 
Constructor Summary
KernelRadial()
          Class constructor.
 
Method Summary
 double calculate_K(int[] x_index, double[] x_att, int[] y_index, double[] y_att)
          Calculates kernel value of vectors x and y.
 java.lang.String getDistanceFormula(double[] x, java.lang.String[] attributeConstructions)
           
 double getGamma()
           
 void setGamma(double gamma)
           
 java.lang.String toString()
          Output as String
 
Methods inherited from class com.rapidminer.operator.learner.functions.kernel.jmysvm.kernel.Kernel
calculate_K_row, calculate_K, calculate_K, get_row, getCacheSize, init_kernel_cache, init, innerproduct, norm2, set_examples_size, swap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KernelRadial

public KernelRadial()
Class constructor.

Method Detail

toString

public java.lang.String toString()
Output as String

Overrides:
toString in class Kernel

getGamma

public double getGamma()

setGamma

public void setGamma(double gamma)

calculate_K

public double calculate_K(int[] x_index,
                          double[] x_att,
                          int[] y_index,
                          double[] y_att)
Calculates kernel value of vectors x and y.

Specified by:
calculate_K in class Kernel

getDistanceFormula

public java.lang.String getDistanceFormula(double[] x,
                                           java.lang.String[] attributeConstructions)
Specified by:
getDistanceFormula in class Kernel


Copyright © 2001-2009 by Rapid-I