Skip to content

Commit

Permalink
bugfix plot opt state trafo
Browse files Browse the repository at this point in the history
  • Loading branch information
jakob-r committed Jul 2, 2018
1 parent 4bec102 commit ca12b6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# mlrMBO 1.1.3

* Bugfix: `plot(opt.state)` now also works for Param Sets with transformations.

# mlrMBO 1.1.2

* Adaptive infill criterions. Infill criterions now have to support an `progress` argument. Termination criterions now can supply a `progress` return value.
Expand Down
3 changes: 2 additions & 1 deletion R/plot_OptState.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ plot.OptState = function(x, scale.panels = FALSE, ...) {
infill = control$infill.crit

# the data we need to plot
points = generateGridDesign(par.set, 100, trafo = TRUE)
points = generateGridDesign(par.set, 100, trafo = FALSE)

infill.res = infill$fun(points = points, models = models, control = control, par.set = par.set, designs = designs, attributes = TRUE, iter = getOptStateLoop(opt.state))

crit.components = attr(infill.res, "crit.components")
Expand Down

0 comments on commit ca12b6a

Please sign in to comment.