Machine Learning for Data Analysis, and Image Classification in the Earth Sciences