On the basis of the baseline depression severity and the TPH2 CpG sites, machine learning approaches can enhance our ability to predict the early-stage antidepressant response. Here, TPH2 is linked to major depressive disorder.