|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.neural.networks.layers.BasicLayer
org.encog.neural.networks.layers.RadialBasisFunctionLayer
public class RadialBasisFunctionLayer
This layer type makes use of several radial basis function to scale the output from this layer. Each RBF can have a different center, peak, and width. Proper selection of these values will greatly impact the success of the layer. Currently, Encog provides no automated way of determining these values. There is one RBF per neuron. Radial basis function layers have neither thresholds nor a regular activation function. Calling any methods that deal with the activation function or thresholds will result in an error.
| Constructor Summary | |
|---|---|
RadialBasisFunctionLayer()
Default constructor, mainly so the workbench can easily create a default layer. |
|
RadialBasisFunctionLayer(int neuronCount)
Construct a radial basis function layer. |
|
| Method Summary | |
|---|---|
NeuralData |
compute(NeuralData pattern)
Compute the values before sending output to the next layer. |
Persistor |
createPersistor()
Create a persistor for this layer. |
RadialBasisFunction[] |
getRadialBasisFunction()
|
void |
randomizeGaussianCentersAndWidths(double min,
double max)
Set the gausian components to random values. |
void |
setRadialBasisFunction(RadialBasisFunction[] newRBF)
Set the RBF array used by this layer. |
| Methods inherited from class org.encog.neural.networks.layers.BasicLayer |
|---|
addNext, addNext, addSynapse, compareTo, getActivationFunction, getDescription, getID, getName, getNetwork, getNeuronCount, getNext, getNextLayers, getThreshold, getThreshold, getX, getY, hasThreshold, isConnectedTo, isSelfConnected, process, recur, setActivationFunction, setDescription, setID, setName, setNetwork, setNeuronCount, setThreshold, setThreshold, setX, setY, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RadialBasisFunctionLayer()
public RadialBasisFunctionLayer(int neuronCount)
neuronCount - The neuron count.| Method Detail |
|---|
public NeuralData compute(NeuralData pattern)
compute in interface Layercompute in class BasicLayerpattern - The incoming Project.
public Persistor createPersistor()
createPersistor in interface EncogPersistedObjectcreatePersistor in class BasicLayerpublic RadialBasisFunction[] getRadialBasisFunction()
public void randomizeGaussianCentersAndWidths(double min,
double max)
min - The minimum value for the centers, widths and peaks.max - The maximum value for the centers, widths and peaks.public void setRadialBasisFunction(RadialBasisFunction[] newRBF)
newRBF - The new RBF array.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||