Class AllTrainerOptions
java.lang.Object
org.tribuo.classification.experiments.AllTrainerOptions
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options
,ClassificationOptions<Trainer<Label>>
Aggregates all the classification algorithms.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Types of algorithms supported. -
Field Summary
Modifier and TypeFieldDescriptionType of learner (or base learner).Options for CART trainers.Options for classifier ensembles.Options for hashing trainers.Options for Kernel SVM trainers.Options for K-NN trainers.Options for LibLinear trainers.Options for LibSVM trainers.Options for Linear SGD trainers.Options for Multinomial Naive Bayes trainers.Options for XGBoost trainers.Fields inherited from interface com.oracle.labs.mlrg.olcut.config.Options
header
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConstructs the trainer based on the provided arguments.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.oracle.labs.mlrg.olcut.config.Options
getOptionsDescription
-
Field Details
-
algorithm
@Option(longName="algorithm", usage="Type of learner (or base learner). Defaults to SGD_LINEAR.") public AllTrainerOptions.AlgorithmType algorithmType of learner (or base learner). Defaults to SGD_LINEAR. -
cartOptions
Options for CART trainers. -
knnOptions
Options for K-NN trainers. -
liblinearOptions
Options for LibLinear trainers. -
libsvmOptions
Options for LibSVM trainers. -
mnbOptions
Options for Multinomial Naive Bayes trainers. -
kernelSVMOptions
Options for Kernel SVM trainers. -
linearSGDOptions
Options for Linear SGD trainers. -
xgBoostOptions
Options for XGBoost trainers. -
ensemble
Options for classifier ensembles. -
hashingOptions
Options for hashing trainers.
-
-
Constructor Details
-
AllTrainerOptions
public AllTrainerOptions()
-
-
Method Details
-
getTrainer
Description copied from interface:ClassificationOptions
Constructs the trainer based on the provided arguments.- Specified by:
getTrainer
in interfaceClassificationOptions<Trainer<Label>>
- Returns:
- The trainer.
-