Of all tested algorithms, XGB combined with set B (n = 13 risk factors: age, gender, serum iron concentration, serum ferritin concentration, transferrin saturation, uibc, HFE C282Y homozygosity, mean corpuscular volume, Asian ethnicity, number of relatives affected by haemochromatosis, red blood cell count, alanine aminotransferase serum activity, and aspartate aminotransferase serum activity) provided the best performance (F1 score = 0.8095 ± 0.069), and was the best algorithm for most all the risk factors sets evaluated. Here, TF is linked to hereditary hemochromatosis.