Research Article
Brain Tumor Detection and Classification Using IFF-FLICM Segmentation and Optimized ELM Model
Table 3
Pseudocode: MHS-SCA for weight optimization of the ELM model.
| Pseudocode |
| (1) Input: Initializing particles (ELM weights) randomly | (2) Input: Initialize the MHS parameters , , , | (3) Output: Calculation of error | (4) %Program loop | (5) For i = 1 : n | (6) “%” Weight updation with PAR | (7) | (8) % Obtain new optimization with 1-PAR | (9) | (10) If | (11) Choose the weight vector value as | (12) end | (13) If | (14) Choose the weight vector value as | (15) end | (16) Select the maximum weights of both as | (17) Choose the best weight until the convergence criterion is satisfied % calculate mean square error | (18) | (19) End for the loop i | (20) Continue the procedure till convergence is satisfied, else repeat step 4 to step 19 |
|
|