Our pathological model could predict EZH2 expression and prognosis of patients with HCC with high accuracy and robustness, making it a new and potentially valuable tool. Here, EZH2 is linked to hepatocellular carcinoma.