The use of Machine Learning has exploded in many areas in the past few years, in particular in cosmology and astrophysics. I will discuss some of these applications and the progress that can be made with those tools, but also the dangers of overconfidence in the reliability of Machine Learning. I will also show how we can start to understand the way in which Machine Learning may be used for statistical inference.