fann_cascadetrain_on_file - Trains on an entire dataset read from file, for a period of time using the Cascade2 training algorithm.
Вернуться к: Fann Функции
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.
Описание
$ann
, string $filename
, int $max_neurons
, int $neurons_between_reports
, float $desired_error
)Does the same as fann_cascadetrain_on_data(), but reads the training data directly from a file.
Список параметров
-
ann
-
Ресурс (resource) нейронной сети.
-
filename
-
The maximum number of neurons to be added to neural network
-
max_neurons
-
The number of neurons between printing a status report to stdout. A value of zero means no reports should be printed.
-
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_train_on_data() - Trains on an entire dataset for a period of time
- fann_cascadetrain_on_data() - Trains on an entire dataset, for a period of time using the Cascade2 training algorithm
Вернуться к: Fann Функции