Research Article

Brain Tumor Detection and Classification Using IFF-FLICM Segmentation and Optimized ELM Model

Table 2

Pseudocode: MHS-SCA optimization algorithm implementation.

Pseudocode: MHS-SCA optimization algorithm

(1) Initialize harmony search parameters PAR, , ,
(2) Initialize the SCA parameters
(3) Calculate the harmony vector based on
(4) Fitness function evaluation based on
(5) % Loop for optimization
(6) For i = 1 : n
(7)  Update SCA parameter to obtain fitness using equation (1)
(8)  Update the HS parameter
(9)  Update the modified position equation
(10) , with PAR
(11) with (1-PAR)
(12) Choose the maximum optimized values between equations (7) and (8)
(13) end for the loop i
(14) Stopping criteria: Converge up to optimal solution, else go to step 6