divyanshukr283/ekalavya
π Ekalavya β AI-Powered Early Intervention Platform
Empowering Early Educational Intervention Through Artificial Intelligence
Ekalavya is an AI-powered educational decision support platform that helps identify students who may require academic support before learning challenges become critical. By analyzing educational, demographic, and socioeconomic indicators, the platform predicts student learning outcomes and provides actionable recommendations to educators, NGOs, mentors, volunteers, and community learning centres.
Educational Purpose Only: Ekalavya is intended for educational research, demonstration, and decision-support purposes. It complementsβnot replacesβprofessional educational assessment and intervention.
π Mission
Every child deserves equal opportunities to learn and succeed.
Ekalavya empowers educators and community organizations with AI-driven insights to enable early identification, timely intervention, and personalized educational support for underprivileged and vulnerable learners.
β¨ Key Features
π€ AI-Powered Student Assessment
Analyzes 29 educational, demographic, and socioeconomic factors to evaluate student learning outcomes.
π Early Risk Prediction
Classifies students into one of three categories:
- β On Track
- β οΈ At Risk
- π¨ Dropout Risk
π§ Intelligent Educational Insights
Automatically generates:
- Student Readiness Score
- Risk Assessment
- Academic Strength Analysis
- Learning Challenges
- Personalized Recommendations
- Educational Summary
π Interactive Dashboard
Modern dashboard including:
- Radar Chart
- Risk Meter
- Academic Performance Visualization
- Confidence Indicator
- Educational Summary Cards
- AI Recommendation Panel
π Download Assessment Report
Generate a professional assessment report containing:
- Student Information
- Prediction Results
- Risk Analysis
- AI Recommendations
- Visual Analytics
π Dark Mode
- Automatic Theme Detection
- Manual Theme Toggle
- Persistent User Preference
π± Responsive Design
Optimized for:
- Desktop
- Laptop
- Tablet
- Mobile
β‘ Real-Time Prediction
Student information is processed in real time.
No student information is permanently stored.
π Secure Configuration
Application credentials are securely managed using environment variables.
No sensitive information is hardcoded.
π Project Structure
Ekalavya/
β
βββ app.py
βββ Dockerfile
βββ README.md
βββ requirements.txt
β
βββ utils/
β βββ __init__.py
β βββ ibm_wml.py
β
βββ templates/
β βββ base.html
β βββ index.html
β βββ assessment.html
β βββ result.html
β
βββ static/
βββ css/
β βββ styles.css
β
βββ js/
βββ main.jsπ Quick Start
1. Clone Repository
git clone https://github.com/yourusername/Ekalavya.git
cd Ekalavya2. Create Virtual Environment
Windows
python -m venv venv
venv\Scripts\activatemacOS / Linux
python3 -m venv venv
source venv/bin/activate3. Install Dependencies
pip install -r requirements.txt4. Configure Environment Variables
Create a .env file.
IBM_API_KEY=your_api_key
IBM_WML_URL=https://your-region.ml.cloud.ibm.com
IBM_SPACE_ID=your_space_id
IBM_DEPLOYMENT_ID=your_deployment_id
FLASK_SECRET_KEY=your_secret_key5. Run Application
python app.pyOpen your browser:
http://localhost:5000π§ Machine Learning Workflow
Student Assessment
β
βΌ
Input Validation
β
βΌ
Machine Learning Prediction
β
βΌ
Educational Risk Classification
β
βΌ
AI Insight Generation
β
βΌ
Personalized Recommendations
β
βΌ
Interactive Dashboard
β
βΌ
Assessment Reportπ Dataset Information
Prediction Classes
- β On Track
- β οΈ At Risk
- π¨ Dropout Risk
Features Used
The model evaluates multiple educational indicators including:
- Age
- Gender
- Class Grade
- School Type
- Attendance Percentage
- Mathematics Score
- Science Score
- English Score
- Social Science Score
- Previous Academic Performance
- Study Hours
- Homework Completion
- Learning Difficulty
- Internet Access
- Digital Device Availability
- Parent Education
- Parent Occupation
- Annual Family Income
- Family Size
- Distance to School
- Transportation
- Scholarship Status
- Mentoring Support
- Extracurricular Participation
- Health Issues
- Family Dropout History
- Motivation Level
- Teacher Assessment
π» Technology Stack
π³ Docker Deployment
Build the Docker image:
docker build -t ekalavya .Run the container:
docker run -p 5000:5000 --env-file .env ekalavyaπ Security
- Environment variables for credentials
- No hardcoded secrets
- Secure API communication
- Input validation
- HTTPS recommended in production
Generate a Flask Secret Key:
python -c "import secrets; print(secrets.token_hex(32))"π¦ Dependencies
π Future Roadmap
- Explainable AI (Feature Importance)
- Student Progress Tracking
- NGO Dashboard
- Teacher Dashboard
- Offline Assessment
- Multi-language Support
- Community Analytics
- Role-Based Authentication
- Mobile Application
- Cloud Database Integration
π€ Contributing
Contributions are welcome.
Feel free to fork the repository, improve the project, and submit a pull request.
π License
This project is licensed under the MIT License.
β οΈ Disclaimer
Ekalavya is an educational decision-support platform developed for research, learning, and demonstration purposes.
The predictions generated by this platform are intended to assist educators, mentors, volunteers, NGOs, and community organizations in making informed educational decisions.
They should not be considered a substitute for professional educational evaluation or institutional decision-making.
β€οΈ Acknowledgements
Built with β€οΈ using Python, Flask, Machine Learning, Bootstrap, Chart.js, Docker, and modern web technologies to promote inclusive, data-driven, and early educational intervention.
β Support
If you found this project helpful, consider giving it a β on GitHub.
Your support helps improve and expand Ekalavya for the benefit of educators and learners.
