Machine Learning for Healthcare: Case Studies and Algorithms for Working with Data