According to the algorithms of machine learning (LASSO regression and SVM-RFE), ADHFE1, DOK6, GRP75, and MAP3K14-AS1 were selected to construct a diagnostic model and were successfully validated in GEO and our CRC samples datasets. This evidence concerns the gene DOK6 and colorectal carcinoma.