Neuraxle icon indicating copy to clipboard operation
Neuraxle copied to clipboard

Feature: Observable hyperparameter repositories (including the OnDisk repo) to refresh UI

Open guillaume-chevalier opened this issue 4 years ago • 4 comments

Is your feature request related to a problem? Please describe. The repos should be able to notify some observers of themselves. Some repos may run on different machines and processes, at the same time, yet must be synchronized.

Describe the solution you'd like A subscribe and notify for trials when they are updated.

Describe alternatives you've considered CPU Sockets or Web Sockets. It would be too complicated. Better have each repo handle themselves the way they want. The InMemory will be easy. The OnDisk will be hard.

Additional context See also: https://github.com/Neuraxio/Neuraxle-TensorFlow/issues/7

guillaume-chevalier avatar Aug 04 '20 09:08 guillaume-chevalier

update: the in memory observer/subscriber exists since at least 0.5.6. The OnDisk is not.

vincent-antaki avatar Feb 25 '21 20:02 vincent-antaki

update: things are more complicated than this in distributed environments, such as when using a database repo and remote dashboard. This might require deleting the observer class and using something more similar to an audit trail to track every change chronologically and be able to re-order them.

guillaume-chevalier avatar Nov 12 '21 14:11 guillaume-chevalier

Todo: move file neuraxle/metaopt/observable.py to the repositories' file, and rename db_hp_repo.py to db_repo.py

guillaume-chevalier avatar Apr 18 '22 18:04 guillaume-chevalier

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in the next 180 days. Thank you for your contributions.

stale[bot] avatar Oct 21 '23 04:10 stale[bot]