|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NeuralNetworkPattern
Patterns are used to create common sorts of neural networks. Information about the structure of the neural network is communicated to the pattern, and then generate is called to produce a neural network of this type.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |