HGB, HDL, BMI, height, and diabetes had moderate effects on gallstone detection, and these features still played a significant role in the prediction process. Here, CYGB is linked to gallstones.