Method | Description | |
---|---|---|
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. |
return | double[] |
public Compute ( double input, int layerIndex ) : double[] | ||
input | double | The input vector. |
layerIndex | int | The index of the layer. |
return | double[] |
public static CreateGaussianBernoulli ( int inputsCount ) : |
||
inputsCount | int | The number of inputs for the network. |
return |
public static CreateMixedNetwork ( IStochasticFunction visible, IStochasticFunction hidden, int inputsCount ) : |
||
visible | IStochasticFunction | The |
hidden | IStochasticFunction | The |
inputsCount | int | The number of inputs for the network. |
return |
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. |
return | System |
public DeepBeliefNetwork ( int inputsCount ) : System | ||
inputsCount | int | The number of inputs for the network. |
return | System |
public GenerateInput ( double output ) : double[] | ||
output | double | An output vector. |
return | double[] |
public GenerateOutput ( double input ) : double[] | ||
input | double | An input vector. |
return | double[] |
public GenerateOutput ( double input, int layerIndex ) : double[] | ||
input | double | An input vector. |
layerIndex | int | The index of the layer. |
return | double[] |
public static Load ( Stream stream ) : |
||
stream | Stream | The network from which the machine is to be deserialized. |
return |
public static Load ( string path ) : |
||
path | string | The path to the file from which the network is to be deserialized. |
return |
public Push ( |
||
network | The machine to be added to the network. | |
return | void |
public Push ( int neurons ) : void | ||
neurons | int | The number of neurons in the new layer. |
return | 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. |
return | 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. |
return | void |
public Reconstruct ( double output ) : double[] | ||
output | double | The output vector. |
return | double[] |
public Reconstruct ( double output, int layerIndex ) : double[] | ||
output | double | The output vector. |
layerIndex | int | The index of the layer. |
return | double[] |
public Save ( Stream stream ) : void | ||
stream | Stream | The stream to which the network is to be serialized. |
return | void |
public Save ( string path ) : void | ||
path | string | The file path to which the network is to be serialized. |
return | void |