Using machine learning, we isolated four genes, PLVAP, C7, COL15A1, and MS4A6A, as the hub genes that DKD may affect subsequent HCC. This evidence concerns the gene MS4A6A and hepatocellular carcinoma.