diff --git a/doc/python/python_intro.md b/doc/python/python_intro.md index b46358877..2418b4565 100644 --- a/doc/python/python_intro.md +++ b/doc/python/python_intro.md @@ -8,7 +8,7 @@ This document gives a basic walkthrough of xgboost python package. 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 * In the `python-package` directory run @@ -22,7 +22,12 @@ import xgboost as xgb 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 ```python @@ -150,4 +155,4 @@ When you use ``IPython``, you can use ``to_graphviz`` function which converts th ```python xgb.to_graphviz(bst, num_trees=2) -``` \ No newline at end of file +```