Machine learning in medical applications: A review of state-of-the-art methods