Understanding histogram summary plot in Tensorboard

5,476 views
Skip to first unread message

jao...@gmail.com

unread,
Nov 10, 2015, 5:12:21 PM11/10/15
to Discuss
Hi all,

How to read the histogram summary plot in tensorboard ? For example, in the cifar10 tutorial, it plots the histogram of the convolution weight and biase but I don't understand the meaning of all these lines. Especially, what is meaning of the Y-axis of the plot ?

Jao

Dan Mané

unread,
Nov 11, 2015, 10:08:16 PM11/11/15
to jao...@gmail.com, Discuss
Hi Jao,

Great question, it's not well documented at the moment :) Right now, the way we visualize histograms is by showing where different %iles are distributed in the data. So the darkest line in the center shows the median of the data, the next line up shows the 68th percentile, the next line up shows the 95th percentile, the next line up shows the 99.7th percentile, and the final line (with the very faint shading) shows the maximum of the data (the 100th percentile).

We're planning to add a crosshair display that will annotate this so it's easier to understand. In the medium term, we want to shift away from showing percentile summary statistics, and show the actual probability density function instead. The percentile approach has a few disadvantages, for example if your data distribution is bimodal it does a bad job visualizing it.

Dan

--
You received this message because you are subscribed to the Google Groups "Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss+u...@tensorflow.org.
To post to this group, send email to dis...@tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/discuss/070537be-4b2d-4c71-b985-b778874a7c0c%40tensorflow.org.

qin...@gmail.com

unread,
May 19, 2016, 2:55:22 AM5/19/16
to Discuss, jao...@gmail.com
I am sorry that I still don't understand what you say, is there a documnet now. I can't find it, so you can tell me more about it?

在 2015年11月12日星期四 UTC+8上午11:08:16,danmane写道:

Jaonary Rabarisoa

unread,
May 19, 2016, 3:07:57 AM5/19/16
to qin...@gmail.com, Discuss
Hi,


Jao

qin...@gmail.com

unread,
May 19, 2016, 4:10:11 AM5/19/16
to Discuss, qin...@gmail.com, jao...@gmail.com

thanks!!!

在 2016年5月19日星期四 UTC+8下午3:07:57,Jaonary Rabarisoa写道:

Charlos Parker

unread,
Jul 1, 2016, 12:09:49 PM7/1/16
to Discuss, jao...@gmail.com, bran...@mit.edu

Is it possible to request a picture example of what your talking about? What does "the darkest line" mean? What plots are you referring to?

lethi...@gmail.com

unread,
Jul 20, 2016, 4:55:30 AM7/20/16
to Discuss, jao...@gmail.com
Hi,

I have another question about the quantile "histogram". I see that we can plot almost everything (W, dW, b, db,...).

But what is in it actually ? Knowing that b is a vector, W is a matrix. I assumed that Tensorflow has calculated the norm (L2 et Frobenius) of these tensors to view their evolution through time, right ?

Of course, a probability density function is more than welcome than just a quantile region....

Thanks,
Hoa

Martin Wicke

unread,
Jul 20, 2016, 11:15:33 AM7/20/16
to lethi...@gmail.com, Discuss, jao...@gmail.com
While you can do that, a histogram summary will simply show the mean and quantiles for the values in whatever you're summarizing.

lethi...@gmail.com

unread,
Jul 21, 2016, 3:28:00 AM7/21/16
to Discuss, lethi...@gmail.com, jao...@gmail.com
sorry but W is a matrix, multidimension. How can you just plot something like mean and quantiles of a matrix ?

lethi...@gmail.com

unread,
Jul 21, 2016, 6:08:35 AM7/21/16
to Discuss, lethi...@gmail.com, jao...@gmail.com
I think the essential point is that W and b in the Histogram TensorBoard points out just the final step Regression of Neural Network.

W and b here are just scalars.

It is not at all the same thing W matrix and b vectors like in the literatures (Yoshua Bengio, G. Hinton, Y. Lecun, Mikolov,....)

Martin Wicke

unread,
Jul 21, 2016, 1:04:42 PM7/21/16
to lethi...@gmail.com, Discuss, jao...@gmail.com
You take the values of the matrix and compute a distribution. Then you bin that distribution and you have your histogram.

Reply all
Reply to author
Forward
0 new messages