« fann_run
fann_save_train »

fann_save

(PECL fann >= 1.0.0)

fann_save — Saves the entire network to a configuration file

説明

function fann_save(resource $ann, string $configuration_file): bool

Saves the entire network to a configuration file.

The configuration file contains all information about the neural network and enables fann_create_from_file() to create an exact copy of the neural network and all of the parameters associated with the neural network.

These three parameters (fann_set_callback(), fann_set_error_log(), fann_set_user_data()) are NOT saved to the file because they cannot safely be ported to a different location. Also temporary parameters generated during training like fann_get_MSE() is not saved.

パラメータ

ann

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

configuration_file

The configuration file path.

戻り値

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

参考

関連キーワード:
fann   configuration   network   Saves   entire   save   neural   create   parameters   saved   train   Fann   resource   contains   information   about   enables   exact   copy   associated   These   three   callback   user   because
関連する関数・ページ:
function.fann-create-from-file   function.fann-get-network-type   function.fann-run   function.fann-get-connection-array   function.fann-get-num-layers   function.fann-set-weight-array