Research Article

A Fast Hybrid Classification Algorithm with Feature Reduction for Medical Images

Algorithm 1

Start
Set the initial set of all Grasshoppers G={g1, …..,gm};
Compute the fitness fit (gi )for each ∈ in G.
B is set to the best solution
Initialize fitmin and fitmax and iteration Imax
While(I<Imax)do// I denotes a data item in the dataset of size Imax
Update fit1 and fit2 according to:
For j=1 to mdo
 Set the distance between gj ∈ G in the range [1, 4]
 Update the position of the current g ∈ G
 Bring the current g back if it steps out of the boundaries
End-for
Update B if there is a better solution
I=I+1
End-while
Return the best solution B
END