Machine Learning-Based Identification Of Precursors Of Extreme Events In Chaotic Systems