Analysis scripts from "Predicting 3-year persistent or recurrent major depressive episode using machine learning techniques"
This repository maintains the data analysis from the paper entitled "Predicting 3-year persistent or recurrent major depressive episode using machine learning techniques".
The study aimed to predict major depressive disorder (MDD) recurrence and severe depression in MDD patients after three years of follow-up.
The paper is published at Psychiatry Research Communications.
You can click the badge at the top of README to read the article, or click here.
It contains:
- Scripts for each prediction model:
- Recurrent or persistent depression;
- Severity level of depression among all subjects;
- Severe depression among depressed subjects.
- Scripts that generated paper figures;
- Script that generated paper descriptive table.
The scripts use brazilian portuguese on many sections and variable names. Some files have comments in english to ease the reading for english speakers.
The following Python libraries were used:
matplotlib
,
seaborn
,
pandas
.
The following R packages were used:
dplyr
,
caret
,
pROC
,
purrr
,
glmnet
,
table1
,
and ggplot2
.
You can contact me at [email protected]