DistrictDataLabs / yellowbrick

Visual analysis and diagnostic tools to facilitate machine learning model selection.
http://www.scikit-yb.org/
Apache License 2.0
4.28k stars 557 forks source link

Add whiskers and densities to RadViz to show "pull-force" #255

Open amontilla0 opened 7 years ago

amontilla0 commented 7 years ago

These are a couple examples to add to the radviz visualization. That way it could be easier to see the "pull-force" from every direction

http://docs.orange.biolab.si/2/widgets/rst/visualize/radviz.html

Hope it helps!

Best, Abe

ndanielsen commented 7 years ago

@bbengfort created the radviz, I'll defer to him on it

bbengfort commented 7 years ago

@amontilla0 this is absolutely a great idea! I've labeled it and added it to our backlog; I think this would really enhance the RadViz visualizer!

You mentioned the whiskers, which look like the following:

radviz-brown-springs

They are referred to as "springs" in the link you submitted. They basically are a line segment from the center of the point out toward a halo around the point that is 1pt in diameter; the direction of the linesegment is toward the axis label on the unit circle and the length corresponds to that component's relative magnitude (or the percent force attributed to it).

Another graph mentioned uses probabilities to display a density map as follows:

radviz-brown

This would also be very interesting to add to RadViz.

Finally, there are other items the link talks about that we could add to our visualization like jitter (to reduce the amount of overlap) and scaling to change the size and shape of the points (we currently use opacity) that might make these visualizations easier to interpret.

Thank you very much for submitting this! We're always looking for great ideas like this one!

cchanning commented 5 years ago

@bbengfort would implementing this feature require crazy levels of effort?

bbengfort commented 5 years ago

Hi @cchanning - I don't really know the level of effort involved, but even just a proof of concept prototype script posted here as a gist would go a long way toward us adding the feature and would be extremely helpful. Would you be willing to take a go at it if it was framed that way?