How neeraj9814/mental-health-prd works
Mansik-Santulan-Score is a web app that estimates a mental-health score from student and social-media-use inputs. A user fills the browser form; its JavaScript validates and submits the fields to a prediction API, which prepares model input and returns a score for display. The repository also contains a dataset and notebook, suggesting an offline model-development branch, but their contents and links to the saved model were not sampled. The README documents no further capabilities.
Main entry points: main.py Prediction endpoint · script.js Form interaction · ML_Project.ipynb Model notebook · index.html Input form
Components 13
Web interface
- Input form
index.html - Form interaction
script.js - Input validation
script.js - Score display
script.js
Prediction API
- Prediction endpoint
main.py - Request schema
main.py - Feature preparation
main.py - Model inference
main.py - Score response
main.py
Model assets
- Trained model
Mental_Health_Model.pkl - Model notebook
ML_Project.ipynb - Student dataset
Student Social Media And Mental Health Impact.csv
Other components
- User
Connections 12
- User → Input form: enters data
- Input form → Form interaction: interacts with
script.js - Form interaction → Input validation: validates
script.js - Form interaction → Prediction endpoint: posts inputs
script.js - Prediction endpoint → Request schema: accepts request
main.py - Prediction endpoint → Feature preparation: prepares features
main.py - Prediction endpoint → Model inference: calls prediction
main.py - Model inference → Trained model: loads and predicts
main.py - Prediction endpoint → Score response: returns score
main.py - Form interaction → Score display: renders result
script.js - Model notebook → Student dataset
- Model notebook → Trained model