public class BiasNeuron extends Neuron
Neuron
,
Serialized Formdelta, inputConnections, inputFunction, outConnections, output, parentLayer, totalInput, transferFunction
Constructor and Description |
---|
BiasNeuron()
Creates an instance of BiasedNeuron.
|
Modifier and Type | Method and Description |
---|---|
void |
addInputConnection(Connection connection)
Adds the specified input connection
|
void |
addInputConnection(Neuron fromNeuron)
Adds input connection from specified neuron.
|
void |
addInputConnection(Neuron fromNeuron,
double weightVal)
Adds input connection with the given weight, from given neuron
|
void |
calculate()
Calculates neuron's output
|
addOutputConnection, clone, getConnectionFrom, getDelta, getInputConnections, getInputFunction, getLabel, getNetInput, getOutConnections, getOutput, getParentLayer, getTransferFunction, getWeights, hasInputConnectionFrom, hasInputConnections, hasOutputConnectionTo, initializeWeights, removeAllConnections, removeAllInputConnections, removeAllOutputConnections, removeInputConnection, removeInputConnectionFrom, removeOutputConnection, removeOutputConnectionTo, reset, setDelta, setInput, setInputFunction, setLabel, setOutput, setParentLayer, setTransferFunction
public void calculate()
Neuron
public void addInputConnection(Connection connection)
Neuron
addInputConnection
in class Neuron
connection
- input connection to addpublic void addInputConnection(Neuron fromNeuron, double weightVal)
Neuron
addInputConnection
in class Neuron
fromNeuron
- neuron to connect fromweightVal
- connection weight valuepublic void addInputConnection(Neuron fromNeuron)
Neuron
addInputConnection
in class Neuron
fromNeuron
- neuron to connect fromCopyright © 2019 Neuroph Project. All rights reserved.