Machine Learning Applications in Infection Prediction, Microgrid Control, and Ophthalmology