Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

support for displaying tuned hyperparameters #26

Open
hirzel opened this issue Apr 26, 2021 · 1 comment
Open

support for displaying tuned hyperparameters #26

hirzel opened this issue Apr 26, 2021 · 1 comment

Comments

@hirzel
Copy link
Member

hirzel commented Apr 26, 2021

After running an optimizer for joint operator selection and hyperparameter tuning, users typically want to display the results of that tuning. To see the tuned hyperparameters, in Lale, users typically call pretty_print. This prints out Python code for re-creating that exact pipeline, as demonstrated in this notebook.

A first solution would be to simply wrap Lale's pretty-print method in Julia. However, that would print Python code, and it would be nicer to print Julia code instead. So a second solution could be to make the existing pretty-print method more general, perhaps with another supported value for the as_type argument, so users can write pretty_print(as_type="julia"). A third solution could be to re-implement the pretty-print method for Julia in Julia, probably starting from the result of the to_json method. For either the second or the third option, it would be great to have good test coverage, along the lines of the Python pretty-print tests.

@ppalmes
Copy link
Collaborator

ppalmes commented May 20, 2021

pretty_print ipython_display does not render in julia notebook. it seems that it is specific to ipython interpreter.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants