This study highlights the potential of how ML models combined with theory-driven knowledge can improve suicide risk prediction. Our study underscores the importance of hopelessness and thwarted belongingness in suicide risk and thus their role in suicide prevention and intervention.