|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.joone.engine.Layer
org.joone.engine.RbfLayer
org.joone.engine.RbfGaussianLayer
public class RbfGaussianLayer
This class implements the nonlinear layer in Radial Basis Function (RBF) networks using Gaussian functions.
| Field Summary |
|---|
| Fields inherited from class org.joone.engine.Layer |
|---|
bias, gradientInps, gradientOuts, inps, inputPatternListeners, learnable, learning, m_batch, monitor, myLearner, outputPatternListeners, outs, running, step, STOP_FLAG |
| Constructor Summary | |
|---|---|
RbfGaussianLayer()
Creates a new instance of RbfGaussianLayer |
|
| Method Summary | |
|---|---|
protected void |
backward(double[] pattern)
Reverse transfer function of the component. |
protected void |
forward(double[] pattern)
Transfer function to recall a result on a trained net |
double |
getDefaultState()
Return the default state of a node in this layer, such as 0 for a tanh or 0.5 for a sigmoid layer |
double |
getDerivative(int i)
Similar to the backward message and used by RTRL |
RbfGaussianParameters[] |
getGaussianParameters()
Gets the parameters that define the Gaussian RBFs. |
double |
getMaximumState()
Return maximum value of a node in this layer |
double |
getMinimumState()
Return minimum value of a node in this layer |
java.util.Collection |
Inspections()
It doesn't make sense to return biases for this layer |
protected void |
setDimensions()
Sets the dimension of the layer. |
void |
setGaussianParameters(RbfGaussianParameters[] aGaussianParameters)
Sets the parameters that define the Gaussian RBFs. |
void |
useRandomCenter(StreamInputSynapse aStreamInput)
Sets the Gaussian parameters to centers chosen randomly from the input/training data. |
| Methods inherited from class org.joone.engine.RbfLayer |
|---|
adjustSizeToFwdPattern |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RbfGaussianLayer()
| Method Detail |
|---|
protected void backward(double[] pattern)
throws JooneRuntimeException
Layer
backward in class Layerpattern - input pattern on which to apply the transfer function
JooneRuntimeExceptionpublic double getDerivative(int i)
getDerivative in class Layer
protected void forward(double[] pattern)
throws JooneRuntimeException
Layer
forward in class Layerpattern - input pattern to which to apply the rtransfer function
JooneRuntimeExceptionprotected void setDimensions()
Layer
setDimensions in class RbfLayerpublic RbfGaussianParameters[] getGaussianParameters()
public void setGaussianParameters(RbfGaussianParameters[] aGaussianParameters)
aGaussianParameters - The new parameters for the RBFs.public void useRandomCenter(StreamInputSynapse aStreamInput)
aStreamInput - the synapse providing the input, from where we will select random centers.public java.util.Collection Inspections()
Inspections in interface InspectableInspections in class Layerorg.joone.Inspectionpublic double getDefaultState()
Layer
getDefaultState in class Layerpublic double getMinimumState()
Layer
getMinimumState in class Layerpublic double getMaximumState()
Layer
getMaximumState in class Layer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||