Fig. 3: The performance of ridge and LASSO models.

a The number of features incorporated in the ridge (red line) and LASSO (blue line) models for different lambda values. b The correlation (R2) of BMI and pBMI (dashed lines) or BMI and mBMI (solid lines) in ridge (red line) and LASSO models (blue line) for different lambda values. c MSE of the difference between the observed and predicted values for ridge (red line) and LASSO models (blue line). The vertical dashed red and blue lines represent the minimum MSE, for ridge and LASSO models respectively (i.e., the optimum lambda used to make the models). d A plot of beta coefficients from the optimum ridge model. e A plot of beta coefficients from the optimum LASSO model. Red circles and blue diamonds represent the top 15 lipid species (ranked based on the absolute value of beta coefficients) showing the strongest contribution in the ridge and LASSO models respectively. AC acylcarnitine, CE cholesteryl ester, Cer ceramide, COH cholesterol, DE dehydrocholesterol, dhCer dihydroceramide, DG diacylglycerol, GM1 GM1 ganglioside, GM3 GM3 ganglioside, HexCer monohexosylceramide, Hex2Cer dihexosylceramide, Hex3Cer trihexosylceramide, LPC lysophosphatidylcholine, LPC(O) lysoalkylphosphatidylcholine, LPC(P) lysoalkenylphosphatidylcholine, LPE lysophosphatidylethanolamine, LPE(P) lysoalkenylphosphatidylethanolamine, LPI lysophosphatidylinositol, PC phosphatidylcholine, PC(O) alkylphosphatidylcholine, PC(P) alkenylphosphatidylcholine, PE phosphatidylethanolamine, PE(O) alkylphosphatidylethanolamine, PE(P) alkenylphosphatidylethanolamine, PG phosphatidylglycerol, PI phosphatidylinositol, PS phosphatidylserine, SHexCer sulfatide, SM sphingomyelin, TG triacylglycerol, TG(O) alkyl-diacylglycerol. Source data are provided as a Source Data file.