Skip to main content
. 2023 Oct 24;29(11):e13505. doi: 10.1111/srt.13505
Define
DsubsetSample(D,p)
Define
Dtrain,DvalSplit(Dsubset)
Define search space for hyperparameters θ
Define objective function
f(θ)
using validation accuracy
Initialize EEinit, T0
while
T<n
do
Train model with hyperparameters θ for E epochs
Implement early stopping based on
Update hyperparameters θ using Bayesian optimization
Update
Eopt
using the best validation accuracy so far
TT+1
end while
Train with optimal hyperparameters
θ
for
Eopt
epochs
Save the model with the best hyperparameters
θ