Méthode | Description | |
---|---|---|
ArrayToNetwork ( double array, IMLMethod network ) : void |
Use an array to populate the memory of the neural network.
|
|
Equals ( BasicNetwork network1, BasicNetwork network2 ) : bool |
Determine if the two neural networks are equal. Uses exact precision required by Arrays.equals.
|
|
Equals ( BasicNetwork network1, BasicNetwork network2, int precision ) : bool |
Determine if the two neural networks are equal.
|
|
NetworkSize ( IMLMethod network ) : int |
Determine the network size.
|
|
NetworkToArray ( IMLMethod network ) : double[] |
Convert to an array. This is used with some training algorithms that require that the "memory" of the neuron(the weight and bias values) be expressed as a linear array.
|
public static ArrayToNetwork ( double array, IMLMethod network ) : void | ||
array | double | An array of doubles. |
network | IMLMethod | The network to encode. |
Résultat | void |
public static Equals ( BasicNetwork network1, BasicNetwork network2 ) : bool | ||
network1 | BasicNetwork | The first network. |
network2 | BasicNetwork | The second network. |
Résultat | bool |
public static Equals ( BasicNetwork network1, BasicNetwork network2, int precision ) : bool | ||
network1 | BasicNetwork | The first network. |
network2 | BasicNetwork | The second network. |
precision | int | How many decimal places to check. |
Résultat | bool |
public static NetworkSize ( IMLMethod network ) : int | ||
network | IMLMethod | The network. |
Résultat | int |
public static NetworkToArray ( IMLMethod network ) : double[] | ||
network | IMLMethod | The network to encode. |
Résultat | double[] |