BayesOpt
bayesoptdisc.m
1 % BAYESOPTDISC Optimization (minimization) of discrete target function
2 % using Bayesian optimization.
3 %
4 % Usage: [xmin, fmin] = bayesoptdisc(@function_handler, validset, params)
5 % [xmin, fmin] = bayesoptdisc('function_name', validset, params)
6 %
7 %
8 % params is a struct which have the same fields as the C/C++ interface
9 % (see include/parameters.h)
10 %
11 % validset is the set of discrete points for discrete optimization,
12 % stacked in a single matrix. Thus, it must be a d x n matrix.
13 %
14 %
15 % -------------------------------------------------------------------------
16 % This file is part of BayesOpt, an efficient C++ library for
17 % Bayesian optimization.
18 %
19 % Copyright (C) 2011-2015 Ruben Martinez-Cantin <rmcantin@unizar.es>
20 %
21 % BayesOpt is free software: you can redistribute it and/or modify it
22 % under the terms of the GNU Affero General Public License as published by
23 % the Free Software Foundation, either version 3 of the License, or
24 % (at your option) any later version.
25 %
26 % BayesOpt is distributed in the hope that it will be useful, but
27 % WITHOUT ANY WARRANTY; without even the implied warranty of
28 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 % GNU Affero General Public License for more details.
30 %
31 % You should have received a copy of the GNU Affero General Public License
32 % along with BayesOpt. If not, see <http://www.gnu.org/licenses/>.
33 % ------------------------------------------------------------------------
34 %
35