Forecasting Across Time Series Databases using Long Short-Term Memory Networks on Groups of Similar Series