Machine learning predictively recommends conditions for a widely used reaction that is sensitive to substrate structure.