public static enum TrainTest.SLMType extends Enum<TrainTest.SLMType>
Enum Constant and Description |
---|
ELASTICNET
Creates an
ElasticNetCDTrainer . |
LARS
Creates a
LARSTrainer . |
LARSLASSO
Creates a
LARSLassoTrainer . |
SFS
Creates a
SLMTrainer which performs sequential forward selection of the features. |
SFSN
Creates a
SLMTrainer which performs sequential forward selection on normalised features. |
Modifier and Type | Method and Description |
---|---|
static TrainTest.SLMType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrainTest.SLMType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrainTest.SLMType SFS
SLMTrainer
which performs sequential forward selection of the features.public static final TrainTest.SLMType SFSN
SLMTrainer
which performs sequential forward selection on normalised features.public static final TrainTest.SLMType LARS
LARSTrainer
.public static final TrainTest.SLMType LARSLASSO
LARSLassoTrainer
.public static final TrainTest.SLMType ELASTICNET
ElasticNetCDTrainer
.public static TrainTest.SLMType[] values()
for (TrainTest.SLMType c : TrainTest.SLMType.values()) System.out.println(c);
public static TrainTest.SLMType 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 © 2015–2021 Oracle and/or its affiliates. All rights reserved.