We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c6aa85 commit 7caaa9bCopy full SHA for 7caaa9b
src/attemptors.jl
@@ -89,7 +89,8 @@ end
89
function fitted_machine(model, data...; throw=false, verbosity=1)
90
message = "[:fitted_machine] Fitting machine "
91
attempt(finalize(message, verbosity); throw) do
92
- mach = machine(model, data...)
+ mach = model isa Static ? machine(model) :
93
+ machine(model, data...)
94
fit!(mach, verbosity=-1)
95
MLJ.report(mach)
96
MLJ.fitted_params(mach)
0 commit comments