Open yhyates opened 1 year ago
When I run the following code
fn.mixed = makeSingleObjectiveFunction( name = "Mixed 2D", fn = function(x) x$num1^2 + log(abs(x$disc1)), has.simple.signature = FALSE, par.set = makeParamSet( makeNumericParam("num1", lower = -5, upper = 5), makeNumericParam("disc1", lower = -15, upper = 15) )) surr.km = makeLearner("regr.km", predict.type = "se", control = list(trace = FALSE)) control = makeMBOControl(final.method = "best.predicted") control = setMBOControlTermination(control, iters = 10) control = setMBOControlInfill(control, crit = crit.aei) set.seed(1) res = exampleRun(fn.mixed, control = control, show.info = FALSE, points.per.dim = 200, noisy.evals = 1) plotExampleRun(res, pause = FALSE, iters = c(1,2,5))
I get the error message again
Error in checkNames(X1 = X, X2 = newdata, X1.name = "the design", X2.name = "newdata") : the design and newdata must have the same numbers of columns
The error message looks like this #409
When I run the following code
I get the error message again
The error message looks like this #409