题目太长了!下载地址[传送门] 第1题 简述:识别图片上的数字. import numpy as np import scipy.io as scio import matplotlib.pyplot as plt import scipy.optimize as op #显示图片数据 def displayData(X): m = np.size(X, 0) #X的行数,即样本数量 n = np.size(X, 1) #X的列数,即单个样本大小 example_width = int(np.r…
题目太长了!下载地址[传送门] 第1题 简述:识别图片上的数字. 第1步:读取数据文件: %% Setup the parameters you will use for this part of the exercise input_layer_size = 400; % 20x20 Input Images of Digits num_labels = 10; % 10 labels, from 1 to 10 % (note that we have mapped "0" to…