CoolFace
Apppublic

divyanshukr283/ekalavya

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
App README

πŸŽ“ 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

bash
git clone https://github.com/yourusername/Ekalavya.git

cd Ekalavya

2. Create Virtual Environment

Windows

bash
python -m venv venv

venv\Scripts\activate

macOS / Linux

bash
python3 -m venv venv

source venv/bin/activate

3. Install Dependencies

bash
pip install -r requirements.txt

4. Configure Environment Variables

Create a .env file.

env
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_key

5. Run Application

bash
python app.py

Open 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

PropertyValue
DatasetEkalavya Student Dataset
Dataset TypeSynthetic Educational Dataset
Records10,000
Features29
Prediction Classes3
Prediction TypeMulticlass Classification

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

TechnologyPurpose
PythonBackend Programming
FlaskWeb Framework
Machine LearningStudent Risk Prediction
HTML5Frontend
CSS3Styling
JavaScriptUser Interaction
BootstrapResponsive UI
Chart.jsData Visualization
GunicornProduction Server
DockerContainerization

🐳 Docker Deployment

Build the Docker image:

bash
docker build -t ekalavya .

Run the container:

bash
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:

bash
python -c "import secrets; print(secrets.token_hex(32))"

πŸ“¦ Dependencies

PackagePurpose
FlaskWeb Framework
WerkzeugWSGI Utilities
python-dotenvEnvironment Variables
requestsREST API Communication
gunicornProduction Server

πŸš€ 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.