The use of machine learning in healthcare and medical research