Highlights•ML can be a practical and effective early prediction method of AP complicated by ARDS.•PaO2, CRP, PCT, LA, Ca2+, NLR, WBC, and AMY were used as the optimal subset of features to early identify AP patients with a high risk for developing ARDS in ML.•BC was the superior predictive model and EDTs could be promising for predicting large samples.