Research Article

Short-Term Wind Speed Forecasting Based on Ensemble Online Sequential Extreme Learning Machine and Bayesian Optimization

Algorithm 1

The bat algorithm.
Bat Algorithm (f)
Input: Target function
Initialize the bat population with the velocity , the pulse frequency ,
the pulse rates and the loudness , .
For each bat , do
 Employ equations (5)–(7) to produce new solutions.
 If , then
  Choose one candidate solution from the optimal solutions.
 If and , then
  Accept the newly proposed solutions.
  Update and by equations (8) and (9).
Return the current best .