Skip to content

salik702/Student-Performance-Analytics-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

14 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Typing SVG

Live Demo ย  Portfolio


๐ŸŽ“ What is Grade Predictor?

"Your habits today are your grades tomorrow. Let the data prove it."

The Student Grade Predictor is a next-generation Academic Intelligence Engine โ€” a production-grade Streamlit application powered by a Random Forest Regressor. It forecasts a student's final exam score by analyzing 20+ variables spanning academic habits, lifestyle patterns, and โ€” uniquely โ€” AI tool usage behavior.

Whether you're an educator identifying at-risk students, a student optimizing your study strategy, or an analyst researching modern learning patterns โ€” this tool delivers data-driven academic insights wrapped in a premium glassmorphism UI.


Grade Tier Score Range Classification
๐Ÿ† Excellent 85 โ€“ 100 TOP PERFORMER
โœ… Good 65 โ€“ 84 ON TRACK
โš ๏ธ Needs Support 0 โ€“ 64 INTERVENTION NEEDED

๐Ÿ–ผ๏ธ Preview

Student Grade Predictor UI Preview
โœจ Glassmorphism dark UI โ€” where machine learning meets beautiful design

๐Ÿš€ Key Features

๐Ÿ”ฎ Precision Grade Forecasting

Leverages a Random Forest Regressor ๐ŸŒณ to predict final exam scores by modeling complex non-linear relationships across 20+ academic and lifestyle variables.

๐Ÿค– AI Usage Analytics (Unique!)

Tracks the impact of ChatGPT, Gemini, and Claude on learning outcomes โ€” evaluating AI Dependency, Ethics Score, and Prompting Frequency to distinguish healthy assistance from over-reliance.

๐Ÿ“Š Holistic Student Profiling

Covers Academic Metrics (Study Hours, Attendance, Past GPA), Lifestyle Factors (Sleep Quality, Social Media), and real-time what-if sliders for instant scenario analysis.

๐ŸŽจ Premium Glassmorphism UI

Translucent containers, blur effects, animated progress bars, and color-coded performance cards โ€” all delivered inside Streamlit for a native app experience.


โš™๏ธ How It Works

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚            GRADE PREDICTOR โ€” ML PIPELINE                         โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

  ๐Ÿ“‹ USER INPUT
   โ””โ”€ Academic History ยท Lifestyle Habits ยท AI Tool Usage Patterns
        โ”‚
        โ–ผ
  ๐Ÿค– AI USAGE ANALYSIS
   โ””โ”€ Dependency Score ยท Ethics Rating ยท Prompting Frequency
        โ”‚
        โ–ผ
  ๐Ÿ”ง PREPROCESSING
   โ””โ”€ Label Encoding ยท Feature Scaling ยท Distribution Alignment
        โ”‚
        โ–ผ
  ๐ŸŒณ RANDOM FOREST REGRESSOR
   โ””โ”€ Ensemble of decision trees โ†’ averaged score prediction
        โ”‚
        โ–ผ
  ๐Ÿ“Š PREDICTION OUTPUT
   โ””โ”€ Final Score (0โ€“100) + Performance Tier + Visual Feedback Card

๐Ÿ“ˆ Model Performance

Metric Value
๐ŸŒณ Algorithm Random Forest Regressor
๐ŸŽฏ Rยฒ Score 0.8560
๐Ÿ“‰ Mean Absolute Error 4.1064
๐Ÿ“ Mean Squared Error 26.7775
๐Ÿ”ข Input Features 20+ variables
โšก Inference Real-time (< 200ms)
Key Predictor Importance (Random Forest Feature Weights)

Past Grades          โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘  ~92%
Study Consistency    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘  ~88%
AI Ethics Score      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘  ~81%
Sleep Quality        โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘  ~76%
Attendance Rate      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘  ~72%
Social Media Usage   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘  ~65%

๐Ÿ› ๏ธ Tech Stack


๐Ÿ“ฆ Local Setup

# 1๏ธโƒฃ Clone the repository
git clone <your-repo-url>
cd student-grade-predictor

# 2๏ธโƒฃ Create & activate virtual environment
python -m venv venv

# Windows
.\venv\Scripts\activate
# macOS/Linux
source venv/bin/activate

# 3๏ธโƒฃ Install dependencies
pip install -r requirements.txt

# 4๏ธโƒฃ Launch ๐Ÿš€
streamlit run app.py

Tip: The app will auto-open at http://localhost:8501 โ€” no browser config needed.


๐Ÿค Contributing

All contributions are welcome โ€” whether it's improving model accuracy, adding new feature variables, or pushing the UI further.

1. Fork the repository
2. Create your feature branch  โ†’  git checkout -b feature/SleepPatternAnalysis
3. Commit your changes         โ†’  git commit -m "Add: Sleep cycle impact modeling"
4. Push to branch              โ†’  git push origin feature/SleepPatternAnalysis
5. Open a Pull Request         โ†’  describe your changes clearly

๐Ÿ“ง Connect

Built with obsession by Salik Ahmad ๐ŸŒณ


Footer Typing



About

The Student Marks Predictor is a next-generation, interactive Streamlit application powered by machine learning using Random Forest๐ŸŒณ Model

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors