A Machine Learning Approach for Wind Speed Forecasting in Microgrids