|
1 |
| -# Project 1: Model Evaluation & Validation |
2 |
| -## Predicting Boston Housing Prices |
| 1 | +# 项目1:模型评估与验证 |
| 2 | +## 波士顿房价预测 |
3 | 3 |
|
4 |
| -### Install |
| 4 | +### 准备工作 |
5 | 5 |
|
6 |
| -This project requires **Python 2.7** and the following Python libraries installed: |
| 6 | +这个项目需要安装**Python 2.7**和以下的Python函数库: |
7 | 7 |
|
8 | 8 | - [NumPy](http://www.numpy.org/)
|
9 | 9 | - [matplotlib](http://matplotlib.org/)
|
10 | 10 | - [scikit-learn](http://scikit-learn.org/stable/)
|
11 | 11 |
|
12 |
| -You will also need to have software installed to run and execute an [iPython Notebook](http://ipython.org/notebook.html) |
| 12 | +你还需要安装一个软件,以运行和编辑[ipynb](http://jupyter.org/)文件。 |
13 | 13 |
|
14 |
| -Udacity recommends our students install [Anaconda](https://www.continuum.io/downloads), a pre-packaged Python distribution that contains all of the necessary libraries and software for this project. |
| 14 | +优达学城推荐学生安装 [Anaconda](https://www.continuum.io/downloads),这是一个常用的Python集成编译环境,且已包含了本项目中所需的全部函数库。我们在P0项目中也有讲解[如何搭建学习环境](https://github.com/udacity/machine-learning/blob/master/projects_cn/titanic_survival_exploration/README.md)。 |
15 | 15 |
|
16 |
| -### Code |
| 16 | +### 编码 |
17 | 17 |
|
18 |
| -Template code is provided in the `boston_housing.ipynb` notebook file. You will also be required to use the included `visuals.py` Python file and the `housing.csv` dataset file to complete your work. While some code has already been implemented to get you started, you will need to implement additional functionality when requested to successfully complete the project. |
| 18 | +代码的模版已经在`boston_housing.ipynb`文件中给出。你还会用到`visuals.py`和名为`housing.csv`的数据文件来完成这个项目。我们已经为你提供了一部分代码,但还有些功能需要你来实现才能以完成这个项目。 |
19 | 19 |
|
20 |
| -### Run |
| 20 | +### 运行 |
21 | 21 |
|
22 |
| -In a terminal or command window, navigate to the top-level project directory `boston_housing/` (that contains this README) and run one of the following commands: |
| 22 | +在终端或命令行窗口中,选定`boston_housing/`的目录下(包含此README文件),运行下方的命令: |
23 | 23 |
|
24 |
| -```ipython notebook boston_housing.ipynb``` |
25 | 24 | ```jupyter notebook boston_housing.ipynb```
|
26 | 25 |
|
27 |
| -This will open the iPython Notebook software and project file in your browser. |
| 26 | +这样就能够启动jupyter notebook软件,并在你的浏览器中打开文件。 |
28 | 27 |
|
29 |
| -### Data |
| 28 | +### 数据 |
30 | 29 |
|
31 |
| -The dataset used in this project is included with the scikit-learn library ([`sklearn.datasets.load_boston`](http://scikit-learn.org/stable/modules/generated/sklearn.datasets.load_boston.html#sklearn.datasets.load_boston)). You do not have to download it separately. You can find more information on this dataset from the [UCI Machine Learning Repository](https://archive.ics.uci.edu/ml/datasets/Housing) page. |
| 30 | + |
| 31 | +本项目中使用的数据均包含在scikit-learn数据库([`sklearn.datasets.load_boston`] (http://scikit-learn.org/stable/modules/generated/sklearn.datasets.load_boston.html#sklearn.datasets.load_boston))中,你无需额外下载。关于数据的更多信息,你可以访问[UCI机器学习库](https://archive.ics.uci.edu/ml/datasets/Housing)。 |
0 commit comments