org.joone.engine
Class BiasedLinearLayer
- java.lang.Object
-
- org.joone.engine.Layer
-
- org.joone.engine.SimpleLayer
-
- org.joone.engine.BiasedLinearLayer
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Runnable, Learnable, LearnableLayer, NeuralLayer, Inspectable
public class BiasedLinearLayer extends SimpleLayer implements LearnableLayer
This layer consists of linear neurons, i.e. neurons that sum up their inputs (actually this is done by the (full) synapse in Joone) along with their biases. In the learning process the biases are adjusted in an attempt to output a value closer to the desired output. This layer differs from LinearLayer in two ways: - This layer uses biases. These biases can/will also be adjusted in the learning process. - It has no scalar beta parameter.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description BiasedLinearLayer()Creates a new instance of BiasedLinearLayerBiasedLinearLayer(java.lang.String anElemName)Creates a new instance of BiasedLinearLayer.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description voidbackward(double[] pattern)Reverse transfer function of the component.voidforward(double[] pattern)Transfer function to recall a result on a trained netLearnergetLearner()Deprecated.- Used only for backward compatibility-
Methods inherited from class org.joone.engine.SimpleLayer
getLearningRate, getLrate, getMomentum, setLrate, setMomentum, setMonitor
-
Methods inherited from class org.joone.engine.Layer
addInputSynapse, addNoise, addOutputSynapse, check, copyInto, finalize, fwdRun, getAllInputs, getAllOutputs, getBias, getDimension, getLastOutputs, getLayerName, getMonitor, getRows, hasStepCounter, init, initLearner, InspectableTitle, Inspections, isInputLayer, isOutputLayer, isRunning, join, randomize, removeAllInputs, removeAllOutputs, removeInputSynapse, removeOutputSynapse, revRun, run, setAllInputs, setAllOutputs, setBias, setInputSynapses, setLayerName, setOutputSynapses, setRows, start, stop, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.joone.engine.Learnable
getMonitor, initLearner
-
Methods inherited from interface org.joone.engine.NeuralLayer
addInputSynapse, addNoise, addOutputSynapse, check, copyInto, getAllInputs, getAllOutputs, getBias, getLayerName, getMonitor, getRows, isRunning, removeAllInputs, removeAllOutputs, removeInputSynapse, removeOutputSynapse, setAllInputs, setAllOutputs, setBias, setLayerName, setMonitor, setRows, start
-
-
-
-
Constructor Detail
-
BiasedLinearLayer
public BiasedLinearLayer()
Creates a new instance of BiasedLinearLayer
-
BiasedLinearLayer
public BiasedLinearLayer(java.lang.String anElemName)
Creates a new instance of BiasedLinearLayer.- Parameters:
The- name of the layer.
-
-
Method Detail
-
backward
public void backward(double[] pattern)
Description copied from class:LayerReverse transfer function of the component.- Parameters:
pattern- input pattern on which to apply the transfer function
-
forward
public void forward(double[] pattern)
Description copied from class:LayerTransfer function to recall a result on a trained net- Parameters:
pattern- input pattern to which to apply the rtransfer function
-
getLearner
public Learner getLearner()
Deprecated. - Used only for backward compatibilityDescription copied from class:LayerReturns the appropriate Learner object for this class depending on the Monitor.learningMode property value- Specified by:
getLearnerin interfaceLearnable- Overrides:
getLearnerin classLayer- Returns:
- the Learner object if applicable, otherwise null
- See Also:
Learnable.getLearner()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG