From 2b78f38bcfca0986b149c4167c5a0e8e781b218a Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Wed, 2 Nov 2022 14:30:17 +1300 Subject: [PATCH 1/2] remove Integer type anotation in fit(::Static, verbosity::Integer, ...) --- src/model_api.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model_api.jl b/src/model_api.jl index 595d905..eedce5e 100644 --- a/src/model_api.jl +++ b/src/model_api.jl @@ -10,7 +10,7 @@ thereof. The fallback of `reformat` returns the user-provided data function fit end # fallback for static transformations -fit(::Static, ::Integer, data...) = (nothing, nothing, nothing) +fit(::Static, verbosity, data...) = (nothing, nothing, nothing) # fallbacks for supervised models that don't support sample weights: fit(m::Supervised, verbosity, X, y, w) = fit(m, verbosity, X, y) From 100c4777cf91d435345cd13ac411e211e886c546 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Thu, 3 Nov 2022 08:06:40 +1300 Subject: [PATCH 2/2] bump 1.7.1 --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 02ec4a9..9f15318 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "MLJModelInterface" uuid = "e80e1ace-859a-464e-9ed9-23947d8ae3ea" authors = ["Thibaut Lienart and Anthony Blaom"] -version = "1.7.0" +version = "1.7.1" [deps] Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"