public static enum LinearClassificationType.LinearType extends Enum<LinearClassificationType.LinearType> implements Serializable
Enum Constant and Description |
---|
L1R_L2LOSS_SVC
L1-regularized L2-loss support vector classification
|
L1R_LR
L1-regularized logistic regression
|
L2R_L1LOSS_SVC_DUAL
L2-regularized L1-loss support vector classification (dual)
|
L2R_L2LOSS_SVC
L2-regularized L2-loss support vector classification (primal)
|
L2R_L2LOSS_SVC_DUAL
L2-regularized L2-loss support vector classification (dual)
|
L2R_LR
L2-regularized logistic regression (primal)
|
L2R_LR_DUAL
L2-regularized logistic regression (dual)
|
MCSVM_CS
multi-class support vector classification by Crammer and Singer
|
Modifier and Type | Method and Description |
---|---|
de.bwaldvogel.liblinear.SolverType |
getSolverType() |
static LinearClassificationType.LinearType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinearClassificationType.LinearType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinearClassificationType.LinearType L1R_L2LOSS_SVC
public static final LinearClassificationType.LinearType L2R_L2LOSS_SVC
public static final LinearClassificationType.LinearType L2R_L2LOSS_SVC_DUAL
public static final LinearClassificationType.LinearType L2R_L1LOSS_SVC_DUAL
public static final LinearClassificationType.LinearType MCSVM_CS
public static final LinearClassificationType.LinearType L1R_LR
public static final LinearClassificationType.LinearType L2R_LR
public static final LinearClassificationType.LinearType L2R_LR_DUAL
public static LinearClassificationType.LinearType[] values()
for (LinearClassificationType.LinearType c : LinearClassificationType.LinearType.values()) System.out.println(c);
public static LinearClassificationType.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.