fann_create_train
(PECL fann >= 1.0.0)
fann_create_train — Creates an empty training data struct
説明
fann_create_train
( int $num_data
, int $num_input
, int $num_output
) : resource
Creates an empty training data struct.
パラメータ
num_data
- The number of training data
num_input
- The number of inputs per training data
num_output
- The number of ouputs per training data
返り値
成功した場合にニューラルネットワークトレーニングリソース、エラー時に false
を返します。
注意
注意:
この関数は、fann拡張機能が libfann > 2.2 以上でビルドされている場合にだけ利用可能です。
参考
- fann_read_train_from_file() - Reads a file that stores training data
- fann_train_on_data() - Trains on an entire dataset for a period of time
- fann_destroy_train() - Destructs the training data
- fann_save_train() - Save the training structure to a file