« fann_cascadetrain_on_data
fann_clear_scaling_params »

fann_cascadetrain_on_file

(PECL fann >= 1.0.0)

fann_cascadetrain_on_file — Trains on an entire dataset read from file, for a period of time using the Cascade2 training algorithm

説明

function fann_cascadetrain_on_file(
    resource $ann,
    string $filename,
    int $max_neurons,
    int $neurons_between_reports,
    float $desired_error
): bool

Does the same as fann_cascadetrain_on_data(), but reads the training data directly from a file.

パラメータ

ann

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

filename

A file containing the data for training.

max_neurons

The maximum number of neurons to be added to neural network

neurons_between_reports

The number of neurons between printing a status report. A value of zero means no reports should be printed.

desired_error

The desired fann_get_MSE() or fann_get_bit_fail(), depending on which stop function is chosen by fann_set_train_stop_function().

戻り値

成功した場合に true、それ以外の場合に false を返します。

参考

関連キーワード:
fann   training   cascadetrain   neurons   Trains   entire   dataset   period   time   using   Cascade   algorithm   read   between   reports   desired   filename   number   stop   train   clear   scaling   params   Fann   resource
関連する関数・ページ:
function.fann-cascadetrain-on-data   function.fann-train-on-file   function.fann-train-on-data   function.fann-set-callback   function.fann-test-data   function.fann-get-training-algorithm