public interface TransferLayer extends Layer

is the neuron's output
is a weighted k-th input of the neuron
is the neuron's bias
is the transfer function of the layer (all neurons
in the layer share the same transfer function).| Modifier and Type | Method and Description |
|---|---|
double |
getBias(int neuron)
Returns the bias value of the specified neuron.
|
Function |
getTransferFunc()
Returns the transfer function of this layer.
|
void |
setBias(int neuron,
double value)
Sets the bias value for the specified neuron.
|
void |
setTransferFunc(Function function)
Sets the transfer function for this layer.
|
void setBias(int neuron,
double value)
neuron - the index of the neuronvalue - the bias valuedouble getBias(int neuron)
neuron - the index of the neuronvoid setTransferFunc(Function function)
function - the transfer functionFunction getTransferFunc()
Copyright © 2012. All Rights Reserved.