Deep learning approaches to mid-term forecasting of social-economic and demographic effects of a pandemic