An AI-powered Mental Health & Productivity Correlator inspired by the Japanese philosophy of Ikigai (生き甲斐). The system helps students understand the relationship between their daily habits, productivity, and well-being through explainable machine learning and behavioral analytics.
- 🧠 Behavioral habit tracking
- 📊 Stress & productivity analysis
- 🤖 Ensemble Machine Learning prediction
- ⚖️ Ethical rule-based overrides
- 🌸 Ikigai Balance Score (0–100)
- 💡 Personalized recommendations
- 🔐 User authentication system
- 📈 Explainable scoring methodology
- HTML5
- CSS3
- JavaScript
- Python
- Flask
- Scikit-learn
- Random Forest
- Decision Tree
- Logistic Regression
- Pandas
- NumPy
IKIGAI/
│
├── backend/
│ ├── app.py
│ ├── train_model.py
│ ├── models/
│ ├── data/
│ └── requirements.txt
│
├── frontend/
│ ├── templates/
│ ├── static/
│ │ ├── css/
│ │ └── js/
│ └── assets/
│
└── README.md
git clone https://github.com/your-username/IKIGAI-project.git
cd IKIGAI-projectpip install -r requirements.txtRun once to generate training data and save machine learning models:
cd ikigai/backend
python train_model.pypython app.pyThe application will start at:
http://localhost:5000
Daily habits are converted into standardized scores (0–100):
- Sleep Hours
- Study Hours
- Physical Activity
- Social Interaction
- Screen Time
Weighted behavioral scoring calculates:
- Stress Risk Score
- Productivity Score
The system uses an ensemble of:
- Random Forest (60%)
- Decision Tree (25%)
- Logistic Regression (15%)
Rule-based safety checks always override machine learning predictions when necessary.
The final Ikigai Score is generated using four pillars:
| Pillar | Meaning |
|---|---|
| Love | Physical Activity + Social Connection |
| Good At | Study Consistency |
| Need | Recovery & Sleep Balance |
| Value | Productivity Output |
These pillars are combined to create a holistic balance score ranging from 0–100.
This project is not a medical diagnostic tool.
It is intended solely for:
- Awareness
- Self-reflection
- Preventive well-being support
For professional mental health concerns, consult a licensed healthcare provider.
Prachi Patil
B.Tech Information Technology Student | Open Source Contributor | GSSoC Contributor
This project is licensed under the MIT License.