dfm / dfm/tinygp

Better HTML __repr__ methods

Open
#68 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
349
Forks
35
Avg merge
2d 2h
Merged PRs (30d)
1

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the minimal example and the existing HTML representations for the GP, Conditioned GP, and Kernel objects in a Jupyter notebook. Decide which object should be addressed first and what information belongs in its tabular display; completion would be a defined and implemented HTML repr with an agreed presentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.