【发布时间】:2017-06-10 02:31:53
【问题描述】:
我想绘制神经网络分类任务的 softmax 概率,类似于下图
但是,我在SO 和matplotlib 的文档页面上找到的大部分代码都使用直方图。
例子:
plotting histograms whose bar heights sum to 1 in matplotlib
Python: matplotlib - probability mass function as histogram
http://matplotlib.org/gallery.html
但它们都不符合我在该情节中想要实现的目标。非常感谢代码和示例图。
【问题讨论】:
标签: python matplotlib softmax