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 Device Quantile D Matrix not recognizing "qid" as key word #6686

Closed
9849842 opened this issue Feb 6, 2021 · 3 comments
Closed

Dask Device Quantile D Matrix not recognizing "qid" as key word #6686

9849842 opened this issue Feb 6, 2021 · 3 comments

Comments

@9849842
Copy link

9849842 commented Feb 6, 2021

I am using 1.3.1, and am using the following code to make a dask Device Quantile D Matrix, and I get the following error:

dTrain = xgb.dask.DaskDeviceQuantileDMatrix(client=client, data=xTrainG, label=yTrainG, feature_names=features, qid = db.Date)


---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-25-cee1058d5efe> in <module>
----> 1 dTrain = xgb.dask.DaskDeviceQuantileDMatrix(client=client, data=xTrainG, label=yTrainG, feature_names=features, qid = db.Date)

TypeError: __init__() got an unexpected keyword argument 'qid'

Based on the documentation, 'qid' should work for dask device quantile d matrix since 1.2.0?

@trivialfis
Copy link
Member

trivialfis commented Feb 6, 2021

No. The support for qid is very recent and hasn't been released yet: #6576 . Then accepting all meta information in the constructor of DMatrix and friends is another recent PR: #6601 .

@9849842
Copy link
Author

9849842 commented Feb 6, 2021

oh ok I must have misread the documentation, so should I close this?

@9849842 9849842 closed this as completed Feb 6, 2021
@trivialfis
Copy link
Member

trivialfis commented Feb 6, 2021

@9849842 The link to the document is always pointing to the latest build instead of a stable release. You can choose stable release at the lower right corner of the site.

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

No branches or pull requests

2 participants