Hindcasting the Occurrence Time of Major Earthquakes using Machine Learning and Time Series Analysis