The invention discloses a method for establishing a depression diagnosis model based on dry blood
near infrared spectroscopy, and belongs to the technical field of depression diagnos.The method comprises the following steps that S1, blood samples of a depression patient and a
healthy control are collected and stored, S2, a dry blood sample is prepared, the
near infrared spectroscopy of the dry blood sample is collected to form a spectrum set, S3, data of the near
infrared spectrum set are preprocessed, and a depression diagnosis model is established. The method comprises the following steps: S1, establishing a plurality of basic models, S4, after screening and combining important features, establishing a model by a
machine learning
algorithm, and selecting an optimal model as a final
spectrogram recognition model, and S5, collecting a near
infrared spectrum of dry blood of a patient to be diagnosed, and substituting the near
infrared spectrum into the
spectrogram recognition model to quickly recognize a result. According to the method, sample pretreatment is not needed, near infrared spectrum recognition of a patient to be diagnosed can be rapidly completed only through trace blood, compared with a spectrum of liquid blood, the collected near infrared spectrum of dry blood has no strong interference of a water peak and has more and stronger characteristic signals, important characteristics are screened out for modeling, and the calculation rate and the model accuracy are improved.