[doc] Some notes for external memory. (#5065)

This commit is contained in:
Jiaming Yuan
2019-11-26 00:22:02 +08:00
committed by GitHub
parent d667ea9335
commit 9f52e834dc
3 changed files with 18 additions and 11 deletions

View File

@@ -54,7 +54,7 @@ The data is stored in a :py:class:`DMatrix <xgboost.DMatrix>` object.
.. note:: Categorical features not supported
Note that XGBoost does not provide specialization for categorical features; if your data contains
categorical features, load it as a NumPy array first and then perform
categorical features, load it as a NumPy array first and then perform corresponding preprocessing steps like
`one-hot encoding <http://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.OneHotEncoder.html>`_.
.. note:: Use Pandas to load CSV files with headers