From d993e388bcdf680a61d6d7914c52f92999f1c063 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Mon, 8 Jan 2024 13:50:29 +1300 Subject: [PATCH 1/2] docstring comment --- src/machines.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/machines.jl b/src/machines.jl index 2023f481..a1a3afc5 100644 --- a/src/machines.jl +++ b/src/machines.jl @@ -218,8 +218,9 @@ function check(model::Model, scitype_check_level, args...) return is_okay end - # we use `elscitype` here instead of `scitype` because the data is - # wrapped in source nodes: + # Sometimes (X, ) is a table, when X is a table, which leads to scitype((X,)) = + # Table(...) where `Tuple{scitype(X)}` is wanted. Also, we use `elscitype` here + # instead of `scitype` because the data is wrapped in source nodes; S = Tuple{elscitype.(args)...} if !(S <: F) is_okay = false From 5d8224ea3d0bd27d26243df9104f659e5b57abd1 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Wed, 10 Jan 2024 08:30:02 +1300 Subject: [PATCH 2/2] bump 1.1.0 --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 9ac34ecd..8875a41d 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "MLJBase" uuid = "a7f614a8-145f-11e9-1d2a-a57a1082229d" authors = ["Anthony D. Blaom "] -version = "1.0.1" +version = "1.1.0" [deps] CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"