Skip to content

Commit

Permalink
try to fix problem with new test in julia 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ablaom committed Feb 28, 2024
1 parent 2fb0d61 commit 9d32af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ X = merge(
Tables.columntable(X_regression),
(; outlook, temperature),
)
y_binary = (temperature .== "mild" .|| outlook .== "sunny") |> categorical
y_binary = categorical(temperature .== "mild" .|| outlook .== "sunny")
y_count = map(X.x1) do x
floor(Int, 10*abs(x))
end
Expand Down

0 comments on commit 9d32af8

Please sign in to comment.