Search code examples
cfann

Fix seed of FANN random generator


Calling fann_seed_rand() or not makes no difference. How can I fix that? Goal is to do the same shuffling every time to test different ANN configurations with fann_shuffle_data().


Solution

  • fann_enable_seed_rand() is the function I was looking for, like @usr2564301 answered.

    It's available with the >= 2.3.0 FANN library