Predicting the air quality by combining model simulations with machine learning