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

Not possible to set nthread parameter in MLJXGBoostInterface.XGBoostRegressor() #12

Closed
dmahasen opened this issue Sep 27, 2021 · 2 comments

Comments

@dmahasen
Copy link
Contributor

dmahasen commented Sep 27, 2021

Hi,

I was trying to set the number of threads to use in fitting XGBoost Regression model. But it seems that MLJXGBoostInterface.XGBoostRegressor() does not accept nthread argument though underling xgboost() function in XGBoost.jl has nthread argument to limit the number of threads to use in model fitting.

I would be grateful to have this feature. #XGBoost

Thank you,

Mahasen Dehideniya

@ablaom
Copy link
Member

ablaom commented Sep 27, 2021

Sounds like a good idea. If you have the expertise, I would be happy to expedite a PR to expose nthread.

@dmahasen
Copy link
Contributor Author

I made the required changes. #13. :)

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