深度学习
文章平均质量分 68
weiyi99999
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Tensorflow实现Soft Regression识别手写数字完整代码
MNIST是一个非常简单的机器视觉数据集,由几万字28像素*28像素的手写数字组成,只包含灰度信息,我们的任务就是对这些数字图片进行分类。我们采用TensorFlow为我们封装过的一个MNIST。完整代码如下:from tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets("M...原创 2018-06-30 15:53:39 · 198 阅读 · 0 评论 -
TensorFlow基础知识2
import tensorflow as tf #导入 w = tf.Variable([[0.1,1.0]]) #定义变量 x = tf.Variable([[2.0],[1.0]]) y = tf.matmul(w,x) #矩阵乘法 print(w) #输出 print(x) print(y)init_op = tf.global_variables_initializ...原创 2018-07-10 17:52:00 · 183 阅读 · 0 评论 -
TensorFlow实现简单的线性回归模型
TensorFlow实现简单的线性回归模型,有助于理解TensorFlow的结构和构造流程import numpy as np import tensorflow as tf import matplotlib.pyplot as plt #随机生成1000个点,围绕在y=0.1x+0.3直线周围 num_points = 1000 vectors_set = [] for i in range...原创 2018-07-10 19:06:52 · 287 阅读 · 0 评论
分享