Skip to content

Commit 77ec83d

Browse files
authored
Merge pull request #8 from JuliaAI/dev
For a 0.1.2 release
2 parents b7c0624 + ff4d4da commit 77ec83d

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "MLJModelRegistryTools"
22
uuid = "0a96183e-380b-4aa6-be10-c555140810f2"
33
authors = ["Anthony D. Blaom <[email protected]>"]
4-
version = "0.1.1"
4+
version = "0.1.2"
55

66
[deps]
77
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
@@ -15,7 +15,7 @@ Suppressor = "fd094767-a336-5f1f-9728-57cf17d0bbfb"
1515
Distributed = "1"
1616
InteractiveUtils = "1"
1717
MLJModelInterface = "1.12"
18-
MLJModels = "0.17"
18+
MLJModels = "0.18"
1919
OrderedCollections = "1.8"
2020
Pkg = "1"
2121
Random = "1"

src/MLJModelRegistryTools.jl

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
44
Module providing tools for managing the MLJ Model Registry. To modify the registry:
55
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+
611
- Create a local clone of [MLJModels.jl](https://github.com/JuliaAI/MLJModels.jl), which
712
hosts the registry. After making changes, you will be making a MLJModels.jl pull
813
request.
@@ -16,9 +21,12 @@ Module providing tools for managing the MLJ Model Registry. To modify the regist
1621
1722
- Point the `MLJModelRegistryTools` module to the location of the registry itself within
1823
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.
2026
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`.
2230
2331
- Assuming this is successful, update the metadata for *all* packages in the registry
2432
by running [`update()`](@ref).

0 commit comments

Comments
 (0)