Opening the Random Forest Black Box of 1H NMR Metabolomics Data by the Exploitation of Surrogate Variables

Metabolites. 2023 Oct 13;13(10):1075. doi: 10.3390/metabo13101075.

Abstract

The untargeted metabolomics analysis of biological samples with nuclear magnetic resonance (NMR) provides highly complex data containing various signals from different molecules. To use these data for classification, e.g., in the context of food authentication, machine learning methods are used. These methods are usually applied as a black box, which means that no information about the complex relationships between the variables and the outcome is obtained. In this study, we show that the random forest-based approach surrogate minimal depth (SMD) can be applied for a comprehensive analysis of class-specific differences by selecting relevant variables and analyzing their mutual impact on the classification model of different truffle species. SMD allows the assignment of variables from the same metabolites as well as the detection of interactions between different metabolites that can be attributed to known biological relationships.

Keywords: characterization; chemometrics; classification; machine learning; nuclear magnetic resonance spectroscopy; random forest; surrogate minimal depth; truffles; variable relations; variable selection.