From 886deee0e5b3ac25f365403a738ed983e69ef7f1 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Wed, 28 Feb 2024 18:07:05 +1300 Subject: [PATCH] and again... --- test/runtests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index 351a895..8d475dc 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -30,7 +30,7 @@ X = merge( Tables.columntable(X_regression), (; outlook, temperature), ) -y_binary = categorical(temperature .== "mild" .| outlook .== "sunny") +y_binary = categorical((temperature .== "mild") .| (outlook .== "sunny")) y_count = map(X.x1) do x floor(Int, 10*abs(x)) end