The risk factors identified in the current study can provide specific, personalized perioperative ALBT risk assessment for a patient considering lower limb TJA. Furthermore, the predictive accuracy of the RF algorithm was significantly higher than that of LR, making it a potential tool for future personalized preoperative prediction of risk for perioperative ALBT.