cmu-db / ottertune

The automatic DBMS configuration tool
Other
1.22k stars 311 forks source link

make session hyperparameters editable on the website #333

Closed yangdsh closed 4 years ago

yangdsh commented 4 years ago

Moved hyperparameters from constants.py to a field in sessions. Those hyperparameters can be edited on the website and can be different for each session.

The hyperparameter "run_every" and "enable_dummy_encoder" are used in periodic_task.py. They are expected to be global and making them editable in any session would be confusing. So they are still loaded from constants.py.

I have tested it with DDPG, GPR, and DNN.