APOB and major depressive disorder: In this study, we developed and evaluated several ML models to predict depression risk in patients with CHF using key biomarkers such as ApoB, the gTyG index, and other clinical features.