public static enum ArtificialNeuralNetwork.Activator extends Enum<ArtificialNeuralNetwork.Activator>
Enum Constant and Description |
---|
IDENTITY
(-,+)
|
RECTIFIER
ReLU: [0,+)
|
SIGMOID
[0,1]
|
SOFTMAX
[0,1]
Currently this can only be used in the final layer in combination with ArtificialNeuralNetwork.Error.CROSS_ENTROPY . |
TANH
[-1,1]
|
Modifier and Type | Method and Description |
---|---|
static ArtificialNeuralNetwork.Activator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArtificialNeuralNetwork.Activator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArtificialNeuralNetwork.Activator IDENTITY
public static final ArtificialNeuralNetwork.Activator RECTIFIER
public static final ArtificialNeuralNetwork.Activator SIGMOID
public static final ArtificialNeuralNetwork.Activator SOFTMAX
ArtificialNeuralNetwork.Error.CROSS_ENTROPY
. All other usage will give incorrect network
training.public static final ArtificialNeuralNetwork.Activator TANH
public static ArtificialNeuralNetwork.Activator[] values()
for (ArtificialNeuralNetwork.Activator c : ArtificialNeuralNetwork.Activator.values()) System.out.println(c);
public static ArtificialNeuralNetwork.Activator 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 © 2019 Optimatika. All rights reserved.