System Design for Epidemics Using Machine Learning and Deep Learning