Machine learning for drug discovery and beyond