Machine learning in chemical reaction space