Applications of Machine Learning in Medical Prognosis Using Electronic Medical Records