Machine learning applied to simulations of collisions between rotating, differentiated planets (Computational Astrophysics and Cosmology, 2020)