All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home

Class weka.classifiers.functions.supportVector.NormalizedPolyKernel

java.lang.Object
    |
    +----weka.classifiers.functions.supportVector.Kernel
            |
            +----weka.classifiers.functions.supportVector.PolyKernel
                    |
                    +----weka.classifiers.functions.supportVector.NormalizedPolyKernel

public class NormalizedPolyKernel
extends PolyKernel
The normalized polynomial kernel. K(x,y) = /sqrt() where = PolyKernel(x,y)

Version:
$$
Author:
Eibe Frank (eibe@cs.waikato.ac.nz)

Constructor Index

 o NormalizedPolyKernel(Instances, int, double, boolean)
Creates a new NormalizedPolyKernel instance.

Method Index

 o eval(int, int, Instance)
Redefines the eval function of PolyKernel.

Constructor Detail

 o NormalizedPolyKernel
public NormalizedPolyKernel(Instances dataset,
                            int cacheSize,
                            double exponent,
                            boolean lowerOrder)
          Creates a new NormalizedPolyKernel instance.
Parameters:
dataset - the training dataset used.
cacheSize - the size of the cache (a prime number)

Method Detail

 o eval
public double eval(int id1,
                   int id2,
                   Instance inst1) throws java.lang.Exception
          Redefines the eval function of PolyKernel.
Overrides:
eval in class PolyKernel

All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home