类 SMO.BinarySMO

java.lang.Object
weka.classifiers.functions.SMO.BinarySMO
所有已实现的接口:
Serializable
封闭类:
SMO

public class SMO.BinarySMO extends Object implements Serializable
Class for building a binary support vector machine.
另请参阅:
  • 构造器详细资料

    • BinarySMO

      public BinarySMO()
  • 方法详细资料

    • setKernel

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

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

      public double SVMOutput(int index, Instance inst) throws Exception
      Computes SVM output for given instance.
      参数:
      index - the instance for which output is to be computed
      inst - the instance
      返回:
      the output of the SVM for the given instance
      抛出:
      Exception - in case of an error
    • toString

      public String toString()
      Prints out the classifier.
      覆盖:
      toString 在类中 Object
      返回:
      a description of the classifier as a string
    • getRevision

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