|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neuroph.core.Neuron
org.neuroph.nnet.comp.BiasNeuron
public class BiasNeuron
Neuron with Bias Settings
Neuron
,
Serialized FormField Summary |
---|
Fields inherited from class org.neuroph.core.Neuron |
---|
error, inputConnections, inputFunction, netInput, outConnections, output, parentLayer, transferFunction |
Constructor Summary | |
---|---|
BiasNeuron()
Creates an instance of BiasedNeuron. |
Method Summary | |
---|---|
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 |
double |
getOutput()
Returns neuron's output |
Methods inherited from class org.neuroph.core.Neuron |
---|
addOutputConnection, calculate, getConnectionFrom, getError, getInputConnections, getInputFunction, getInputsIterator, getNetInput, getOutConnections, getParentLayer, getTransferFunction, getWeightsVector, hasInputConnections, randomizeInputWeights, removeInputConnectionFrom, reset, setError, setInput, setInputFunction, setOutput, setParentLayer, setTransferFunction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BiasNeuron()
Method Detail |
---|
public double getOutput()
Neuron
getOutput
in class 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 from
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |