The Artificial Scientist -- in-transit Machine Learning of Plasma Simulations