View full-text article in PMC Sensors (Basel). 2023 May 25;23(11):5058. doi: 10.3390/s23115058 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1: Bayesian Optimization Hyperparameter Framework Input: The number ofparameters n0, The maximum number of iterations T, The search space for parameters X, The function for evaluate model f, Surrogate models M, Acquisition Function S Output: The optimal parameter combination x D←InitSamples(f,X) For i←Dto T do: py|x,D←FitModel(M,D) xi←argmaxx∈XSx,py|x,D yi←f(xi) D←D∪xi,yi end for