摘要: 生成shape为(num_examples, num_inputs),符合0-1分布的数据. np.random.normal(0, 1, (num_examples, num_inputs)) 判断两个ndarray是否近似 https://docs.scipy.org/doc/numpy/ref 阅读全文
posted @ 2019-12-19 21:44 core! 阅读(439) 评论(0) 推荐(0) 编辑
摘要: 计算数据集的mean和std 阅读全文
posted @ 2019-12-19 18:50 core! 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 消除图像共性:https://blog.csdn.net/qq_19329785/article/details/84569604 基本在deep learning中只要你是使用gradient descent来训练模型的话都要在数据预处理步骤进行数据归一化。为什么要采用这种预处理方式呢?首先如果输 阅读全文
posted @ 2019-12-19 16:21 core! 阅读(839) 评论(0) 推荐(0) 编辑