Skip to main content
. 2023 Nov 4;8(7):525. doi: 10.3390/biomimetics8070525
Algorithm 7: Proposed ETLBOCBL-CNN
Inputs: NDtrainvalidSbatchεtrainεFTRLCnumNminConvNmaxConvNminFilNmaxFilSminKerSmaxKerSminPoolSmaxPoolSminStrSmaxStrNminFCNmaxFCNminNeuNmaxNeuSGroupG
01: Load train and valid from the directory;
02: Initialize the population  P=[X1,,Xn,,XN] using Algorithm 1;
03: Initialize the iteration counter as t0;
04: while t<Tmax do
05:      Generate Poff and update XTeacher using modified teacher phase (Algorithm 4);
06:      Update Poff and XTeacher using modified learner phase (Algorithm 5);
07:      Determine PNext  using tri-criterion selection scheme (Algorithm 6);
08:         PPNext ;
09:      tt+1;
10: end while
11: Fully train the CNN architecture constructed from XTeacher.Pos with larger εFT (Algorithm 2);
Output: XTeacher and its corresponding optimal CNN architecture