public static enum NeuralNetwork.ErrorFunction extends Enum<NeuralNetwork.ErrorFunction>
Enum Constant and Description |
---|
CROSS_ENTROPY
Cross entropy error function for output as probabilities.
|
LEAST_MEAN_SQUARES
Least mean squares error function.
|
Modifier and Type | Method and Description |
---|---|
static NeuralNetwork.ErrorFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NeuralNetwork.ErrorFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NeuralNetwork.ErrorFunction LEAST_MEAN_SQUARES
public static final NeuralNetwork.ErrorFunction CROSS_ENTROPY
public static NeuralNetwork.ErrorFunction[] values()
for (NeuralNetwork.ErrorFunction c : NeuralNetwork.ErrorFunction.values()) System.out.println(c);
public static NeuralNetwork.ErrorFunction 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. All rights reserved.