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

Adding a tooltip would help make decision on where to draw the line when no labels are available #47

Closed
nbeuchat opened this issue Jan 14, 2021 · 7 comments

Comments

@nbeuchat
Copy link

Hey there! Human learn has been super helpful so far. One thing I am a bit missing is the ability to see some of the underlying data about each data point. It would be very helpful to have a tooltip and having the option to pick a list of columns from the data frame to see in the tooltip.

Right now, I am using Plotly separately to do that which allows me to more easily explore clusters. Then I try to find this cluster and draw on it.

Screenshot 2021-01-14 19:22:32

What do you think?
Cheers,
Nicolas

@nbeuchat
Copy link
Author

Looks like Bokeh has this option: https://github.com/bokeh/bokeh/blob/43ff5af6f666cbf4d1ed1c26c7a128e9b10cd86c/examples/app/movies/main.py#L54

Maybe one simple option would be to allow passing down kwargs to bokeh figure method?

@phurwicz
Copy link

phurwicz commented Jan 17, 2021

I'm happy to delete my comment if it cuts the discussion away.. but perhaps this can help?

The annotation interface of hover does almost exactly what you are looking for (identifying clusters with tooltips, especially without existing labels), except that instead of making a model like in hulearn you just apply a label of your choice.

What I suggest is that you can potentially use hulearn and hover side by side with the same set of xy-coordinates. Get labels on the fly with hover and then create models with hulearn -- how does that sound?

@nbeuchat
Copy link
Author

@phurwicz Thank you very much for the link to hover, I didn't know this tool. It looks like a really good interface for bulk adding labels. I'll give it a shot now!

I still think having the tooltip in hulearn would be great so as to avoid having to add an extra step if it is not necessary.

@phurwicz
Copy link

@phurwicz Thank you very much for the link to hover, I didn't know this tool. It looks like a really good interface for bulk adding labels. I'll give it a shot now!

I still think having the tooltip in hulearn would be great so as to avoid having to add an extra step if it is not necessary.

Agreed! Showing custom tooltips can be tricky but is definitely worth it.

Here's an my implementation if it helps bringing tooltips to hulearn.

This was referenced Jan 18, 2021
@koaning
Copy link
Owner

koaning commented Feb 6, 2021

Apologies! For some reason, GitHub wasn't notifying me of these messages. I only just now realized this conversation was happening. Am reviewing a PR right now though to get this feature in.

@nbeuchat
Copy link
Author

nbeuchat commented Feb 6, 2021

No worries at all! It's awesome that someone took the time to open a PR for it, looking forward to trying it once/if it's merged!

@koaning
Copy link
Owner

koaning commented Sep 4, 2022

Closing due to radio silence.

@koaning koaning closed this as completed Sep 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants