GoLang fann_train_epoch

request it (396)
GoLang replacement for PHP's fann_train_epoch [edit | history]



Do you know a GoLang replacement for PHP's fann_train_epoch? Write it!

PHP fann_train_epoch

PHP original manual for fann_train_epoch [ show | php.net ]

fann_train_epoch

(PECL fann >= 1.0.0)

fann_train_epochTrain one epoch with a set of training data

Description

float fann_train_epoch ( resource $ann , resource $data )

Train one epoch with the training data stored in data. One epoch is where all of the training data is considered exactly once.

This function returns the MSE error as it is calculated either before or during the actual training. This is not the actual MSE after the training epoch, but since calculating this will require to go through the entire training set once more. It is more than adequate to use this value during training.

The training algorithm used by this function is chosen by fann_set_training_algorithm() function.

Parameters

ann

Neural network resource.

data

Neural network training data resource.

Return Values

The MSE, or FALSE on error.

See Also