吴恩达机器学习python实现3 多元分类及前馈神经网络
多元分类1、从images中随机选取numbers张图片def randomly_select(images, numbers): m, n = images.shape[0], images.shape[1] res = np.zeros((1, n)) for i in range(numbers): index = random.randint(0, m - 1) res = np.concatenate((res, images[in