« fann_train
fann_train_on_data »

fann_train_epoch

(PECL fann >= 1.0.0)

fann_train_epoch — Train one epoch with a set of training data

説明

function fann_train_epoch(resource $ann, resource $data): float

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 would require going 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.

パラメータ

ann

ニューラルネットワークリソース。

data

ニューラルネットワークトレーニングリソース。

戻り値

The MSE, or false on error.

参考

関連キーワード:
training   fann   epoch   train   Train   algorithm   resource   during   actual   entire   ニューラル   ネットワーク   リソース   Fann   float   stored   considered   exactly   once   calculated   before   after   since   calculating   require
関連する関数・ページ:
function.fann-test-data   function.fann-get-training-algorithm   function.fann-train-on-data   function.fann-set-training-algorithm   function.fann-create-train   function.fann-get-train-error-function