Research Article
Quantum Behaved Particle Swarm Optimization-Based Deep Transfer Learning Model for Sugarcane Leaf Disease Detection and Classification
Algorithm 1
Pseudo‐code of mayfly algorithm.
(1) | Initialize control parameter, problem dimension, and limits | (2) | Create MMF population and the velocity | (3) | Create FMF population and its velocities | (4) | Determine solution by the use of a fixed objective function. | (5) | Compute gbest and pbest | (6) | while (termination condition) | (7) | Upgrade velocity and location of the MMFs and FMFs based on the velocity and location bounds | (8) | Determine solution by the use of a fixed objective function. | (9) | Sort MFs population | (10) | Mate mayflies population | (11) | Validate off springs | (12) | Segregate offspring to male and female arbitrarily | (13) | Substitute worst solutions with the best new solutions | (14) | Upgrade pbest and gbest | (15) | end while | (16) | Store optimum solution |
|