The Psychological Trauma Self-Assessment System focuses on identifying various dimensions of psychological trauma, including childhood experiences, relationship challenges, medical-related fears, career-related stress, loss and grief, and self-esteem issues. The application presents users with a structured questionnaire consisting of multiple carefully categorized questions. Each question is designed to capture specific behavioural patterns and emotional responses. Users provide answers based on frequency levels such as “Never,” “Rarely,” “Sometimes,” and “Often.” These responses are then converted into numerical data, enabling systematic analysis. A key feature of this project is the use of machine learning, specifically a classification model, to analyze user input and predict the overall trauma level. Based on the collected responses, the system categorizes the user’s mental state into three levels: Low, Moderate, or High. This automated evaluation provides users with immediate feedback, helping them understand their psychological condition without the need for manual interpretation. To make the results more intuitive and user-friendly, the application generates a graphical representation (pie chart) showing the distribution of trauma across different categories. This visual insight helps users better understand their emotional patterns.
HOW TO RUN :
- Make a folder and place the appp.py file in it.
- Install python.
- Open command prompt and install flask, numpy, matplotlib and Scikit-learn libraries.
- In order to intall numpy run the following command on command prompt : python -m pip install numpy
- In order to intall matplotlib run the following command on command prompt : python -m pip install matplotlib
- In order to intall flask run the following command on command prompt : pip install Flask
- In order to intall scikit-learn run the following command on command prompt : pip install scikit-learn
- Now open command prompt and set the path to the folder in which the file ( appp.py) is placed.
- Run the command : python appp.py
- The url will be there copy it > paste it > run it on the browser.