摘要: 实践反作用于理论 一、概论。 全连接NN:每个神经元与前后相邻层的每一个神经元都有连接关系,输入是特征,输出为预测的结果,参数的个数:∑( 前层 X 后层 + 后层 ) 为防止过拟合,实际应用中会先对原始图像进行特征提取,在把提取到的特征喂给全连接网络, 卷积(Convolutional):可认为是 阅读全文
posted @ 2019-03-01 20:54 bear_ge 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 1 import tensorflow as tf; 2 from tensorflow.examples.tutorials.mnist import input_data 3 4 ##定义网络结构 5 input_nodes = 784 6 output_nodes = 10 7 layer1_nodes = 500 8 #定义超参数 9 #自动设置学... 阅读全文
posted @ 2019-03-01 11:51 bear_ge 阅读(152) 评论(0) 推荐(0) 编辑