From 02e8db44b173c15a08d2740a0634b84f96bb5625 Mon Sep 17 00:00:00 2001 From: daminglu Date: Tue, 3 Jul 2018 17:14:37 -0700 Subject: [PATCH] use HTML table to fix the markdown table bug --- .../quick_start/fit_a_line/README.cn.md | 98 ++++++++++++++++--- .../quick_start/recognize_digits/README.cn.md | 38 +++++-- 2 files changed, 114 insertions(+), 22 deletions(-) diff --git a/doc/fluid/new_docs/beginners_guide/quick_start/fit_a_line/README.cn.md b/doc/fluid/new_docs/beginners_guide/quick_start/fit_a_line/README.cn.md index 605ed44f6e2..41a14ad5801 100644 --- a/doc/fluid/new_docs/beginners_guide/quick_start/fit_a_line/README.cn.md +++ b/doc/fluid/new_docs/beginners_guide/quick_start/fit_a_line/README.cn.md @@ -52,22 +52,88 @@ $$MSE=\frac{1}{n}\sum_{i=1}^{n}{(\hat{Y_i}-Y_i)}^2$$ ### 数据集介绍 这份数据集共506行,每行包含了波士顿郊区的一类房屋的相关信息及该类房屋价格的中位数。其各维属性的意义如下: -| 属性名 | 解释 | 类型 | -| ------| ------ | ------ | -| CRIM | 该镇的人均犯罪率 | 连续值 | -| ZN | 占地面积超过25,000平方呎的住宅用地比例 | 连续值 | -| INDUS | 非零售商业用地比例 | 连续值 | -| CHAS | 是否邻近 Charles River | 离散值,1=邻近;0=不邻近 | -| NOX | 一氧化氮浓度 | 连续值 | -| RM | 每栋房屋的平均客房数 | 连续值 | -| AGE | 1940年之前建成的自用单位比例 | 连续值 | -| DIS | 到波士顿5个就业中心的加权距离 | 连续值 | -| RAD | 到径向公路的可达性指数 | 连续值 | -| TAX | 全值财产税率 | 连续值 | -| PTRATIO | 学生与教师的比例 | 连续值 | -| B | 1000(BK - 0.63)^2,其中BK为黑人占比 | 连续值 | -| LSTAT | 低收入人群占比 | 连续值 | -| MEDV | 同类房屋价格的中位数 | 连续值 | +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Attribute NameCharacteristicData Type
CRIMper capita crime rate by townContinuous
ZNproportion of residential land zoned for lots over 25,000 sq.ft.Continuous
INDUSproportion of non-retail business acres per townContinuous
CHASCharles River dummy variableDiscrete, 1 if tract bounds river; 0 otherwise
NOXnitric oxides concentration (parts per 10 million)Continuous
RMaverage number of rooms per dwellingContinuous
AGEproportion of owner-occupied units built prior to 1940Continuous
DISweighted distances to five Boston employment centresContinuous
RADindex of accessibility to radial highwaysContinuous
TAXfull-value property-tax rate per $10,000Continuous
PTRATIOpupil-teacher ratio by townContinuous
B1000(Bk - 0.63)^2 where Bk is the proportion of blacks by townContinuous
LSTAT% lower status of the populationContinuous
MEDVMedian value of owner-occupied homes in $1000'sContinuous
+

### 数据预处理 #### 连续值与离散值 diff --git a/doc/fluid/new_docs/beginners_guide/quick_start/recognize_digits/README.cn.md b/doc/fluid/new_docs/beginners_guide/quick_start/recognize_digits/README.cn.md index 21c51c7d61f..136c739b202 100644 --- a/doc/fluid/new_docs/beginners_guide/quick_start/recognize_digits/README.cn.md +++ b/doc/fluid/new_docs/beginners_guide/quick_start/recognize_digits/README.cn.md @@ -107,12 +107,38 @@ Softmax回归模型采用了最简单的两层神经网络,即只有输入层 PaddlePaddle在API中提供了自动加载[MNIST](http://yann.lecun.com/exdb/mnist/)数据的模块`paddle.dataset.mnist`。加载后的数据位于`/home/username/.cache/paddle/dataset/mnist`下: -| 文件名称 | 说明 | -|-------------------------|----------------------------| -| train-images-idx3-ubyte | 训练数据图片,60,000条数据 | -| train-labels-idx1-ubyte | 训练数据标签,60,000条数据 | -| t10k-images-idx3-ubyte | 测试数据图片,10,000条数据 | -| t10k-labels-idx1-ubyte | 测试数据标签,10,000条数据 | +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
File nameDescriptionSize
train-images-idx3-ubyteTraining images60,000
train-labels-idx1-ubyteTraining labels60,000
t10k-images-idx3-ubyteEvaluation images10,000
t10k-labels-idx1-ubyteEvaluation labels10,000
+

## Fluid API 概述 -- GitLab