随笔分类 - TensorFlow
摘要:1.安装Anaconda "官网下载地址" 我默认全打勾 导入conda清华源,加快下载速度 conda config –add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config –set s
阅读全文
摘要:代码部分 python import tensorflow as tf import tensorflow.contrib as rnn 引入RNN form tensorflow.examples.tutorials.mnist import input_data mnist = input_da
阅读全文
摘要:```python
from tensorflow.contrib import rnn
form tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets("data/", one_hot=True)
#定义参数
batch_size = 128
#定义训练数据
x = tf.p...
阅读全文
摘要:
```python
# -*- coding: UTF-8 -*-
import tensorflow as tf
import tensorflow.examples.tutorials.mnist.input_data ad input_data
mnist = input_data.read_data_...
阅读全文
摘要:概念: 对时间序列上的变化进行建模的一种神经网络 优点: 基于之前的运行结果或者时间点,进行当前的预测 基础
阅读全文
摘要:卷积神经网络 优点:CNN可以得出原始图像的有效表征,通过极少的预处理,识别视觉上的规律。 适用领域:语音识别、图像识别 结构分类:特征提取层、特征映射层
阅读全文
摘要:TensorFlow实现一元线性回归模型 y = w x + b; 1.假设一个线性回归模型 h(x) = 3 x + 5; 2.判断这个假设线性回归模型对不对 3 1 + 5 = 8 代价函数:均方差 ((8 3)的平方 + (11 5.1)的平方+(14 6.99)的平方)/ 2 3 3.判断这
阅读全文