 The main objective of this study is to use machine learning method to examine the predictive value sensitivity, specificity, accuracy of resting state and emotional task-related fMRI data collected at pre-treatment baseline week 0 and in the early phase of antidepressant treatment week 2 in the classification of remitters 10 MADRS scores after 12 weeks of treatment and non-remitters in patients with major depressive disorder MDD. A secondary objective is to determine which data set week 0 or week 2 gives the best predictive value. 