Using Machine Learning to predict extreme events in the H\'enon map