C# Class Accord.Neuro.Networks.RestrictedBoltzmannMachine

Inheritance: ActivationNetwork
Afficher le fichier Open project: accord-net/framework Class Usage Examples

Méthodes publiques

Méthode Description
Compute ( double input ) : double[]

Compute output vector of the network.

CreateGaussianBernoulli ( int inputsCount, int hiddenNeurons ) : RestrictedBoltzmannMachine

Constructs a Gaussian-Bernoulli network with visible Gaussian units and hidden Bernoulli units.

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.

Reconstruct ( double output ) : double[]

Reconstructs a input vector for a given output.

RestrictedBoltzmannMachine ( IStochasticFunction function, int inputsCount, int hiddenNeurons ) : System

Creates a new RestrictedBoltzmannMachine.

RestrictedBoltzmannMachine ( StochasticLayer hidden, StochasticLayer visible ) : System

Creates a new RestrictedBoltzmannMachine.

RestrictedBoltzmannMachine ( int inputsCount, int hiddenNeurons ) : System

Creates a new RestrictedBoltzmannMachine.

ToActivationNetwork ( IActivationFunction function, int outputs ) : ActivationNetwork

Creates a new ActivationNetwork from this instance.

ToActivationNetwork ( int outputs ) : ActivationNetwork

Creates a new ActivationNetwork from this instance.

UpdateVisibleWeights ( ) : void

Updates the weights of the visible layer by copying the reverse of the weights in the hidden layer.

Method Details

Compute() public méthode

Compute output vector of the network.
public Compute ( double input ) : double[]
input double Input vector.
Résultat double[]

CreateGaussianBernoulli() public static méthode

Constructs a Gaussian-Bernoulli network with visible Gaussian units and hidden Bernoulli units.
public static CreateGaussianBernoulli ( int inputsCount, int hiddenNeurons ) : RestrictedBoltzmannMachine
inputsCount int The number of inputs for the machine.
hiddenNeurons int The number of hidden neurons in the machine.
Résultat RestrictedBoltzmannMachine

GenerateInput() public méthode

Samples an input vector from the network given an output vector.
public GenerateInput ( double output ) : double[]
output double An output vector.
Résultat double[]

GenerateOutput() public méthode

Samples an output vector from the network given an input vector.
public GenerateOutput ( double input ) : double[]
input double An input vector.
Résultat double[]

Reconstruct() public méthode

Reconstructs a input vector for a given output.
public Reconstruct ( double output ) : double[]
output double The output vector.
Résultat double[]

RestrictedBoltzmannMachine() public méthode

Creates a new RestrictedBoltzmannMachine.
public RestrictedBoltzmannMachine ( IStochasticFunction function, int inputsCount, int hiddenNeurons ) : System
function IStochasticFunction The activation function to use in the network neurons.
inputsCount int The number of inputs for the machine.
hiddenNeurons int The number of hidden neurons in the machine.
Résultat System

RestrictedBoltzmannMachine() public méthode

Creates a new RestrictedBoltzmannMachine.
public RestrictedBoltzmannMachine ( StochasticLayer hidden, StochasticLayer visible ) : System
hidden Accord.Neuro.Layers.StochasticLayer The hidden layer to be added in the machine.
visible Accord.Neuro.Layers.StochasticLayer The visible layer to be added in the machine.
Résultat System

RestrictedBoltzmannMachine() public méthode

Creates a new RestrictedBoltzmannMachine.
public RestrictedBoltzmannMachine ( int inputsCount, int hiddenNeurons ) : System
inputsCount int The number of inputs for the machine.
hiddenNeurons int The number of hidden neurons in the machine.
Résultat System

ToActivationNetwork() public méthode

Creates a new ActivationNetwork from this instance.
public ToActivationNetwork ( IActivationFunction function, int outputs ) : ActivationNetwork
function IActivationFunction The activation function to use in the last layer.
outputs int The number of output neurons in the last layer.
Résultat ActivationNetwork

ToActivationNetwork() public méthode

Creates a new ActivationNetwork from this instance.
public ToActivationNetwork ( int outputs ) : ActivationNetwork
outputs int The number of output neurons in the last layer.
Résultat ActivationNetwork

UpdateVisibleWeights() public méthode

Updates the weights of the visible layer by copying the reverse of the weights in the hidden layer.
public UpdateVisibleWeights ( ) : void
Résultat void