This project predicts mental health conditions using a machine learning model trained with the Random Forest algorithm. The model is deployed using a Flask API, while a Spring Boot API handles user interactions, stores data, and sends predictions via email.
- Machine Learning Model: Random Forest
- Backend APIs: Flask (ML Model), Spring Boot (User Interaction & Email)
- Database: (Specify if used)
- Deployment: Local or Cloud
- Create or load the dataset required for training.
- Train the model using the Random Forest algorithm.
- Save the trained model for later use.
- Run the Flask application to deploy the ML model.
- Ensure the API is accessible for predictions.
- Run the Spring Boot API to handle user requests.
- Send a request via the Spring Boot API, which forwards it to the Flask API.
- The Flask API processes the data and returns the prediction.
- The result is sent to the user via email.
- Flask API – Handles ML model inference.
- Spring Boot API – Manages user requests, stores data, and emails results.
This project is open-source. Feel free to modify and enhance it.