Click or drag to resize
Accord.NET (logo)

ContrastiveDivergenceLearning Class

Contrastive Divergence learning algorithm for Restricted Boltzmann Machines.
Inheritance Hierarchy
SystemObject
  Accord.Neuro.LearningContrastiveDivergenceLearning

Namespace:  Accord.Neuro.Learning
Assembly:  Accord.Neuro (in Accord.Neuro.dll) Version: 3.8.0
Syntax
public class ContrastiveDivergenceLearning : IUnsupervisedLearning, 
	IDisposable
Request Example View Source

The ContrastiveDivergenceLearning type exposes the following members.

Constructors
  NameDescription
Public methodContrastiveDivergenceLearning(RestrictedBoltzmannMachine)
Creates a new ContrastiveDivergenceLearning algorithm.
Public methodContrastiveDivergenceLearning(StochasticLayer, StochasticLayer)
Creates a new ContrastiveDivergenceLearning algorithm.
Top
Properties
  NameDescription
Public propertyDecay
Gets or sets the Weight Decay constant of the learning algorithm. Default is 0.01.
Public propertyLearningRate
Gets or sets the learning rate of the learning algorithm. Default is 0.1.
Public propertyMomentum
Gets or sets the momentum term of the learning algorithm. Default is 0.9.
Public propertyParallelOptions
Gets or sets parallelization options.
Top
Methods
  NameDescription
Public methodComputeError
Computes the reconstruction error of the current layer.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the ContrastiveDivergenceLearning is reclaimed by garbage collection.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRun
Not supported.
Public methodRunEpoch
Runs learning epoch.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
See Also