Skip to main content
. 2023 Jan 20;23(3):1230. doi: 10.3390/s23031230
Algorithm 2 Procedure of BOHB algorithm.
  1 : Input the number of maximum budget R, setting η
  2 : Initialization the number of setting Smax = ceil(logη R)
  3 : for s = Smax to 0 do
  4 :     set current Configuration A
  5 :           for i = 0 to s do
  6 :                  Select hyperparameter Configuration Ai   
  7 :                  Get loss L using Configuration Ai
  8 :                  A = min(L(A), L(Ai))
  9 :           for t = 1 to T do
 10 :                  Calculate a probability function p(g|D) using Gaussian process
 11 :                  Select observation where xselect = argmaxxx a(x)
 12 :                  Evaluate the objective function yselect = g(xselect) + ϵ
 13 :                  Add dataset D = D ∪ ( xselect, yselect
 14 :                  Update best observation xbest = argminxDg(x)
 15 :     end for
 16 : end for