3
3
4
4
Module providing tools for managing the MLJ Model Registry. To modify the registry:
5
5
6
+ - Make sure the MLJModelRegistryTools.jl `[compat]` entry for MLJModels is up to date. If
7
+ not you will need to update it. (Generally you cannot update the model registry and make
8
+ breaking releases of MLJModels at the same time. If this is absolutely necessary, you
9
+ will need to locally `dev` both packages.)
10
+
6
11
- Create a local clone of [MLJModels.jl](https://github.com/JuliaAI/MLJModels.jl), which
7
12
hosts the registry. After making changes, you will be making a MLJModels.jl pull
8
13
request.
@@ -16,9 +21,12 @@ Module providing tools for managing the MLJ Model Registry. To modify the regist
16
21
17
22
- Point the `MLJModelRegistryTools` module to the location of the registry itself within
18
23
your MLJModels.jl clone, using `setpath(path_to_registry)`, as in
19
- `setpath("MyPkgs/MLJModels.jl/src/registry")`.
24
+ `setpath("MyPkgs/MLJModels.jl/src/registry")`. To check this worked, try
25
+ `MLJRegistryTools.get("MLJBase")`, to see the MLJBase.jl models.
20
26
21
- - To add or update the metadata associated with a package, run [`update(pkg)`](@ref).
27
+ - To add or update the metadata associated with a package, run [`update(pkg)`](@ref), as
28
+ in `update("MLJTransforms"). Ensure that every model provided by the package appears as a
29
+ key in the returned value. Omissions may indicate a bad `load_path`.
22
30
23
31
- Assuming this is successful, update the metadata for *all* packages in the registry
24
32
by running [`update()`](@ref).
0 commit comments