human-learn
human-learn copied to clipboard
Adding a tooltip would help make decision on where to draw the line when no labels are available
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.

What do you think? Cheers, Nicolas
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?
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?
@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 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
hulearnwould 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.
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.
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!
Closing due to radio silence.