Fix external memory documentation [skip ci] (#4747)

* - fix external memory documentation [skip ci]
   - to state that it is supported now on gpu algorithms
This commit is contained in:
sriramch 2019-08-07 18:27:02 -07:00 committed by Jiaming Yuan
parent 602484e19f
commit f22b1c0348

View File

@ -13,9 +13,7 @@ The external memory version takes in the following filename format:
The ``filename`` is the normal path to libsvm file you want to load in, and ``cacheprefix`` is a The ``filename`` is the normal path to libsvm file you want to load in, and ``cacheprefix`` is a
path to a cache file that XGBoost will use for external memory cache. path to a cache file that XGBoost will use for external memory cache.
.. note:: External memory is not available with GPU algorithms .. note:: External memory is also available with GPU algorithms (i.e. when ``tree_method`` is set to ``gpu_hist``)
External memory is not available when ``tree_method`` is set to ``gpu_hist``.
The following code was extracted from `demo/guide-python/external_memory.py <https://github.com/dmlc/xgboost/blob/master/demo/guide-python/external_memory.py>`_: The following code was extracted from `demo/guide-python/external_memory.py <https://github.com/dmlc/xgboost/blob/master/demo/guide-python/external_memory.py>`_: