Decision-making algorithms for learning and adaptation with application to COVID-19 data