Skip to main content
. 2020 Feb 24;22(2):258. doi: 10.3390/e22020258
Algorithm 2 Bayesian optimization (BO) for optimal design
  • 1:

    Input: Design space D and its discretized design space D¯, prior μ0(d)=0, hyperparameters l,σf of the Gaussian kernel, hyperparameter δ, and maximum number of iterations tmax.

  • 2:

    fort=1,,tmaxdo

  • 3:

        Find the maximizer of the acquisition function: dt=argmaxdDμt1(d)+βt1σt1(d).

  • 4:

        Sample the objective function Ut=U^(dt) using Algorithm 1.

  • 5:

        Augment the data set S1:t={di,Ui}i=1t.

  • 6:

        Perform Bayesian update to obtain μt and σt over D¯ using (11) and (12) respectively.

  • 7:

        Update βt.

  • 8:

    end for

  • 9:

    Output: Optimal design: d=argmaxt=1,,tmaxUt