org.encog.engine
Interface EngineNeuralNetwork

All Superinterfaces:
EngineMachineLearning
All Known Implementing Classes:
FlatNetwork, FlatNetworkRBF

public interface EngineNeuralNetwork
extends EngineMachineLearning

An interface that defines a neural network. Mainly adds the ability to encode/decode weights to/from a double array.


Method Summary
 void decodeNetwork(double[] data)
          Decode an array to the neural network weights.
 double[] encodeNetwork()
          Encode the neural network weights to an array.
 int getEncodeLength()
           
 
Methods inherited from interface org.encog.engine.EngineMachineLearning
compute, getInputCount, getOutputCount
 

Method Detail

decodeNetwork

void decodeNetwork(double[] data)
Decode an array to the neural network weights.

Parameters:
data - The data to decode.

encodeNetwork

double[] encodeNetwork()
Encode the neural network weights to an array.

Returns:
The encoded neural network.

getEncodeLength

int getEncodeLength()
Returns:
The length of the encoded array.


Copyright © 2011. All Rights Reserved.