Applying machine learning to challenges in the pharmaceutical industry