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
Nested ClassesModifier and TypeClassDescriptionstatic enumTypes of algorithms supported. -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from interface com.oracle.labs.mlrg.olcut.config.Options
header -
Constructor Summary
Constructors -
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, waitMethods 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 algorithm -
cartOptions
-
knnOptions
-
liblinearOptions
-
libsvmOptions
-
mnbOptions
-
kernelSVMOptions
-
linearSGDOptions
-
xgBoostOptions
-
ensemble
-
hashingOptions
-
-
Constructor Details
-
AllTrainerOptions
public AllTrainerOptions()
-
-
Method Details
-
getTrainer
Description copied from interface:ClassificationOptionsConstructs the trainer based on the provided arguments.- Specified by:
getTrainerin interfaceClassificationOptions<Trainer<Label>>- Returns:
- The trainer.
-