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

How to tune hyperparameters of xgboost model ? #100

Open
dmahasen opened this issue Sep 27, 2021 · 1 comment
Open

How to tune hyperparameters of xgboost model ? #100

dmahasen opened this issue Sep 27, 2021 · 1 comment

Comments

@dmahasen
Copy link

Hi,

Is there are a way to get metrics values for a given set of parameters in nfold_cv() function? or is there any other way to tune hyperparameters of xgboost model in XGBoost.jl.

Thank you,

Mahasen Dehideniya

@dmahasen dmahasen changed the title How to tune xgboost model ? How to tune hyperparameters of xgboost model ? Sep 27, 2021
@ablaom
Copy link
Contributor

ablaom commented Sep 27, 2021

XGBoost has an MLJ interface, which opens up a number of hyper-parameter optimisation strategies. There's even an end-to-end XGBoost/MLJ tutorial on this here. The tutorial does not necessarily represent best practice but does demonstrate the syntax.

I'd probably use RandomSearch in place of Grid.

For an overview of hyper-parameter tuning in MLJ, see this manual entry.

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