As no assumptions are made regarding the form of eval(w), gradient-based methods cannot be applied, and performing a grid search over parameterizations of w would require a exponentially growing number of parameterizations to be traversed.
we propose to use Bayesian Optimization (BayesOpt) as the means to maximize eval(w).