org.encog.neural.pattern
public class RadialBasisPattern extends Object implements NeuralNetworkPattern
| Constructor and Description |
|---|
RadialBasisPattern() |
| Modifier and Type | Method and Description |
|---|---|
void |
addHiddenLayer(int count)
Add the hidden layer, this should be called once, as a RBF has a single
hidden layer.
|
void |
clear()
Clear out any hidden neurons.
|
MLMethod |
generate()
Generate the RBF network.
|
void |
setActivationFunction(ActivationFunction activation)
Set the activation function, this is an error.
|
void |
setInputNeurons(int count)
Set the number of input neurons.
|
void |
setOutputNeurons(int count)
Set the number of output neurons.
|
void |
setRBF(RBFEnum type) |
public void addHiddenLayer(int count)
addHiddenLayer in interface NeuralNetworkPatterncount - The number of neurons in the hidden layer.public void clear()
clear in interface NeuralNetworkPatternpublic MLMethod generate()
generate in interface NeuralNetworkPatternpublic void setActivationFunction(ActivationFunction activation)
setActivationFunction in interface NeuralNetworkPatternactivation - The new activation function.public void setInputNeurons(int count)
setInputNeurons in interface NeuralNetworkPatterncount - The number of input neurons.public void setOutputNeurons(int count)
setOutputNeurons in interface NeuralNetworkPatterncount - The number of output neurons.public void setRBF(RBFEnum type)
Copyright © 2014. All Rights Reserved.