Свойство | Тип | Описание | |
---|---|---|---|
inputsCount | int | ||
layers | AForge.Neuro.Layer[] | ||
layersCount | int | ||
output | double[] |
Метод | Описание | |
---|---|---|
Compute ( double input ) : double[] |
Compute output vector of the network. The actual network's output vecor is determined by layers, which comprise the layer - represents an output vector of the last layer of the network. The output vector is also stored in Output property. |
|
Load ( System.Stream stream ) : |
Load network from specified file. Neural network is loaded from file using .NET serialization (binary formater is used). |
|
Load ( string fileName ) : |
Load network from specified file. Neural network is loaded from file using .NET serialization (binary formater is used). |
|
Randomize ( ) : void |
Randomize layers of the network. Randomizes network's layers by calling Layer.Randomize method of each layer. |
|
Save ( System.Stream stream ) : void |
Save network to specified file. The neural network is saved using .NET serialization (binary formatter is used). |
|
Save ( string fileName ) : void |
Save network to specified file. The neural network is saved using .NET serialization (binary formatter is used). |
Метод | Описание | |
---|---|---|
Network ( int inputsCount, int layersCount ) : System |
Initializes a new instance of the Network class. Protected constructor, which initializes inputsCount, layersCount and layers members. |
public Compute ( double input ) : double[] | ||
input | double | Input vector. |
Результат | double[] |
public static Load ( System.Stream stream ) : |
||
stream | System.Stream | Stream to load network from. |
Результат |
public static Load ( string fileName ) : |
||
fileName | string | File name to load network from. |
Результат |
protected Network ( int inputsCount, int layersCount ) : System | ||
inputsCount | int | Network's inputs count. |
layersCount | int | Network's layers count. |
Результат | System |
public Save ( System.Stream stream ) : void | ||
stream | System.Stream | Stream to save network into. |
Результат | void |
public Save ( string fileName ) : void | ||
fileName | string | File name to save network into. |
Результат | void |