Artificial Intelligence predicts how patients with viral infection will fare