To register all the models in GreatNewPackage with MLJ:
-
In a clone of the master branch of MLJModels, change to the
/src/registry/
directory and, in Julia, activate the environment specified by the Project.toml there, after checking the [compat] conditions there are up to date. -
Add
GreatNewPackage
to the environment. -
In some environment in which your MLJModels clone has been added using
Pkg.dev
, executeusing MLJmodels; @update
. This updatessrc/registry/Metadata.toml
andsrc/registry/Models.toml
(the latter is generated for convenience and not used by MLJ). -
Quit your REPL session, whose namespace is now polluted.
-
Push your changes to an appropriate branch of MLJModels to make the updated metadata available to users of the next MLJModels tagged release.