Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
book
提交
34c281a0
B
book
项目概览
PaddlePaddle
/
book
通知
16
Star
4
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
40
列表
看板
标记
里程碑
合并请求
37
Wiki
5
Wiki
分析
仓库
DevOps
项目成员
Pages
B
book
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
40
Issue
40
列表
看板
标记
里程碑
合并请求
37
合并请求
37
Pages
分析
分析
仓库分析
DevOps
Wiki
5
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
34c281a0
编写于
7月 11, 2019
作者:
X
xiaoting
提交者:
lvmengsi
7月 11, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
mv import __future to begging of file (#772)
mv import __future to begging of file
上级
f3bc752a
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
8 addition
and
8 deletion
+8
-8
01.fit_a_line/README.cn.md
01.fit_a_line/README.cn.md
+1
-1
01.fit_a_line/README.md
01.fit_a_line/README.md
+1
-1
01.fit_a_line/index.cn.html
01.fit_a_line/index.cn.html
+1
-1
01.fit_a_line/index.html
01.fit_a_line/index.html
+1
-1
02.recognize_digits/README.cn.md
02.recognize_digits/README.cn.md
+1
-1
02.recognize_digits/README.md
02.recognize_digits/README.md
+1
-1
02.recognize_digits/index.cn.html
02.recognize_digits/index.cn.html
+1
-1
02.recognize_digits/index.html
02.recognize_digits/index.html
+1
-1
未找到文件。
01.fit_a_line/README.cn.md
浏览文件 @
34c281a0
...
...
@@ -123,12 +123,12 @@ $\hat{Y}$ 表示模型的预测结果,用来和真实值$Y$区分。模型要
### 配置数据提供器(Datafeeder)
首先我们引入必要的库:
```
python
from
__future__
import
print_function
import
paddle
import
paddle.fluid
as
fluid
import
numpy
import
math
import
sys
from
__future__
import
print_function
```
我们通过uci_housing模块引入了数据集合
[
UCI Housing Data Set
](
http://paddlemodels.bj.bcebos.com/uci_housing/housing.data
)
...
...
01.fit_a_line/README.md
浏览文件 @
34c281a0
...
...
@@ -125,12 +125,12 @@ In a more complex model training process, we often need more than one dataset: t
First we import the libraries:
```
python
from
__future__
import
print_function
import
paddle
import
paddle.fluid
as
fluid
import
numpy
import
math
import
sys
from
__future__
import
print_function
```
We introduced the dataset
[
UCI Housing dataset
](
http://paddlemodels.bj.bcebos.com/uci_housing/housing.data
)
via the uci_housing module
...
...
01.fit_a_line/index.cn.html
浏览文件 @
34c281a0
...
...
@@ -165,12 +165,12 @@ $\hat{Y}$ 表示模型的预测结果,用来和真实值$Y$区分。模型要
### 配置数据提供器(Datafeeder)
首先我们引入必要的库:
```python
from __future__ import print_function
import paddle
import paddle.fluid as fluid
import numpy
import math
import sys
from __future__ import print_function
```
我们通过uci_housing模块引入了数据集合[UCI Housing Data Set](http://paddlemodels.bj.bcebos.com/uci_housing/housing.data)
...
...
01.fit_a_line/index.html
浏览文件 @
34c281a0
...
...
@@ -167,12 +167,12 @@ In a more complex model training process, we often need more than one dataset: t
First we import the libraries:
```python
from __future__ import print_function
import paddle
import paddle.fluid as fluid
import numpy
import math
import sys
from __future__ import print_function
```
We introduced the dataset [UCI Housing dataset](http://paddlemodels.bj.bcebos.com/uci_housing/housing.data) via the uci_housing module
...
...
02.recognize_digits/README.cn.md
浏览文件 @
34c281a0
...
...
@@ -183,13 +183,13 @@ PaddlePaddle在API中提供了自动加载[MNIST](http://yann.lecun.com/exdb/mni
加载 PaddlePaddle 的 Fluid API 包。
```
python
from
__future__
import
print_function
# 将python3中的print特性导入当前版本
import
os
from
PIL
import
Image
# 导入图像处理模块
import
matplotlib.pyplot
as
plt
import
numpy
import
paddle
# 导入paddle模块
import
paddle.fluid
as
fluid
from
__future__
import
print_function
# 将python3中的print特性导入当前版本
```
### Program Functions 配置
...
...
02.recognize_digits/README.md
浏览文件 @
34c281a0
...
...
@@ -162,13 +162,13 @@ In the code examples below, we'll take a closer look at them.
Load the Fluid API package for PaddlePaddle.
```
python
from
__future__
import
print_function
#load print of python3 into current version
import
os
from
PIL
import
Image
# load module of image processing
import
matplotlib.pyplot
as
plt
import
numpy
import
paddle
# load paddle module
import
paddle.fluid
as
fluid
from
__future__
import
print_function
#load print of python3 into current version
```
### Program Functions Configuration
...
...
02.recognize_digits/index.cn.html
浏览文件 @
34c281a0
...
...
@@ -225,13 +225,13 @@ PaddlePaddle在API中提供了自动加载[MNIST](http://yann.lecun.com/exdb/mni
加载 PaddlePaddle 的 Fluid API 包。
```python
from __future__ import print_function # 将python3中的print特性导入当前版本
import os
from PIL import Image # 导入图像处理模块
import matplotlib.pyplot as plt
import numpy
import paddle # 导入paddle模块
import paddle.fluid as fluid
from __future__ import print_function # 将python3中的print特性导入当前版本
```
### Program Functions 配置
...
...
02.recognize_digits/index.html
浏览文件 @
34c281a0
...
...
@@ -204,13 +204,13 @@ In the code examples below, we'll take a closer look at them.
Load the Fluid API package for PaddlePaddle.
```python
from __future__ import print_function #load print of python3 into current version
import os
from PIL import Image # load module of image processing
import matplotlib.pyplot as plt
import numpy
import paddle # load paddle module
import paddle.fluid as fluid
from __future__ import print_function #load print of python3 into current version
```
### Program Functions Configuration
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录