[doc] Include dask examples into doc. (#7530)

This commit is contained in:
Jiaming Yuan
2022-01-05 03:27:22 +08:00
committed by GitHub
parent 54582f641a
commit ec56d5869b
13 changed files with 74 additions and 47 deletions

View File

@@ -1,3 +1,8 @@
"""
Example of training with Dask on CPU
====================================
"""
import xgboost as xgb
from xgboost.dask import DaskDMatrix
from dask.distributed import Client