a set of C++ library classes
for neural networks development



class BoldMomentum

Bold driver with momentum learning algorithm - HTML documentaiton under construction.

Inheritance:


Public Methods

[more] BoldMomentum (unsigned n_output, unsigned n_input, double x, double y, double incr = DEFAULT_ETA_INCR, double decr = DEFAULT_ETA_DECR )
[more] BoldMomentum (unsigned n_output, unsigned n_hidden, unsigned n_input, double x, double y, double incr = DEFAULT_ETA_INCR, double decr = DEFAULT_ETA_DECR )
[more] BoldMomentum (unsigned n_output, unsigned n_hidden1, unsigned n_hidden2, unsigned n_input, double x, double y, double incr = DEFAULT_ETA_INCR, double decr = DEFAULT_ETA_DECR )
[more] ~BoldMomentum ()
[more]void Update_param (double err, unsigned iter)

Protected Fields

[more]double eta_incr
[more]double eta_decr
[more]double err_prev


Inherited from MomentumDescent:

Public Methods

ovoid Update_weigths(unsigned n_layers, LayerNetTrain layer[] )

Protected Fields

odouble alpha
omatrix* Delta_W_total[MAXLAYERS]
ovect* delta_bias_total[MAXLAYERS]

Protected Methods

ovoid Zero_Delta_W_total(unsigned n_layers)


Inherited from GradientDescent:

Public Methods

ovoid Update_delta_weights(unsigned n_layers, LayerNetTrain layer[] )

Protected Methods

ovoid Zero_Delta_W(unsigned n_layers, LayerNetTrain layer[])


Inherited from Learning:

Public Methods

ovoid Init_rate(double val=DEFAULT_ETA)
odouble Read_rate(void)

Protected Fields

ostatic const double DEFAULT_ETA
ostatic const double DEFAULT_DECR_FACTOR
ostatic const double MIN_ETA
ostatic const double DEFAULT_DECR_LIN_FACTOR
ostatic const double DEFAULT_ALPHA
ostatic const double DEFAULT_ETA_INCR
ostatic const double DEFAULT_ETA_DECR
odouble eta


Documentation

Bold driver with momentum learning class.
It updates weights through gradient descent with adaptive learning rate and momentum term.
odouble eta_incr

odouble eta_decr

odouble err_prev

o BoldMomentum(unsigned n_output, unsigned n_input, double x, double y, double incr = DEFAULT_ETA_INCR, double decr = DEFAULT_ETA_DECR )

o BoldMomentum(unsigned n_output, unsigned n_hidden, unsigned n_input, double x, double y, double incr = DEFAULT_ETA_INCR, double decr = DEFAULT_ETA_DECR )

o BoldMomentum(unsigned n_output, unsigned n_hidden1, unsigned n_hidden2, unsigned n_input, double x, double y, double incr = DEFAULT_ETA_INCR, double decr = DEFAULT_ETA_DECR )

o ~BoldMomentum()

ovoid Update_param(double err, unsigned iter)


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java


Last Updated February 2001
For comments and suggestions mail to Giorgio Valentini