struct fann * fann_init_weights(fann_train_data data);
This function behaves similarly to fann_randomize_weights
.
It will use the algorithm developed by Derrick Nguyen and Bernard Widrow
[Nguyen and Widrow, 1990] to set the weights in such a way as to speed up training.
The algorithm requires access to the range of the input data (ie, largest and smallest input), and therefore accepts a second argument, data, which is the training data that will be used to train the network.
See also: Adjusting Parameters,
fann_randomize_weights
This function appears in FANN >= 1.1.0.