Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dask] Change document to avoid using default import. #9742

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

trivialfis
Copy link
Member

This aligns dask with pyspark, users need to explicitly call:

from xgboost.dask import DaskXGBClassifier
from xgboost import dask as dxgb

In future releases, we might stop using the default import and remove the lazy loader.

This aligns dask with pyspark, users need to explicitly call:

```
from xgboost.dask import DaskXGBClassifier
from xgboost import dask as dxgb
```

In future releases, we might stop using the default import and remove the lazy loader.
@trivialfis trivialfis requested a review from hcho3 November 1, 2023 13:40
@trivialfis trivialfis merged commit 98238d6 into dmlc:master Nov 6, 2023
22 of 25 checks passed
@trivialfis trivialfis deleted the dask-import branch November 6, 2023 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants