An ML approach to resolution of singularities