Reproductibility - Is there a way to specify the seed number as in Optuna? #169
-
I am using the TPE, GP and NSGA-II samplers. In Optuna, one can specify the seed number for the random number generator, is it possible with Tunny? Otherwise, is there a way to reproduce the results with Tunny? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hi @jessssschiu Tunny can also set the seed value. However, it is not possible from the UI. The settings file is created in the same location as the .gha file, as follows. When opened in a text editor, it looks like this In each algorithm section, there is a seed entry. If it is "null", it is an automatic setting, but you can specify a seed value by entering an integer of your choice. Tunny loads this file when the Tunny UI is launched on Grasshopper and saves the settings in the UI to this file when the Tunny UI is closed. |
Beta Was this translation helpful? Give feedback.
Hi @jessssschiu
Tunny can also set the seed value. However, it is not possible from the UI.
Tunny has a settings file, which can be manipulated to set the seed values.
The Tunny UI reads and writes each value set in this file and reflects the settings in the optimisation.
The settings file is created in the same location as the .gha file, as follows.
When opened in a text editor, it looks like this In each algorithm section, there is a seed entry. If it is "null", it is an automatic setting, but you can specify a seed value by entering an integer of your choice.
Tunny loads this file when the Tunny UI is launched on Grasshopper and saves the settings in the UI to this file when the Tunn…