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

`params(::MLJType)` method

Open ablaom opened this issue 2 years ago • 1 comments

I would like to remove this method, as it's essentially "wrong", because it is field-based, instead of property-based. It is my understanding that the method does not appear in any documentation but it may appear in some old tutorials. Unfortunately, it is re-exported by MLJBase, and so removing it will break MLJBase 😢

ablaom avatar Jul 03 '23 05:07 ablaom

In work on MLFlow integration we see that we need such a function. So opening a new issue to add a params2 which in the next breaking release replaces params (but which is not to be exported).

ablaom avatar Aug 13 '23 21:08 ablaom