org.encog.neural.networks.structure
public final class NetworkCODEC extends Object
Modifier and Type  Method and Description 

static void 
arrayToNetwork(double[] array,
MLMethod network)
Use an array to populate the memory of the neural network.

static boolean 
equals(BasicNetwork network1,
BasicNetwork network2)
Determine if the two neural networks are equal.

static boolean 
equals(BasicNetwork network1,
BasicNetwork network2,
int precision)
Determine if the two neural networks are equal.

static int 
networkSize(MLMethod network)
Determine the network size.

static double[] 
networkToArray(MLMethod network)
Convert to an array.

public static void arrayToNetwork(double[] array, MLMethod network)
array
 An array of doubles.network
 The network to encode.public static boolean equals(BasicNetwork network1, BasicNetwork network2)
network1
 The first network.network2
 The second network.public static boolean equals(BasicNetwork network1, BasicNetwork network2, int precision)
network1
 The first network.network2
 The second network.precision
 How many decimal places to check.public static int networkSize(MLMethod network)
network
 The network.public static double[] networkToArray(MLMethod network)
network
 The network to encode.Copyright © 2014. All Rights Reserved.