Rock Facies Characterization Using Machine Learning Algorithms