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

allow watchlist to be NamedTuple #199

Merged
merged 1 commit into from
Nov 21, 2023
Merged

Conversation

ExpandingMan
Copy link
Collaborator

The recent addition of early stopping rounds broke the ability to pass watchlist as NamedTuple. Probably not narrowing the type in the first place was a mistake, and we should have picked one, but in the meantime it would be breaking to remove either. This PR restores the ability to pass watchlist as any iterable of pairs of which the keys can be converted to strings.

See JuliaAI/MLJXGBoostInterface.jl#46 (comment)

@ExpandingMan ExpandingMan merged commit 17f303a into dmlc:master Nov 21, 2023
4 of 5 checks passed
@rikhuijzer
Copy link
Contributor

Nice that it's now even covered by a test. Thanks!

@rikhuijzer
Copy link
Contributor

Should we add a MLJXGBoostInterface.jl integration test to this repository?

@ExpandingMan
Copy link
Collaborator Author

ExpandingMan commented Nov 22, 2023

I will get it merged if someone wants to do it.

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