org.encog.neural.pattern
public interface NeuralNetworkPattern
Modifier and Type | Method and Description |
---|---|
void |
addHiddenLayer(int count)
Add the specified hidden layer.
|
void |
clear()
Clear the hidden layers so that they can be redefined.
|
MLMethod |
generate()
Generate the specified neural network.
|
void |
setActivationFunction(ActivationFunction activation)
Set the activation function to be used for all created layers that allow
an activation function to be specified.
|
void |
setInputNeurons(int count)
Set the number of input neurons.
|
void |
setOutputNeurons(int count)
Set the number of output neurons.
|
void addHiddenLayer(int count)
count
- The number of neurons in the hidden layer.void clear()
MLMethod generate()
void setActivationFunction(ActivationFunction activation)
activation
- The activation function.void setInputNeurons(int count)
count
- The number of input neurons.void setOutputNeurons(int count)
count
- The output neuron count.Copyright © 2014. All Rights Reserved.