Class LibSVMOptions

java.lang.Object
org.tribuo.classification.libsvm.LibSVMOptions
All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options, ClassificationOptions<LibSVMClassificationTrainer>

public class LibSVMOptions extends Object implements ClassificationOptions<LibSVMClassificationTrainer>
CLI options for training a LibSVM classification model.
  • Field Details

    • svmCoefficient

      @Option(longName="svm-coefficient", usage="Intercept in kernel function. Defaults to 0.0.") public double svmCoefficient
      Intercept in kernel function. Defaults to 0.0.
    • svmDegree

      @Option(longName="svm-degree", usage="Degree in polynomial kernel. Defaults to 3.") public int svmDegree
      Degree in polynomial kernel. Defaults to 3.
    • svmGamma

      @Option(longName="svm-gamma", usage="Gamma value in kernel function. Defaults to 0.0.") public double svmGamma
      Gamma value in kernel function. Defaults to 0.0.
    • svmKernel

      @Option(longName="svm-kernel", usage="Type of SVM kernel. Defaults to LINEAR.") public KernelType svmKernel
      Type of SVM kernel. Defaults to LINEAR.
    • svmType

      @Option(longName="svm-type", usage="Type of SVM. Defaults to C_SVC.") public SVMClassificationType.SVMMode svmType
      Type of SVM. Defaults to C_SVC.
  • Constructor Details

    • LibSVMOptions

      public LibSVMOptions()
  • Method Details