Settings

Theme

HiPlot: High-dimensional interactive plots made easy

ai.facebook.com

137 points by snippyhollow 6 years ago · 21 comments

Reader

keanzu 6 years ago

We first chose to display only data points obtained after 20 or more epochs of training. Then, by slicing through the “loss” axis, we observed that larger learning rates led to better performance (perplexity). You can reproduce this example here:

https://facebookresearch.github.io/hiplot/_static/demo/ml1.c...

zetaben 6 years ago

Fun fact, in the network and security world, there used to be a tool called picviz that was doing exactly the same kind of things.

https://doc.ubuntu-fr.org/picviz (Sorry I could only find it in French). Seems defunct nowadays.

rckoepke 6 years ago

Reminds me of some charts used by chemical engineers in the age of slide rules. Can anyone help me remember an example?

juliwu 6 years ago

Does anyone know if this can be integrated with tensorboard.

  • sillysaurusx 6 years ago

    Actually yeah, I wrote a script which 1. exports data from tensorboard.dev, then 2. prints it out in csv form that can be dropped into hiplot.

    It was ok. Kind of lost interest when I saw the actual result. You can't smooth the data, so often times it's hard to tell what's going on.

    Here's the awful script. It's specific to my own naming conventions, so it probably won't work for you. But the same idea would work: just parse the tensorboard data and spit it out as csv. https://gist.github.com/shawwn/b74d6e58da6496e2ade02bab61acc...

    I also ran into a bug where multiple different datapoint types were getting merged into one. (It wasn't due to the csv code; the actual CSVs are fine.) I.e. the rows in the csv had a certain column that had a certain value, but in hiplot that column was nowhere to be found.

    Here's what it looks like: https://imgur.com/1n1eDXu

    I deployed an example here: https://hiplot-subsim-demo.now.sh

    Notice that the "run" column shows up in the data, but not in hiplot.

mbostock 6 years ago

Based on a comment buried in the source, this library seems to be heavily based on work by Kai Chang:

http://bl.ocks.org/syntagmatic/3150059

It’s a shame Kai isn’t created in the README, LICENSE, or announcement.

  • gavinray 6 years ago

    And Kai credits previous work from Jason Davies[0] and Mike Bostock[1]. Mike Bostock is the creator of D3.js and ObservableHQ.

    [0] https://bl.ocks.org/jasondavies/1341281

    [1] https://observablehq.com/@d3/parallel-coordinates

    Edit: Just saw your name. Holy shit, it's Mike Bostock.

    On a side tangent, I find it crazy that the New York Times for a long period had yourself, Jeremy Ashkenas, and Rich Harris all on staff. What an all-star team.

    • mstade 6 years ago

      You may already be aware of this, in which case I apologize for stating the obvious, but Mr. Bostock actually authored the comment you replied to. :o)

    • mbostock 6 years ago

      Jeremy’s here at Observable, too!

      • gavinray 6 years ago

        Huge fan of you both. Best wishes, and I get to go home today and tell the missus I engaged in unknowing dialogue with Mike Bostock, about Mike Bostock.

    • kovek 6 years ago

      Mike Bostock (mbostock in this thread), D3.js is awesome!

  • snippyhollowOP 6 years ago

    Thanks for the feedback, we'll fix this.

  • th0pe 6 years ago

    Parallel coordinates as known in d3 world and pointed out by Bostock! :)

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection