Bayesian particle filter algorithm for learning epidemic dynamics. (22nd October 2021)