Opportunities for machine learning in scientific discovery