public class NeuralNetworkCODEC extends Object
Modifier and Type | Method and Description |
---|---|
static void |
array2network(double[] array,
NeuralNetwork network)
Decode a network from an array.
|
static int |
determineArraySize(NeuralNetwork network)
Determine the array size for the given neural network.
|
static void |
network2array(NeuralNetwork network,
double[] array)
Encode a network to an array.
|
public static void network2array(NeuralNetwork network, double[] array)
network
- The network to encode.public static void array2network(double[] array, NeuralNetwork network)
array
- The array used to decode.network
- The network to decode into.public static int determineArraySize(NeuralNetwork network)
network
- The neural network to determine for.Copyright © 2019 Neuroph Project. All rights reserved.