上一个博客已经讲了softmax理论部分,接下来我们就来做个实验,我们有一些手写字体图片(28*28),训练样本(train-images.idx3-ubyte里面的图像对应train-labels.idx1-ubyte)和测试样本(t10k-images.idx3-ubyte里面的图片对应t10k-labels.idx1-ubyte),我们用训练样本训练softmax模型,测试样本用来做测试.数据和下面讲解的程序下载地址:(这里) 我们首先展示下我们训练样本部分的图片和label: 1: im…