Class MIRBFKernel

  • All Implemented Interfaces:
    java.io.Serializable, CapabilitiesHandler, MultiInstanceCapabilitiesHandler, OptionHandler, RevisionHandler

    public class MIRBFKernel
    extends RBFKernel
    implements MultiInstanceCapabilitiesHandler
    The RBF kernel. K(x, y) = e^-(gamma * <x-y, x-y>^2)

    Valid options are:

     -D
      Enables debugging output (if available) to be printed.
      (default: off)
     -no-checks
      Turns off all checks - use with caution!
      (default: checks on)
     -C <num>
      The size of the cache (a prime number), 0 for full cache and 
      -1 to turn it off.
      (default: 250007)
     -G <num>
      The Gamma parameter.
      (default: 0.01)
    Version:
    $Revision: 9144 $
    Author:
    Eibe Frank (eibe@cs.waikato.ac.nz), Shane Legg (shane@intelligenesis.net) (sparse vector code), Stuart Inglis (stuart@reeltwo.com) (sparse vector code), J. Lindgren (jtlindgr{at}cs.helsinki.fi) (RBF kernel), Lin Dong (ld21@cs.waikato.ac.nz) (MIkernel)
    See Also:
    Serialized Form
    • Constructor Detail

      • MIRBFKernel

        public MIRBFKernel()
        default constructor - does nothing.
      • MIRBFKernel

        public MIRBFKernel​(Instances data,
                           int cacheSize,
                           double gamma)
                    throws java.lang.Exception
        Constructor.
        Parameters:
        data - the data to use
        cacheSize - the size of the cache
        gamma - the bandwidth
        Throws:
        java.lang.Exception - if something goes wrong