public class LibSVMOptions extends Object implements ClassificationOptions<LibSVMClassificationTrainer>
Modifier and Type | Field and Description |
---|---|
double |
svmCoefficient |
int |
svmDegree |
double |
svmGamma |
KernelType |
svmKernel |
SVMClassificationType.SVMMode |
svmType |
Constructor and Description |
---|
LibSVMOptions() |
Modifier and Type | Method and Description |
---|---|
String |
getOptionsDescription() |
LibSVMClassificationTrainer |
getTrainer()
Constructs the trainer based on the provided arguments.
|
@Option(longName="svm-coefficient", usage="Intercept in kernel function. Defaults to 0.0.") public double svmCoefficient
@Option(longName="svm-degree", usage="Degree in polynomial kernel. Defaults to 3.") public int svmDegree
@Option(longName="svm-gamma", usage="Gamma value in kernel function. Defaults to 0.0.") public double svmGamma
@Option(longName="svm-kernel", usage="Type of SVM kernel. Defaults to LINEAR.") public KernelType svmKernel
@Option(longName="svm-type", usage="Type of SVM. Defaults to C_SVC.") public SVMClassificationType.SVMMode svmType
public String getOptionsDescription()
getOptionsDescription
in interface com.oracle.labs.mlrg.olcut.config.Options
public LibSVMClassificationTrainer getTrainer()
ClassificationOptions
getTrainer
in interface ClassificationOptions<LibSVMClassificationTrainer>
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.