From 9fe68ae93f88400d7aae1163ac31db547d6c3297 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Sun, 15 Dec 2019 10:36:30 +1300 Subject: [PATCH 1/3] add `import MLJBase` to @from_network program --- src/composites.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/composites.jl b/src/composites.jl index d73332d4..444ab79e 100644 --- a/src/composites.jl +++ b/src/composites.jl @@ -377,6 +377,8 @@ function from_network_(modl, modeltype_ex, fieldname_exs, model_exs, # code defining the composite model struct and fit method: program1 = quote + import MLJBase + mutable struct $modeltype_ex <: MLJBase.$kind $(fieldname_exs...) end From c9f4c938ffae872284819d705fdc1a627b8ec260 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Sun, 15 Dec 2019 10:49:19 +1300 Subject: [PATCH 2/3] add arrows test mistakenly forgotten --- test/runtests.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 7330e016..bc4fb351 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -84,8 +84,8 @@ end @test include("pipelines.jl") end -VERSION ≥ v"1.3.0-" && @testset "pipelines" begin - @test include("pipelines.jl") +VERSION ≥ v"1.3.0-" && @testset "arrows" begin + @test include("arrows.jl") end From 5a0a7f38196937dd52da46f5053f4bbdba016051 Mon Sep 17 00:00:00 2001 From: "Anthony Blaom, PhD" Date: Sun, 15 Dec 2019 11:07:19 +1300 Subject: [PATCH 3/3] bump to 0.9.1 --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 4d0841b9..ac3577c0 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "MLJBase" uuid = "a7f614a8-145f-11e9-1d2a-a57a1082229d" authors = ["Anthony D. Blaom "] -version = "0.9.0" +version = "0.9.1" [deps] CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"