Applications of machine learning in drug discovery and development