메소드 | 설명 | |
---|---|---|
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. |
리턴 | void |
public static Equals ( BasicNetwork network1, BasicNetwork network2 ) : bool | ||
network1 | BasicNetwork | The first network. |
network2 | BasicNetwork | The second network. |
리턴 | 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. |
리턴 | bool |
public static NetworkSize ( IMLMethod network ) : int | ||
network | IMLMethod | The network. |
리턴 | int |
public static NetworkToArray ( IMLMethod network ) : double[] | ||
network | IMLMethod | The network to encode. |
리턴 | double[] |