Machine Learning in Electromagnetics With Applications to Biomedical Imaging: A Review