pykan icon indicating copy to clipboard operation
pykan copied to clipboard

Random seed

Open kamil2oster opened this issue 7 months ago • 0 comments

This pull request addresses the issue with:

  1. KAN, MultKAN and utils set the random seed to be 0, unless argument as int is provided by the user.
  2. The arguments were changed to None as default; In this instance, the init function will set the seed to a random integer [0, 1e3], unless argument as int is provided by the user.
  3. This way the model will allow randomness in the initialisation instead of always using 0. Similar strategies are used in pytorch or sklearn.

kamil2oster avatar Jul 11 '24 10:07 kamil2oster