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 NeuralNetworkPattern
count
- The number of neurons in the hidden layer.public void clear()
clear
in interface NeuralNetworkPattern
public MLMethod generate()
generate
in interface NeuralNetworkPattern
public void setActivationFunction(ActivationFunction activation)
setActivationFunction
in interface NeuralNetworkPattern
activation
- The new activation function.public void setInputNeurons(int count)
setInputNeurons
in interface NeuralNetworkPattern
count
- The number of input neurons.public void setOutputNeurons(int count)
setOutputNeurons
in interface NeuralNetworkPattern
count
- The number of output neurons.public void setRBF(RBFEnum type)
Copyright © 2014. All Rights Reserved.