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

Issue informative warning if user tries to use evaluate!(::MLJModel, ...) instead of evaluate(::MLJModel, ...). #765

Open
ablaom opened this issue May 10, 2022 · 2 comments
Labels
easy good first issue Good for newcomers

Comments

@ablaom
Copy link
Member

ablaom commented May 10, 2022

No description provided.

@ablaom ablaom added good first issue Good for newcomers easy labels May 10, 2022
@DilumAluthge
Copy link
Member

Probably the correct way to do this is to register a "hint": https://docs.julialang.org/en/v1/base/base/#Base.Experimental.register_error_hint

@ablaom
Copy link
Member Author

ablaom commented May 10, 2022

Didn't know about this feature, thanks. That's a pattern I've wondered about. Guess it has to wrapped in a block to test the feature actually exists, as it is still marked experimental. PR welcome 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants