Merge pull request #573 from ClimbsRocks/patch-1

Clarifies wording on Data Interface intro list
This commit is contained in:
Tianqi Chen 2015-10-27 23:01:10 -07:00
commit 88b4c64c0d

View File

@ -8,7 +8,7 @@ This document gives a basic walkthrough of xgboost python package.
Install XGBoost Install XGBoost
--------------- ---------------
To install XGBoost, do the following steps. To install XGBoost, do the following steps:
* You need to run `make` in the root directory of the project * You need to run `make` in the root directory of the project
* In the `python-package` directory run * In the `python-package` directory run
@ -22,7 +22,12 @@ import xgboost as xgb
Data Interface Data Interface
-------------- --------------
XGBoost python module is able to loading from libsvm txt format file, Numpy 2D array and xgboost binary buffer file. The data will be store in ```DMatrix``` object. The XGBoost python module is able to load data from:
- libsvm txt format file
- Numpy 2D array, and
- xgboost binary buffer file.
The data will be store in a ```DMatrix``` object.
* To load libsvm text format file and XGBoost binary file into ```DMatrix```, the usage is like * To load libsvm text format file and XGBoost binary file into ```DMatrix```, the usage is like
```python ```python