Enum Class AllTrainerOptions.AlgorithmType
java.lang.Object
java.lang.Enum<AllTrainerOptions.AlgorithmType>
org.tribuo.classification.experiments.AllTrainerOptions.AlgorithmType
- All Implemented Interfaces:
Serializable
,Comparable<AllTrainerOptions.AlgorithmType>
,Constable
- Enclosing class:
- AllTrainerOptions
Types of algorithms supported.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCreates aCARTClassificationTrainer
.Creates aKNNTrainer
.Creates aLibLinearClassificationTrainer
.Creates aLibSVMClassificationTrainer
.Creates aMultinomialNaiveBayesTrainer
.Creates aKernelSVMTrainer
.Creates aLinearSGDTrainer
.Creates aXGBoostClassificationTrainer
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AllTrainerOptions.AlgorithmType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CART
Creates aCARTClassificationTrainer
. -
KNN
Creates aKNNTrainer
. -
LIBLINEAR
Creates aLibLinearClassificationTrainer
. -
LIBSVM
Creates aLibSVMClassificationTrainer
. -
MNB
Creates aMultinomialNaiveBayesTrainer
. -
SGD_KERNEL
Creates aKernelSVMTrainer
. -
SGD_LINEAR
Creates aLinearSGDTrainer
. -
XGBOOST
Creates aXGBoostClassificationTrainer
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-