Using a combination of physics and machine learning, the researchers predicted how the plasma inside a tokamak reactor would behave given a set of initial conditions.