Artificial intelligence for modelling infectious disease epidemics