Machine learning and multivariate goodness of fit