Class SMO.BinarySMO

    • Constructor Detail

      • BinarySMO

        public BinarySMO()
    • Method Detail

      • setKernel

        public void setKernel​(Kernel value)
        sets the kernel to use
        Parameters:
        value - the kernel to use
      • getKernel

        public Kernel getKernel()
        Returns the kernel to use
        Returns:
        the current kernel
      • SVMOutput

        public double SVMOutput​(int index,
                                Instance inst)
                         throws Exception
        Computes SVM output for given instance.
        Parameters:
        index - the instance for which output is to be computed
        inst - the instance
        Returns:
        the output of the SVM for the given instance
        Throws:
        Exception - in case of an error
      • toString

        public String toString()
        Prints out the classifier.
        Overrides:
        toString in class Object
        Returns:
        a description of the classifier as a string
      • getRevision

        public String getRevision()
        Returns the revision string.
        Returns:
        the revision