Research Article

A New Hybrid Model Based on an Intelligent Optimization Algorithm and a Data Denoising Method to Make Wind Speed Predication

Algorithm 1

AFSA.
Input:
—A sequence of training data.
Output:
—The returned value with the best fitness in the search domain.
Parameters:
try_numberThe attempted times in the behaviour of prey.
friend_numberThe number of friends around AF.
AF_[]The position of AF.
AF_stepThe distance that AF can move for each step.
AF_visualThe visual distance of AF.
AF_deltaThe condition of jamming.
(1) /Generate an initial population of AF /
(2) /AF_prey()/
(3) FOR EACH    DO
(4) ;
(5) IF    THEN
(6) ;
(7) ELSE    END END
(8) /AF_swarm()/
(9) FOR EACH  
(10) IF    DO
(11) ;
(12)   END
(13)
(14) IF    THEN
(15) ;
(16) ELSE AF_prey() = 0 END END
(17) /AF_follow()/
(18) FOR EACH
(19) IF    THEN
(20) ;
(21) ; END
(22) ;
(23) IF    THEN
(24) ;
(25) END IF  
(26)
(27) ELSE AF_prey