|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.neural.networks.logic.FeedforwardLogic
public class FeedforwardLogic
Provides the neural logic for an Feedforward type network. See FeedforwardPattern for more information on this type of network.
| Constructor Summary | |
|---|---|
FeedforwardLogic()
|
|
| Method Summary | |
|---|---|
NeuralData |
compute(NeuralData input,
NeuralOutputHolder useHolder)
Compute the output for a given input to the neural network. |
BasicNetwork |
getNetwork()
|
void |
init(BasicNetwork network)
Setup the network logic, read parameters from the network. |
void |
preprocessLayer(Layer layer,
NeuralData input,
Synapse source)
Can be overridden by subclasses. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FeedforwardLogic()
| Method Detail |
|---|
public NeuralData compute(NeuralData input,
NeuralOutputHolder useHolder)
compute in interface NeuralLogicinput - The input provide to the neural network.useHolder - Allows a holder to be specified, this allows propagation
training to check the output of each layer.
public BasicNetwork getNetwork()
public void init(BasicNetwork network)
init in interface NeuralLogicnetwork - The network that this logic class belongs to.
public void preprocessLayer(Layer layer,
NeuralData input,
Synapse source)
layer - The layer to process.input - The input to this layer.source - The source from this layer.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||