MLJBase.jl icon indicating copy to clipboard operation
MLJBase.jl copied to clipboard

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

Open ablaom opened this issue 3 years ago • 2 comments

ablaom avatar May 10 '22 01:05 ablaom

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

DilumAluthge avatar May 10 '22 10:05 DilumAluthge

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 😉

ablaom avatar May 10 '22 21:05 ablaom