Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better HTML __repr__ methods #68

Open
nipunbatra opened this issue Mar 11, 2022 · 1 comment
Open

Better HTML __repr__ methods #68

nipunbatra opened this issue Mar 11, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@nipunbatra
Copy link

nipunbatra commented Mar 11, 2022

Hi,
I wanted to check if it would be good to have better HTML repr methods for various tinyGP objects. As an example, I am pasting a screenshot showing the GP object shown in the Jupyter notebook for GPy.

Screenshot 2022-03-11 at 2 54 09 PM

Some of the candidates would be:

  • GP object
  • Conditioned GP object
  • Kernel (which looks fairly good already)

If this makes sense, what first object would you recommend creating HTML repr for? What information would be good to get into the tabular format?

I can have a student make a PR for this if this is interesting.

Here's a minimal example on how someone may want to go ahead with implementing this feature.

Screenshot 2022-03-11 at 3 22 12 PM

@dfm
Copy link
Owner

dfm commented Mar 17, 2022

Nice! I do think it would be good to improve the __repr__, and optionally the _repr_html_ for some of these classes, but it's not super high priority for me. I'd be happy to chat details on a PR!

@dfm dfm added the enhancement New feature or request label Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants