[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,6 +1,7 @@
'''Dask interface demo:
Use scikit-learn regressor interface with GPU histogram tree method.'''
"""
Use scikit-learn regressor interface with GPU histogram tree method
===================================================================
"""
from dask.distributed import Client
# It's recommended to use dask_cuda for GPU assignment