Research Article
Dynamic Learning Rate in Deep CNN Model for Metastasis Detection and Classification of Histopathology Images
Algorithm 3
Pseudocode for the convolutional neural network.
| Input: image | | Output: classification result | | Data: training data | | // function for convolution | | 1 Function Conv(activation, weights): | | 2 | | 3 | | 4 return conv | | // function for max pooling | | 5 Function Pool(activation(thlayer)): | | 6 | | 7 return | | // function for the fully connected layer | | 8 Function FC(activation, learnable parameters): | | 9 | | 10 return | | // Main program calls function | | 11 Function Main(input image, image class): | | 12 | | 13 | | 14 | | 15 | | 16 return Output(classification result) |
|