Skip to content

Commit

Permalink
supply init when getting included vars
Browse files Browse the repository at this point in the history
  • Loading branch information
tiemvanderdeure committed Mar 22, 2024
1 parent d6c20f0 commit c3e6339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mlj_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function MMI.fit(m::MaxnetBinaryClassifier, verbosity::Int, X, y)
cache = nothing

features = selected_features(fitresult)
vars_included = mapreduce(_var_keys, (x, y) -> unique(vcat(x, y)), features)
vars_included = mapreduce(_var_keys, (x, y) -> unique(vcat(x, y)), features; init = Symbol[])

report = Dict(
:complexity => length(features),
Expand Down

0 comments on commit c3e6339

Please sign in to comment.