/forecasting-mental-wellbeing

Utilizing a random forest regressor, our project estimates county-level suicide rates, integrating mental disorder prevalence, age demographics, and gender distribution. Targeting public health agencies and policymakers, our model empowers tailored interventions to mitigate rising suicide rates, enhancing mental health initiatives and policies.

Primary LanguagePython

Forecasting Mental Wellbeing: A Suicide Predictor and Mental Health Problems

We have developed a predictive model using random forest regressor to estimate suicide rates on a county basis, taking into account the prevalence of mental disorders, age demographics and gender distribution. We aim to assist public health agencies and policy makrs to tailor their efforts in order to curb the suicide rates.

dic

Installation

  • Install Docker as a pre-requisite to run the project.
# Clone Forecasting-Mental-Wellbeing Repository
git clone https://github.com/puneetkakkar/forecasting-mental-wellbeing.git

# Navigate to project directory
cd forecasting-mental-wellbeing

# To start the project execute the start script
sh ./start.sh

# Run DB migrations i.e., initialize the db and its schema 
# based on models definied.
docker exec –it mental-wellbeing-api flask db init

# Store the DB migrations command to run within the 
# database as per the models defined in the cod
docker exec –it mental-wellbeing-api flask db migrate

# Apply the stored migrations to the MySQL database.
docker exec –it mental-wellbeing-api flask db upgrade

# Once the db migrations are completed, enter the following
# command to populate data within the database.
docker exec –it mental-wellbeing-api flask dbc init

# To stop the dockers and stop the project, execute the stop script
sh ./stop.sh

NOTE: To test the working of the platform, you can try uploading fake data over the platform that can be located inside of the backend/data/ directory.