Skip to content

AI-Powered Student Result Analysis Workflow This project extends a traditional Power BI student marks dashboard into a complete AI-enabled workflow. It automates the process of analyzing student performance, predicting outcomes, and delivering actionable insights using Python (ML models), Microsoft Copilot, and Power Automate.

License

Notifications You must be signed in to change notification settings

rajghosh06-dev/student-ai-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Python scikit-learn PowerBI Automation Copilot Status License

Student AI Workflow

Overview

This project is part of the Microsoft Elevate Internship (December 2025 Batch).
It extends a Power BI student marks dashboard into an AI-powered workflow using Python, Copilot, and Power Automate.
The goal is to automate student performance analysis, generate predictions, and deliver insights through a modular, reproducible pipeline.


Features

  • Power BI dashboard with KPIs, grade distribution, and subject averages
  • Student marks dataset (Excel) for rule-based and predictive analysis
  • Python ML pipeline (scikit-learn) for pass/fail and grade prediction
  • Copilot-generated insights and conditional formatting logic
  • Power Automate workflow for automated reporting and refresh
  • Organized folder structure for reproducibility and clarity

Tech Stack

  • Python (*required) β†’ Download
    Libraries: pandas, scikit-learn, joblib, openpyxl
  • Power BI Desktop (*required) β†’ Download

Future Extensions (Optional)

  • Microsoft Power Automate β†’ Can be added by users for workflow automation/reporting
  • Microsoft Copilot β†’ Can be integrated via Copilot Studio to build AI agents

Screenshots

πŸ”Ή Run Pipeline [1st]

Code Running Overview

πŸ”Ή Train Model [2nd]

Code Running Overview

πŸ”Ή Marks & Result Analysis Dashboard [3rd]

Dashboard Overview

πŸ”Ή AI Prediction & Comparative Analysis Dashboard [4th]

Dashboard Overview

πŸ”Ή Marks & Result Analysis [5th]

Dashboard Overview

πŸ”Ή AI Prediction & Comparative Analysis [6th]

Dashboard Overview


To view the main project file: Click here

NOTE: This file requries an compatible app for opening. Refer Tech Stack for more information.


Project Structure

student-ai-workflow/
β”œβ”€ data/
β”‚   β”œβ”€ raw/
β”‚   β”‚   └─ Student_Marks_Result_Analysis_MS-ELEVATE_CO-PILOT_PROJECT_DATASET_RISHIT-GHOSH.xlsx
β”‚   └─ processed/
β”‚       β”œβ”€ student_predictions_20260115_151427.csv
β”‚       └─ student_predictions_latest.csv
β”œβ”€ docs/
β”‚   └─ screenshots/          # Dashboard visuals
β”œβ”€ exports/
β”‚   β”œβ”€ AI-Prediction-and-Comparative-Analysis_MS-ELEVATE_CO-PILOT_PROJECT_RISHIT-GHOSH.pdf
β”‚   └─ Student_Marks_Result_Analysis_MS-ELEVATE_CO-PILOT_PROJECT_PRESENTATION_RISHIT-GHOSH.pdf
β”œβ”€ models/
β”‚   └─ pass_classifier.pkl   # Trained ML model
β”œβ”€ powerbi/
β”‚   └─ Student_Marks_Result_Analysis_MS-ELEVATE_CO-PILOT_PROJECT_RISHIT-GHOSH.pbix
β”œβ”€ presentation/
β”‚   β”œβ”€ Student_Marks_Result_Analysis_MS-ELEVATE_CO-PILOT_PROJECT_PRESENTATION_RISHIT-GHOSH.pptx
β”‚   └─ Student_Marks_Result_Analysis_MS-ELEVATE_CO-PILOT_PROJECT_PRESENTATION_RISHIT-GHOSH.pdf
β”œβ”€ scripts/
β”‚   β”œβ”€ train_model.py        # Model training script
β”‚   └─ run_pipeline.py       # Prediction and export pipeline
β”œβ”€ venv/                     # Python virtual environment
β”œβ”€ .gitignore
β”œβ”€ LICENSE
β”œβ”€ README.md
└─ requirements.txt


How to Run

1. Set up environment

python -m venv venv
.\venv\Scripts\Activate   # On Windows

2. Install dependencies

pip install -r requirements.txt

3. Train the model

python scripts/train_model.py

4. Run prediction pipeline

python scripts/run_pipeline.py

5. Open Power BI dashboard

  • Navigate to powerbi/Student_Marks_Result_Analysis_MS-ELEVATE_CO-PILOT_PROJECT_RISHIT-GHOSH.pbix
  • Click Refresh to load latest predictions

Dashboard Pages

1. Marks & Result Analysis

  • Rule-based evaluation of student marks
  • KPIs: Total Students, Average Marks, Pass %, Top Scorer
  • Visuals: Pass/Fail pie chart, subject averages, student table

2. AI Predictions & Comparative Analysis

  • AI-driven predictions vs rule-based outcomes
  • KPIs: Predicted Pass %, Average Overall Marks
  • Visuals: Grade distribution, subject averages, pass % comparison
  • Student-level prediction table with conditional formatting

How It Works

This project automates student performance analysis using a modular AI workflow built with Python and Power BI. Here's a breakdown of how the system operates:

1. Raw Data Ingestion

  • The student marks dataset (.xlsx) is stored in data/raw/.
  • It contains subject-wise scores for each student, along with identifiers like StudentID and Name.

2. Preprocessing & Feature Engineering

  • The script run_pipeline.py reads the Excel file and computes:
    • Subject-wise average marks
    • Overall average score
    • Minimum subject mark
  • These features are used to derive rule-based outcomes:
    • Rule_Pass: Pass if OverallAvg β‰₯ 40 and MinSubjectMark β‰₯ 35
    • Rule_Grade: Grade assigned using thresholds β†’ A (β‰₯75), B (60–74), C (<60)

3. Model Prediction

  • A pre-trained Logistic Regression model (pass_classifier.pkl) is loaded from models/.
  • It predicts whether a student will pass based on the engineered features.
  • Predicted grades are also assigned using the same thresholds on OverallAvg.

4. Exporting Results

  • The final student-level view includes:
    • Rule-based vs Predicted Pass/Fail
    • Rule-based vs Predicted Grade
  • Two CSVs are saved in data/processed/:
    • student_predictions_<timestamp>.csv β†’ For historical tracking
    • student_predictions_latest.csv β†’ Used by Power BI for dashboard refresh

5. Dashboard Visualization

  • Power BI loads the latest CSV and displays:
    • Comparative KPIs (Pass %, Grade Distribution)
    • Charts (Pie, Bar)
    • Student-level performance table with conditional formatting
  • Two dashboard pages:
    • Marks & Result Analysis (Rule-based)
    • AI Predictions & Comparative Analysis (ML-based)

Notes

  • Sample tables show 7–8 rows for layout clarity; full dataset is available in data/processed/
  • Dashboard visuals are stored in docs/screenshots/
  • Project authored by Rishit Ghosh as part of the Microsoft Elevate Internship


Author

Developed by RISHIT GHOSH
B.Tech CSE (AI & ML), Geethanjali College of Engineering and Technology
MS Elevate Internship | Capstone Project | December 2025 Batch | Microsoft Copilot
Check out my Portfolio here.


License

This project is for academic and internship purposes.
Feel free to reference or adapt with proper credit.


πŸ”— References

NOTE: The Dataset used for this Project was not taken from any other source.



Extras

Notes on pass_classifier.pkl

The file pass_classifier.pkl is a serialized machine learning model created during training.
It contains the logic and parameters of the classifier used to predict whether a student will pass (1) or fail (0) based on their marks.

  • How it’s created:
    Generated by running train_model.py, which trains the model using scikit-learn and saves it with joblib or pickle.

  • What it stores:

    • The chosen algorithm (e.g., Logistic Regression, Decision Tree, etc.)
    • Learned weights/parameters from the training dataset
    • Any preprocessing steps included in the pipeline
  • How it’s used:
    When you run run_pipeline.py, the .pkl file is loaded and applied to new student data to generate predictions (Predicted_Pass, Predicted_Grade).

Example usage:

import joblib

# Load trained model
model = joblib.load('models/pass_classifier.pkl')

# Predict outcomes
predictions = model.predict(X_test)

This ensures consistency β€” the same trained model can be reused without retraining every time.


About

AI-Powered Student Result Analysis Workflow This project extends a traditional Power BI student marks dashboard into a complete AI-enabled workflow. It automates the process of analyzing student performance, predicting outcomes, and delivering actionable insights using Python (ML models), Microsoft Copilot, and Power Automate.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages