Finally, we identified four hub genes, including TLR4, by using a diagnostic model constructed by Least Absolute Shrinkage and Selection Operator (LASSO) regression analysis; ADIPOR1, G0S2, and HP were shown to have diagnostic value for the co-pathogenesis of MI and cerebral ischemia by both validation test data and RT-qPCR assay. The gene discussed is HP; the disease is myocardial infarction.