Метод | Описание | |
---|---|---|
Compute ( double input ) : double[] |
Computes the network's outputs for a given input.
|
|
Compute ( double input, int layerIndex ) : double[] |
Computes the network's outputs for a given input.
|
|
CreateGaussianBernoulli ( int inputsCount ) : |
Creates a Gaussian-Bernoulli network.
|
|
CreateMixedNetwork ( IStochasticFunction visible, IStochasticFunction hidden, int inputsCount ) : |
Creates a Mixed-Bernoulli network.
|
|
DeepBeliefNetwork ( IStochasticFunction function, int inputsCount ) : System |
Creates a new DeepBeliefNetwork.
|
|
DeepBeliefNetwork ( int inputsCount ) : System |
Creates a new DeepBeliefNetwork.
|
|
GenerateInput ( double output ) : double[] |
Samples an input vector from the network given an output vector.
|
|
GenerateOutput ( double input ) : double[] |
Samples an output vector from the network given an input vector.
|
|
GenerateOutput ( double input, int layerIndex ) : double[] |
Samples an output vector from the network given an input vector.
|
|
Load ( Stream stream ) : |
Loads a network from a stream.
|
|
Load ( string path ) : |
Loads a network from a file.
|
|
Pop ( ) : void |
Removes the last layer from the network.
|
|
Push ( |
Stacks a new Boltzmann Machine at the end of this network.
|
|
Push ( int neurons ) : void |
Inserts a new layer at the end of this network.
|
|
Push ( int neurons, IStochasticFunction function ) : void |
Inserts a new layer at the end of this network.
|
|
Push ( int neurons, IStochasticFunction visibleFunction, IStochasticFunction hiddenFunction ) : void |
Inserts a new layer at the end of this network.
|
|
Reconstruct ( double output ) : double[] |
Reconstructs a input vector for a given output.
|
|
Reconstruct ( double output, int layerIndex ) : double[] |
Reconstructs a input vector using the output vector of a given layer.
|
|
Save ( Stream stream ) : void |
Saves the network to a stream.
|
|
Save ( string path ) : void |
Saves the network to a stream.
|
|
UpdateVisibleWeights ( ) : void |
Updates the weights of the visible layers by copying the reverse of the weights in the hidden layers.
|
public Compute ( double input ) : double[] | ||
input | double | The input vector. |
Результат | double[] |
public Compute ( double input, int layerIndex ) : double[] | ||
input | double | The input vector. |
layerIndex | int | The index of the layer. |
Результат | double[] |
public static CreateGaussianBernoulli ( int inputsCount ) : |
||
inputsCount | int | The number of inputs for the network. |
Результат |
public static CreateMixedNetwork ( IStochasticFunction visible, IStochasticFunction hidden, int inputsCount ) : |
||
visible | IStochasticFunction | The |
hidden | IStochasticFunction | The |
inputsCount | int | The number of inputs for the network. |
Результат |
public DeepBeliefNetwork ( IStochasticFunction function, int inputsCount ) : System | ||
function | IStochasticFunction | The activation function to be used in the network neurons. |
inputsCount | int | The number of inputs for the network. |
Результат | System |
public DeepBeliefNetwork ( int inputsCount ) : System | ||
inputsCount | int | The number of inputs for the network. |
Результат | System |
public GenerateInput ( double output ) : double[] | ||
output | double | An output vector. |
Результат | double[] |
public GenerateOutput ( double input ) : double[] | ||
input | double | An input vector. |
Результат | double[] |
public GenerateOutput ( double input, int layerIndex ) : double[] | ||
input | double | An input vector. |
layerIndex | int | The index of the layer. |
Результат | double[] |
public static Load ( Stream stream ) : |
||
stream | Stream | The network from which the machine is to be deserialized. |
Результат |
public static Load ( string path ) : |
||
path | string | The path to the file from which the network is to be deserialized. |
Результат |
public Push ( |
||
network | The machine to be added to the network. | |
Результат | void |
public Push ( int neurons ) : void | ||
neurons | int | The number of neurons in the new layer. |
Результат | void |
public Push ( int neurons, IStochasticFunction function ) : void | ||
neurons | int | The number of neurons in the new layer. |
function | IStochasticFunction | The activation function which should be used by the neurons. |
Результат | void |
public Push ( int neurons, IStochasticFunction visibleFunction, IStochasticFunction hiddenFunction ) : void | ||
neurons | int | The number of neurons in the layer. |
visibleFunction | IStochasticFunction | The activation function which should be used by the visible neurons. |
hiddenFunction | IStochasticFunction | The activation function which should be used by the hidden neurons. |
Результат | void |
public Reconstruct ( double output ) : double[] | ||
output | double | The output vector. |
Результат | double[] |
public Reconstruct ( double output, int layerIndex ) : double[] | ||
output | double | The output vector. |
layerIndex | int | The index of the layer. |
Результат | double[] |
public Save ( Stream stream ) : void | ||
stream | Stream | The stream to which the network is to be serialized. |
Результат | void |
public Save ( string path ) : void | ||
path | string | The file path to which the network is to be serialized. |
Результат | void |