Machine Learning Paves Way for Smarter Particle Accelerators