提交 02e8db44 编写于 作者: D daminglu

use HTML table to fix the markdown table bug

上级 db03a670
...@@ -52,22 +52,88 @@ $$MSE=\frac{1}{n}\sum_{i=1}^{n}{(\hat{Y_i}-Y_i)}^2$$ ...@@ -52,22 +52,88 @@ $$MSE=\frac{1}{n}\sum_{i=1}^{n}{(\hat{Y_i}-Y_i)}^2$$
### 数据集介绍 ### 数据集介绍
这份数据集共506行,每行包含了波士顿郊区的一类房屋的相关信息及该类房屋价格的中位数。其各维属性的意义如下: 这份数据集共506行,每行包含了波士顿郊区的一类房屋的相关信息及该类房屋价格的中位数。其各维属性的意义如下:
| 属性名 | 解释 | 类型 | <p align="center">
| ------| ------ | ------ | <table>
| CRIM | 该镇的人均犯罪率 | 连续值 | <thead>
| ZN | 占地面积超过25,000平方呎的住宅用地比例 | 连续值 | <tr>
| INDUS | 非零售商业用地比例 | 连续值 | <th>Attribute Name</th>
| CHAS | 是否邻近 Charles River | 离散值,1=邻近;0=不邻近 | <th>Characteristic</th>
| NOX | 一氧化氮浓度 | 连续值 | <th>Data Type</th>
| RM | 每栋房屋的平均客房数 | 连续值 | </tr>
| AGE | 1940年之前建成的自用单位比例 | 连续值 | </thead>
| DIS | 到波士顿5个就业中心的加权距离 | 连续值 | <tbody>
| RAD | 到径向公路的可达性指数 | 连续值 | <tr>
| TAX | 全值财产税率 | 连续值 | <td>CRIM</td>
| PTRATIO | 学生与教师的比例 | 连续值 | <td>per capita crime rate by town</td>
| B | 1000(BK - 0.63)^2,其中BK为黑人占比 | 连续值 | <td>Continuous</td>
| LSTAT | 低收入人群占比 | 连续值 | </tr>
| MEDV | 同类房屋价格的中位数 | 连续值 | <tr>
<td>ZN</td>
<td>proportion of residential land zoned for lots over 25,000 sq.ft.</td>
<td>Continuous</td>
</tr>
<tr>
<td>INDUS</td>
<td>proportion of non-retail business acres per town</td>
<td>Continuous</td>
</tr>
<tr>
<td>CHAS</td>
<td>Charles River dummy variable</td>
<td>Discrete, 1 if tract bounds river; 0 otherwise</td>
</tr>
<tr>
<td>NOX</td>
<td>nitric oxides concentration (parts per 10 million)</td>
<td>Continuous</td>
</tr>
<tr>
<td>RM</td>
<td>average number of rooms per dwelling</td>
<td>Continuous</td>
</tr>
<tr>
<td>AGE</td>
<td>proportion of owner-occupied units built prior to 1940</td>
<td>Continuous</td>
</tr>
<tr>
<td>DIS</td>
<td>weighted distances to five Boston employment centres</td>
<td>Continuous</td>
</tr>
<tr>
<td>RAD</td>
<td>index of accessibility to radial highways</td>
<td>Continuous</td>
</tr>
<tr>
<td>TAX</td>
<td>full-value property-tax rate per $10,000</td>
<td>Continuous</td>
</tr>
<tr>
<td>PTRATIO</td>
<td>pupil-teacher ratio by town</td>
<td>Continuous</td>
</tr>
<tr>
<td>B</td>
<td>1000(Bk - 0.63)^2 where Bk is the proportion of blacks by town</td>
<td>Continuous</td>
</tr>
<tr>
<td>LSTAT</td>
<td>% lower status of the population</td>
<td>Continuous</td>
</tr>
<tr>
<td>MEDV</td>
<td>Median value of owner-occupied homes in $1000's</td>
<td>Continuous</td>
</tr></tbody>
</table>
</p>
### 数据预处理 ### 数据预处理
#### 连续值与离散值 #### 连续值与离散值
......
...@@ -107,12 +107,38 @@ Softmax回归模型采用了最简单的两层神经网络,即只有输入层 ...@@ -107,12 +107,38 @@ Softmax回归模型采用了最简单的两层神经网络,即只有输入层
PaddlePaddle在API中提供了自动加载[MNIST](http://yann.lecun.com/exdb/mnist/)数据的模块`paddle.dataset.mnist`。加载后的数据位于`/home/username/.cache/paddle/dataset/mnist`下: PaddlePaddle在API中提供了自动加载[MNIST](http://yann.lecun.com/exdb/mnist/)数据的模块`paddle.dataset.mnist`。加载后的数据位于`/home/username/.cache/paddle/dataset/mnist`下:
| 文件名称 | 说明 | <p align="center">
|-------------------------|----------------------------| <table>
| train-images-idx3-ubyte | 训练数据图片,60,000条数据 | <thead>
| train-labels-idx1-ubyte | 训练数据标签,60,000条数据 | <tr>
| t10k-images-idx3-ubyte | 测试数据图片,10,000条数据 | <th>File name</th>
| t10k-labels-idx1-ubyte | 测试数据标签,10,000条数据 | <th>Description</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>train-images-idx3-ubyte</td>
<td>Training images</td>
<td>60,000</td>
</tr>
<tr>
<td>train-labels-idx1-ubyte</td>
<td>Training labels</td>
<td>60,000</td>
</tr>
<tr>
<td>t10k-images-idx3-ubyte</td>
<td>Evaluation images</td>
<td>10,000</td>
</tr>
<tr>
<td>t10k-labels-idx1-ubyte</td>
<td>Evaluation labels</td>
<td>10,000</td>
</tr></tbody>
</table>
</p>
## Fluid API 概述 ## Fluid API 概述
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册