Through dual screening via LASSO regression and the Boruta machine learning algorithm, TIMP1 was established as a key diagnostic biomarker for HF. This evidence concerns the gene TIMP1 and hydrops fetalis.