Similar Items: Machine learning applied to simulations of collisions between rotating, differentiated planets