Closed berndbischl closed 3 years ago
obfun = ObjectiveRFun$new( fun = function(xs) sum(unlist(xs)^2), domain = ParamSet$new(list(ParamDbl$new("x", -5, 5))), id = "test" ) terminator = trm("evals", n_evals = 20) instance = OptimInstanceSingleCrit$new( objective = obfun, terminator = terminator ) surrogate = SurrogateSingleCritLearner$new(learner = lrn("regr.km")) acqfun = AcqFunctionEI$new(surrogate = surrogate) acqopt = AcqOptimizerRandomSearch$new() z = bayesop_soo(instance, acqfun, acqopt)
leads to
Error in chol.default(R) : the leading minor of order 11 is not positive definite
closed by #32
leads to
Error in chol.default(R) : the leading minor of order 11 is not positive definite