Saving search_data during the optimization process #45
-
Hi, Is there anyway to save intermediate results (i.e. data contained within Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello @dthillaithevan, This is a common request! :-) I wrote the search-data-collector for this problem. It can write the search-data in each iteration into csv-files (also works in parallel) or into an sqlite database (new feature, no examples yet). An example for Gradient-Free-Optimizers (with csv-files) can be found here: The search-data can be passed into the next optimization run without any changes. Let me know if you have more questions about this. |
Beta Was this translation helpful? Give feedback.
Hello @dthillaithevan,
This is a common request! :-) I wrote the search-data-collector for this problem. It can write the search-data in each iteration into csv-files (also works in parallel) or into an sqlite database (new feature, no examples yet).
An example for Gradient-Free-Optimizers (with csv-files) can be found here:
https://github.com/SimonBlanke/search-data-collector/blob/main/examples/append_data_gradient_free_optimizers.py
The search-data can be passed into the next optimization run without any changes.
Let me know if you have more questions about this.