Index
All Classes and Interfaces|All Packages|Serialized Form
C
- copyModel(svm_model) - Static method in class org.tribuo.common.libsvm.LibSVMModel
-
Copies an svm_model, as it does not provide a copy method.
- copyParameters(svm_parameter) - Static method in class org.tribuo.common.libsvm.SVMParameters
-
Deep copy of the svm_parameters including the arrays.
- createModel(ModelProvenance, ImmutableFeatureMap, ImmutableOutputInfo<T>, List<svm_model>) - Method in class org.tribuo.common.libsvm.LibSVMTrainer
-
Construct the appropriate subtype of LibSVMModel for the prediction task.
D
- deserializeModel(SVMModelProto) - Static method in class org.tribuo.common.libsvm.LibSVMModel
-
Deserializes a LibSVM svm_model from a protobuf.
- deserializeParameters(SVMParameterProto) - Static method in class org.tribuo.common.libsvm.LibSVMModel
-
Deserializes svm_parameter from a protobuf.
E
- exampleToNodes(Example<T>, ImmutableFeatureMap, List<svm_node>) - Static method in class org.tribuo.common.libsvm.LibSVMTrainer
-
Convert the example into an array of svm_node which represents a sparse feature vector.
- extractData(Dataset<T>, ImmutableOutputInfo<T>, ImmutableFeatureMap) - Method in class org.tribuo.common.libsvm.LibSVMTrainer
-
Extracts the features and
Outputs in LibSVM's format.
G
- getExcuse(Example<T>) - Method in class org.tribuo.common.libsvm.LibSVMModel
- getGamma() - Method in class org.tribuo.common.libsvm.SVMParameters
-
Gets the gamma value.
- getInnerModels() - Method in class org.tribuo.common.libsvm.LibSVMModel
-
Returns an unmodifiable copy of the underlying list of libsvm models.
- getInvocationCount() - Method in class org.tribuo.common.libsvm.LibSVMTrainer
- getKernelType() - Method in class org.tribuo.common.libsvm.SVMParameters
-
Gets the kernel type.
- getKernelType(int) - Static method in enum org.tribuo.common.libsvm.KernelType
-
Converts the LibSVM int id into the enum value.
- getModel() - Method in class org.tribuo.common.libsvm.LibSVMModel
-
Deprecated.Deprecated to unify the names across LibLinear, LibSVM and XGBoost.
- getNativeType() - Method in enum org.tribuo.common.libsvm.KernelType
-
Gets LibSVM's int id.
- getNativeType() - Method in interface org.tribuo.common.libsvm.SVMType
-
The LibSVM int id for the algorithm.
- getParameters() - Method in class org.tribuo.common.libsvm.SVMParameters
-
Gets the underlying SVM parameter object.
- getProvenance() - Method in class org.tribuo.common.libsvm.LibSVMTrainer
- getSvmType() - Method in class org.tribuo.common.libsvm.SVMParameters
-
Gets the SVM type.
- getTopFeatures(int) - Method in class org.tribuo.common.libsvm.LibSVMModel
I
- isAnomaly() - Method in interface org.tribuo.common.libsvm.SVMType
-
Is this an anomaly detection algorithm.
- isClassification() - Method in interface org.tribuo.common.libsvm.SVMType
-
Is this a classification algorithm.
- isNu() - Method in interface org.tribuo.common.libsvm.SVMType
-
Is this a nu-SVM.
- isRegression() - Method in interface org.tribuo.common.libsvm.SVMType
-
Is this a regression algorithm.
K
- kernelType - Variable in class org.tribuo.common.libsvm.SVMParameters
-
The kernel.
- KernelType - Enum in org.tribuo.common.libsvm
-
Kernel types from libsvm.
L
- LibSVMModel<T> - Class in org.tribuo.common.libsvm
-
A model that uses an underlying libSVM model to make the predictions.
- LibSVMModel(String, ModelProvenance, ImmutableFeatureMap, ImmutableOutputInfo<T>, boolean, List<svm_model>) - Constructor for class org.tribuo.common.libsvm.LibSVMModel
-
Constructs a LibSVMModel from the supplied arguments.
- LibSVMTrainer<T> - Class in org.tribuo.common.libsvm
-
A trainer that will train using libsvm's Java implementation.
- LibSVMTrainer() - Constructor for class org.tribuo.common.libsvm.LibSVMTrainer
-
For olcut.
- LibSVMTrainer(SVMParameters<T>, long) - Constructor for class org.tribuo.common.libsvm.LibSVMTrainer
-
Constructs a LibSVMTrainer from the parameters.
- LINEAR - Enum constant in enum org.tribuo.common.libsvm.KernelType
-
A linear kernel function (i.e., a dot product).
M
- modelEquals(svm_model, svm_model) - Static method in class org.tribuo.common.libsvm.LibSVMModel
-
Checks for equality between two svm_models.
- models - Variable in class org.tribuo.common.libsvm.LibSVMModel
-
The LibSVM models.
O
- org.tribuo.common.libsvm - package org.tribuo.common.libsvm
-
The base interface to LibSVM.
P
- parameters - Variable in class org.tribuo.common.libsvm.LibSVMTrainer
-
The SVM parameters suitable for use by LibSVM.
- parameters - Variable in class org.tribuo.common.libsvm.SVMParameters
-
The libSVM format parameters.
- POLY - Enum constant in enum org.tribuo.common.libsvm.KernelType
-
A polynomial kernel of the form (gamma*u'*v + coef0)^degree
- postConfig() - Method in class org.tribuo.common.libsvm.LibSVMTrainer
-
Used by the OLCUT configuration system, and should not be called by external code.
R
- RBF - Enum constant in enum org.tribuo.common.libsvm.KernelType
-
An RBF kernel of the form exp(-gamma*|u-v|^2)
S
- serializeModel(svm_model) - Static method in class org.tribuo.common.libsvm.LibSVMModel
-
Serializes a LibSVM svm_model to a protobuf.
- serializeParameters(svm_parameter) - Static method in class org.tribuo.common.libsvm.LibSVMModel
-
Serializes a svm_parameter to a protobuf.
- setCacheSize(double) - Method in class org.tribuo.common.libsvm.SVMParameters
-
Sets the cache size.
- setCoeff(double) - Method in class org.tribuo.common.libsvm.SVMParameters
-
Sets the coefficient.
- setCost(double) - Method in class org.tribuo.common.libsvm.SVMParameters
-
Sets the cost for C_SVC.
- setDegree(int) - Method in class org.tribuo.common.libsvm.SVMParameters
-
Sets the degree of the polynomial kernel.
- setEpsilon(double) - Method in class org.tribuo.common.libsvm.SVMParameters
-
Sets the termination closeness.
- setGamma(double) - Method in class org.tribuo.common.libsvm.SVMParameters
-
Sets gamma in the RBF kernel.
- setInvocationCount(int) - Method in class org.tribuo.common.libsvm.LibSVMTrainer
- setNu(double) - Method in class org.tribuo.common.libsvm.SVMParameters
-
Sets the value of nu for NU_SVM.
- setProbability() - Method in class org.tribuo.common.libsvm.SVMParameters
-
Makes the model that is built provide probability estimates.
- setupParameters(ImmutableOutputInfo<T>) - Method in class org.tribuo.common.libsvm.LibSVMTrainer
-
Constructs the svm_parameter.
- SIGMOID - Enum constant in enum org.tribuo.common.libsvm.KernelType
-
A sigmoid kernel of the form tanh(gamma*u'*v + coef0)
- SVMParameters<T> - Class in org.tribuo.common.libsvm
-
A container for SVM parameters and the kernel.
- SVMParameters(SVMType<T>, KernelType) - Constructor for class org.tribuo.common.libsvm.SVMParameters
-
Constructs the default SVMParameters using the specified SVMType and KernelType.
- svmParamsToString(svm_parameter) - Static method in class org.tribuo.common.libsvm.SVMParameters
-
A sensible toString for svm_parameter.
- svmType - Variable in class org.tribuo.common.libsvm.LibSVMTrainer
-
The type of SVM algorithm.
- svmType - Variable in class org.tribuo.common.libsvm.SVMParameters
-
The type of the SVM.
- SVMType<T> - Interface in org.tribuo.common.libsvm
-
A carrier type for the SVM type.
T
- toString() - Method in class org.tribuo.common.libsvm.LibSVMTrainer
- toString() - Method in class org.tribuo.common.libsvm.SVMParameters
- train(Dataset<T>) - Method in class org.tribuo.common.libsvm.LibSVMTrainer
- train(Dataset<T>, Map<String, Provenance>) - Method in class org.tribuo.common.libsvm.LibSVMTrainer
- train(Dataset<T>, Map<String, Provenance>, int) - Method in class org.tribuo.common.libsvm.LibSVMTrainer
- trainModels(svm_parameter, int, svm_node[][], double[][], SplittableRandom) - Method in class org.tribuo.common.libsvm.LibSVMTrainer
-
Train all the LibSVM instances necessary for this dataset.
V
- valueOf(String) - Static method in enum org.tribuo.common.libsvm.KernelType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.tribuo.common.libsvm.KernelType
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes and Interfaces|All Packages|Serialized Form