Building a machine learning-based intelligent HVAC system to minimize infection spread