Deep Learning
good-destiny
这个作者很懒,什么都没留下…
展开
-
TensorFlow入门篇(一):搭建简单的线性拟合例子
环境:Python 3.7 TensorFlow 1.12 numpy 1.15.4 例程: import tensorflow as tf import numpy as np # 随机生成300个随机点 x_data = np.random.rand(300) y_data = x_data*1.23 + 22 # 构建线性模型 b = tf...原创 2018-11-25 21:59:54 · 436 阅读 · 0 评论 -
TensorFlow入门篇(二):线性回归
理论知识:https://www.cnblogs.com/GuoJiaSheng/p/3928160.html 环境:Python 3.7 TensorFlow 1.12 numpy 1.15.4 代码: import tensorflow as tf import numpy as np import matplotlib.pyplot as ...原创 2018-11-26 22:15:18 · 155 阅读 · 0 评论 -
TensorFlow入门篇(三):MNIST数据集简易分类
数据集:http://yann.lecun.com/exdb/mnist/ 环境:Python 3.7 TensorFlow 1.12 numpy 1.15.4 问题:1、增加隐藏层后,效果为何变差? 2、二次代价函数替换成交叉熵代价函数,初期效果提升明显? 代码: import tensorflow as tf fro...原创 2018-11-27 00:19:23 · 318 阅读 · 0 评论