Symbolic Computation Of Squared Amplitudes In High Energy Physics With Machine Learning