In conclusion, this study enhances HCC prognostication by integrating the key genes identified by the anoikis&ErbB pathway into 167 machine learning-based models, with AERS (combination of the LASSO and RSF model) showing superior predictive accuracy over existing scores. Here, EGFR is linked to hepatocellular carcinoma.