Skip to content

Commit f050a6d

Browse files
authored
Merge pull request #1192 from JuliaAI/drop-mljflow
Drop MLJFlow as a dependency of MLJ
2 parents c38c05e + ef9c2b5 commit f050a6d

File tree

4 files changed

+17
-21
lines changed

4 files changed

+17
-21
lines changed

Project.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "MLJ"
22
uuid = "add582a8-e3ab-11e8-2d5e-e98b27df1bc7"
33
authors = ["Anthony D. Blaom <anthony.blaom@gmail.com>"]
4-
version = "0.22.0"
4+
version = "0.23.0"
55

66
[deps]
77
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
@@ -13,7 +13,6 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1313
MLJBalancing = "45f359ea-796d-4f51-95a5-deb1a414c586"
1414
MLJBase = "a7f614a8-145f-11e9-1d2a-a57a1082229d"
1515
MLJEnsembles = "50ed68f4-41fd-4504-931a-ed422449fee0"
16-
MLJFlow = "7b7b8358-b45c-48ea-a8ef-7ca328ad328f"
1716
MLJIteration = "614be32b-d00c-4edb-bd02-1eb411ab5e55"
1817
MLJModels = "d491faf4-2d78-11e9-2867-c94bc002c0b7"
1918
MLJTransforms = "23777cdb-d90c-4eb0-a694-7c2b83d5c1d6"
@@ -37,7 +36,6 @@ FeatureSelection = "0.2"
3736
MLJBalancing = "0.1"
3837
MLJBase = "1.5"
3938
MLJEnsembles = "0.4"
40-
MLJFlow = "0.5"
4139
MLJIteration = "0.6"
4240
MLJModels = "0.18"
4341
MLJTestIntegration = "0.5.0"

docs/src/logging_workflows.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
!!! note
2+
3+
Starting with MLJ 0.23.0, MLJFlow.jl methods are not immediately available, as the package has been removed as a direct dependency. Previous behaviour will require `using MLJFlow`. See also the "Warning" below.
4+
15
# Logging Workflows
26

3-
Currently the following workflows can log their outcomes to an external machine learning
4-
tracking platform, such as [MLflow](https://mlflow.org):
7+
In principle, the following workflows can log their outcomes to an external machine learning
8+
tracking platform, such as [mlflow](https://mlflow.org):
59

610
- Estimating model performance using [`evaluate`](@ref)/[`evaluate!`](@ref).
711

@@ -21,14 +25,13 @@ documentation.
2125

2226
### Supported tracking platforms
2327

24-
- [MLflow](https://mlflow.org) is natively supported by MLJ. You will still need to
25-
install MLflow itself, and separately launch an MLflow service; see the [MLflow
26-
docs](https://mlflow.org) on how to do this. The service can immediately be wrapped
27-
to create a `logger` object, as demonstrated in the [MLJFlow.jl
28-
documentation](https://github.com/JuliaAI/MLJFlow.jl).
29-
30-
3128
!!! warning
3229

33-
MLJFlow.jl is a new package still under active development and should be regarded as experimental. At this time, breaking changes to MLJFlow.jl will not necessarily trigger new breaking releases of MLJ.jl.
30+
Due to issues with the mlflow REST API, the current model for MLJ-mlflow integration is being reassessed. Use the existing tools at your own risk.
3431

32+
- To use [mlflow](https://mlflow.org) with MLJ you will need to add MLJFlow to your
33+
package environment and call `using MLJFlow`. You additionally need to install
34+
mlflow itself, and separately launch an mlflow service; see the [mlflow
35+
docs](https://mlflow.org) on how to do this. The service can immediately be wrapped to
36+
create a `logger` object, as demonstrated in the [MLJFlow.jl
37+
documentation](https://github.com/JuliaAI/MLJFlow.jl).

src/MLJ.jl

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
"""
2-
MLJ
2+
MLJ
33
44
[`MLJ`](https://juliaai.github.io/MLJ.jl//dev/) is a Machine Learning toolbox for
55
Julia. It collects together functionality from separate components listed below, which can
6-
be loaded individually.
6+
be loaded individually.
77
88
Actual model code (e.g., code for instantiating a `DecisionTreeClassifier`) must generally
99
be loaded explicitly from the model-providing package, using `@load`, for example. However
@@ -41,12 +41,8 @@ core model wrappers and some common transformers are immediately available; do
4141
- FeatureSelection.jl: Transformers for feature selection, and the supervised model wrapper
4242
`RecursiveFeatureSelection`.
4343
44-
- MLJFlow.jl: Integration with MLflow workflow tracking
45-
4644
- OpenML.jl: Tool for grabbing datasets from OpenML.org
4745
48-
49-
5046
"""
5147
module MLJ
5248

@@ -68,7 +64,6 @@ using MLJTuning
6864
using MLJModels
6965
@reexport using FeatureSelection
7066
using OpenML
71-
@reexport using MLJFlow
7267
@reexport using StatisticalMeasures
7368
import MLJBalancing
7469
@reexport using MLJBalancing: BalancedModel

test/exported_names.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Save()
3535

3636
# MLJFlow
3737

38-
MLJFlow.Logger
38+
# MLJFlow.Logger
3939

4040
# StatisticalMeasures
4141

0 commit comments

Comments
 (0)