Researchers have created a machine learning technique to determine mineral composition in unconventional reservoirs