Enum fann::TrainAlgorithm [] [src]

pub enum TrainAlgorithm {
    Incremental(IncrementalParams),
    Batch(BatchParams),
    Rprop(RpropParams),
    Quickprop(QuickpropParams),
}

The Training algorithms used when training on fann_train_data with functions like fann_train_on_data or fann_train_on_file. The incremental training alters the weights after each time it is presented an input pattern, while batch only alters the weights once after it has been presented to all the patterns.

Variants

Standard backpropagation algorithm, where the weights are updated after each training pattern. This means that the weights are updated many times during a single epoch and some problems will train very fast, while other more advanced problems will not train very well.

Standard backpropagation algorithm, where the weights are updated after calculating the mean square error for the whole training set. This means that the weights are only updated once during an epoch. For this reason some problems will train slower with this algorithm. But since the mean square error is calculated more correctly than in incremental training, some problems will reach better solutions.

A more advanced batch training algorithm which achieves good results for many problems. Rprop is adaptive and therefore does not use the learning_rate. Some other parameters can, however, be set to change the way Rprop works, but it is only recommended for users with a deep understanding of the algorithm. The original RPROP training algorithm is described by [Riedmiller and Braun, 1993], but the algorithm used here is a variant, iRPROP, described by [Igel and Husken, 2000].

A more advanced batch training algorithm which achieves good results for many problems. The quickprop training algorithm uses the learning_rate parameter along with other more advanced parameters, but it is only recommended to change these for users with a deep understanding of the algorithm. Quickprop is described by [Fahlman, 1988].

Trait Implementations

impl Copy for TrainAlgorithm
[src]

impl Clone for TrainAlgorithm
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TrainAlgorithm
[src]

Formats the value using the given formatter.

impl PartialEq for TrainAlgorithm
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for TrainAlgorithm
[src]

Returns the "default value" for a type. Read more