Machine learning as a tool for geologists