Machine Learning in theoretical physics