| Algorithm 1. BP-ELMNN |
| Input: training data. |
| Output: predicted category. |
| Begin |
| Step 1: train the BPNN part on the training data using the Adam algorithm. |
| Step 2: randomly select the input weights and thresholds of the Dense 3 layer. |
| Step 3: calculate the input weight of the output layer using Equation (7). |
| Step 4: test the BP-ELMNN model on the test data. |
| Step 5: output the classification results. |
| End |