public static enum MLConstants.SUPERVISED_ALGORITHM extends Enum<MLConstants.SUPERVISED_ALGORITHM>
Enum Constant and Description |
---|
DECISION_TREE |
LASSO_REGRESSION |
LINEAR_REGRESSION |
LOGISTIC_REGRESSION |
LOGISTIC_REGRESSION_LBFGS |
NAIVE_BAYES |
RANDOM_FOREST_CLASSIFICATION |
RANDOM_FOREST_REGRESSION |
RIDGE_REGRESSION |
SVM |
Modifier and Type | Method and Description |
---|---|
static MLConstants.SUPERVISED_ALGORITHM |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MLConstants.SUPERVISED_ALGORITHM[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MLConstants.SUPERVISED_ALGORITHM LINEAR_REGRESSION
public static final MLConstants.SUPERVISED_ALGORITHM RIDGE_REGRESSION
public static final MLConstants.SUPERVISED_ALGORITHM LASSO_REGRESSION
public static final MLConstants.SUPERVISED_ALGORITHM LOGISTIC_REGRESSION
public static final MLConstants.SUPERVISED_ALGORITHM LOGISTIC_REGRESSION_LBFGS
public static final MLConstants.SUPERVISED_ALGORITHM SVM
public static final MLConstants.SUPERVISED_ALGORITHM DECISION_TREE
public static final MLConstants.SUPERVISED_ALGORITHM RANDOM_FOREST_CLASSIFICATION
public static final MLConstants.SUPERVISED_ALGORITHM NAIVE_BAYES
public static final MLConstants.SUPERVISED_ALGORITHM RANDOM_FOREST_REGRESSION
public static MLConstants.SUPERVISED_ALGORITHM[] values()
for (MLConstants.SUPERVISED_ALGORITHM c : MLConstants.SUPERVISED_ALGORITHM.values()) System.out.println(c);
public static MLConstants.SUPERVISED_ALGORITHM valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018 WSO2, Inc.. All rights reserved.