Use of machine learning for classification of sand particles