public static enum DummyRegressionTrainer.DummyType extends Enum<DummyRegressionTrainer.DummyType>
Enum Constant and Description |
---|
CONSTANT
Returns the specified constant value.
|
GAUSSIAN
Samples from a Gaussian using the means and variances from the training data.
|
MEAN
Returns the mean of the training data outputs.
|
MEDIAN
Returns the median of the training data outputs.
|
QUARTILE
Returns the training data output at the specified fraction of the sorted output.
|
Modifier and Type | Method and Description |
---|---|
static DummyRegressionTrainer.DummyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DummyRegressionTrainer.DummyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DummyRegressionTrainer.DummyType MEAN
public static final DummyRegressionTrainer.DummyType MEDIAN
public static final DummyRegressionTrainer.DummyType QUARTILE
public static final DummyRegressionTrainer.DummyType CONSTANT
public static final DummyRegressionTrainer.DummyType GAUSSIAN
public static DummyRegressionTrainer.DummyType[] values()
for (DummyRegressionTrainer.DummyType c : DummyRegressionTrainer.DummyType.values()) System.out.println(c);
public static DummyRegressionTrainer.DummyType 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.