Four hub genes, GFAP, NPY, SNAP25, and SST, were found as possibly hub aging-related genes in Alzheimer’s disease from machine algorithms by adopting the random forest, LASSO, SVM, and Boruta models. The gene discussed is NPY; the disease is Alzheimer disease.