Research Article
Dynamic Learning Rate in Deep CNN Model for Metastasis Detection and Classification of Histopathology Images
Algorithm 1
Pseudocode for the cyclical learning rate (CLR).
| Data: cycle, callbacks, CLR, lr, step size, iterations | | Result: cyclical learning rate with repeated cycles | | 1 ; | | 2 whileepochs not finisheddo | | 3 ifthen | | 4 select mode; | | 5 switchCLRdo | | 6 cyclical learning rate (overrides default) | | 7 end | | 8 casetriangulardo | | 9 | | 10 end | | 11 casetriangular2do | | 12 | | 13 end | | 14 casetriangular_expdo | | 15 | | 16 end | | 17 casecustom cycledo | | 18 | | 19 end | | 20 casecosine learning ratedo | | 21 | | 22 end | | 23 else | | 24 ; | | 25 end | | 26 end |
|