|
||||||||||
| 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.SimpleLayer
org.joone.engine.LinearLayer
public class LinearLayer
The output of a linear layer neuron is the sum of the weighted input values, scaled by the beta parameter. No transfer function is applied to limit the output value
| 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 | |
|---|---|
LinearLayer()
The constructor |
|
LinearLayer(java.lang.String ElemName)
The constructor |
|
| Method Summary | |
|---|---|
void |
backward(double[] pattern)
Reverse transfer function of the component. |
void |
forward(double[] pattern)
Transfer function to recall a result on a trained net |
double |
getBeta()
Returns the value of the beta parameter |
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 |
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 |
void |
setBeta(double newBeta)
Sets the beta value |
| Methods inherited from class org.joone.engine.SimpleLayer |
|---|
getLearningRate, getLrate, getMomentum, setDimensions, setLrate, setMomentum, setMonitor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LinearLayer()
public LinearLayer(java.lang.String ElemName)
ElemName - The name of the Layer| Method Detail |
|---|
public double getDerivative(int i)
getDerivative in class Layerpublic void backward(double[] pattern)
Layer
backward in class SimpleLayerpattern - input pattern on which to apply the transfer functionpublic void forward(double[] pattern)
Layer
forward in class Layerpattern - input pattern to which to apply the rtransfer functionpublic double getBeta()
public void setBeta(double newBeta)
newBeta - doublepublic 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 | |||||||||