public static enum LinearRegressionType.LinearType extends Enum<LinearRegressionType.LinearType> implements Serializable
Enum Constant and Description |
---|
L2R_L1LOSS_SVR_DUAL
L2-regularized L1-loss support vector regression (dual)
|
L2R_L2LOSS_SVR
L2-regularized L2-loss support vector regression (primal)
|
L2R_L2LOSS_SVR_DUAL
L2-regularized L2-loss support vector regression (dual)
|
Modifier and Type | Method and Description |
---|---|
de.bwaldvogel.liblinear.SolverType |
getSolverType()
Returns the liblinear enum.
|
static LinearRegressionType.LinearType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinearRegressionType.LinearType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinearRegressionType.LinearType L2R_L2LOSS_SVR
public static final LinearRegressionType.LinearType L2R_L2LOSS_SVR_DUAL
public static final LinearRegressionType.LinearType L2R_L1LOSS_SVR_DUAL
public static LinearRegressionType.LinearType[] values()
for (LinearRegressionType.LinearType c : LinearRegressionType.LinearType.values()) System.out.println(c);
public static LinearRegressionType.LinearType 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 nullpublic de.bwaldvogel.liblinear.SolverType getSolverType()
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.