a-hanf / mlr3automl

Automated machine learning in mlr3
GNU Lesser General Public License v3.0
25 stars 4 forks source link

"runtime" parameter breaks training / resampling #43

Closed a-hanf closed 2 years ago

a-hanf commented 2 years ago

Something broke:

model = AutoML(tsk("iris"), runtime=60)
Warning message:
The fallback learner 'response' and the base learner 'prob' have different predict types 
model$train()
Error in makeActiveBinding(name, active[[name]], public_bind_env) : 
  symbol already has a regular binding
Called from: makeActiveBinding(name, active[[name]], public_bind_env)

It works without the runtime parameter

a-hanf commented 2 years ago

Found the offending commit, working on fix: https://github.com/mlr-org/mlr3/commit/063fb94272ec58c64d85732fcdf2476d0c5c629e

a-hanf commented 2 years ago

Fixed in #44 If you encounter this issue, please try updating mlr3 to the most recent Github version