pykan
pykan copied to clipboard
Random seed
This pull request addresses the issue with:
- KAN, MultKAN and utils set the random seed to be 0, unless argument as int is provided by the user.
- 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.
- This way the model will allow randomness in the initialisation instead of always using 0. Similar strategies are used in pytorch or sklearn.