An analytical method to automatically characterize rock samples for geological or petrological purposes is here proposed, by applying machine learning approach (ML) as a protocol for saving experimental times and costs. Proper machine learning algorithms, applied to automatically acquired microanalytical data (i.e., Electron Probe Micro Analysis, EPMA), carried out with a SEM-EDS microprobe on…