C# Class Accord.Statistics.Models.Fields.Learning.HiddenResilientGradientLearning

Resilient Gradient Learning.
Inheritance: ISupervisedLearning, IHiddenConditionalRandomFieldLearning, IConvergenceLearning, IDisposable
Mostra file Open project: Webreaper/Damselfly

Private Properties

Property Type Description
Run double
init void

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

HiddenResilientGradientLearning ( ) : System

Initializes a new instance of the HiddenResilientGradientLearning{T} class.

HiddenResilientGradientLearning ( HiddenConditionalRandomField model ) : System

Initializes a new instance of the HiddenResilientGradientLearning{T} class.

Reset ( double rate ) : void

Resets the current update steps using the given learning rate.

Run ( Array observations, int output ) : double

Runs one iteration of the learning algorithm with the specified input training observation and corresponding output label.

RunEpoch ( Array observations, Array outputs ) : double

Runs the learning algorithm with the specified input training observations and corresponding output labels.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

InnerRun ( Array observations, Array outputs ) : double

Runs the learning algorithm.

OnProgressChanged ( ProgressChangedEventArgs args ) : void

Raises the E:ProgressChanged event.

Private Methods

Method Description
Run ( Array observations, Array outputs ) : double
init ( ) : void

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed /// and unmanaged resources; false to release only unmanaged /// resources.
return void

HiddenResilientGradientLearning() public method

Initializes a new instance of the HiddenResilientGradientLearning{T} class.
public HiddenResilientGradientLearning ( ) : System
return System

HiddenResilientGradientLearning() public method

Initializes a new instance of the HiddenResilientGradientLearning{T} class.
public HiddenResilientGradientLearning ( HiddenConditionalRandomField model ) : System
model HiddenConditionalRandomField Model to teach.
return System

InnerRun() protected method

Runs the learning algorithm.
protected InnerRun ( Array observations, Array outputs ) : double
observations Array
outputs Array
return double

OnProgressChanged() protected method

Raises the E:ProgressChanged event.
protected OnProgressChanged ( ProgressChangedEventArgs args ) : void
args ProgressChangedEventArgs The ProgressChangedEventArgs instance containing the event data.
return void

Reset() public method

Resets the current update steps using the given learning rate.
public Reset ( double rate ) : void
rate double
return void

Run() public method

Runs one iteration of the learning algorithm with the specified input training observation and corresponding output label.
public Run ( Array observations, int output ) : double
observations Array The training observations.
output int The observation's labels.
return double

RunEpoch() public method

Runs the learning algorithm with the specified input training observations and corresponding output labels.
public RunEpoch ( Array observations, Array outputs ) : double
observations Array The training observations.
outputs Array The observation's labels.
return double