edu.udo.cs.mySVM.Kernel
Class KernelGaussianCombination

java.lang.Object
  extended by edu.udo.cs.mySVM.Kernel.Kernel
      extended by edu.udo.cs.mySVM.Kernel.KernelGaussianCombination

public class KernelGaussianCombination
extends Kernel

Gaussian Combination Kernel

Version:
$Id: KernelGaussianCombination.java,v 1.3 2006/08/03 14:39:35 ingomierswa Exp $
Author:
Ingo Mierswa

Field Summary
private  double sigma1
           
private  double sigma2
           
private  double sigma3
           
 
Fields inherited from class edu.udo.cs.mySVM.Kernel.Kernel
cache_MB, dim, examples_total, kernel_cache, kernel_cache_size, the_examples
 
Constructor Summary
KernelGaussianCombination()
          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.
 void readKernelParameters(java.io.ObjectInputStream in)
           
 void setParameters(double sigma1, double sigma2, double sigma3)
           
 java.lang.String toString()
          Output as String
 void writeKernelParameters(java.io.ObjectOutputStream out)
           
 
Methods inherited from class edu.udo.cs.mySVM.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
 

Field Detail

sigma1

private double sigma1

sigma2

private double sigma2

sigma3

private double sigma3
Constructor Detail

KernelGaussianCombination

public KernelGaussianCombination()
Class constructor.

Method Detail

toString

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

Overrides:
toString in class Kernel


setParameters

public void setParameters(double sigma1,
                          double sigma2,
                          double sigma3)

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


readKernelParameters

public void readKernelParameters(java.io.ObjectInputStream in)
                          throws java.io.IOException
Specified by:
readKernelParameters in class Kernel
Throws:
java.io.IOException

writeKernelParameters

public void writeKernelParameters(java.io.ObjectOutputStream out)
                           throws java.io.IOException
Specified by:
writeKernelParameters in class Kernel
Throws:
java.io.IOException


Copyright © 2001-2006