mlrHyperopt icon indicating copy to clipboard operation
mlrHyperopt copied to clipboard

Avoid saving big optimization path object

Open PhilippPro opened this issue 7 years ago • 0 comments

When using mlrHyperopt very big objects get saved. This can be very annoying when doing repeated cross validation on several datasets, cause big objects are saved/used.

Example:

task = makeClassifTask(data = iris, target = "Species")
lrn = makeLearner("classif.svm")
lrn = makeHyperoptWrapper(lrn)
mod = train(lrn, task)
object.size(mod$learner.model$opt.result)

Is it possible to avoid this somehow?

PhilippPro avatar Aug 23 '18 12:08 PhilippPro