Spaces:
Sleeping
Sleeping
add readme
Browse files
README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: SKS Course Enrollment Predictor
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: green
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 4.44.1
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# SKS Course Enrollment Prediction System
|
| 13 |
+
|
| 14 |
+
Predicts student enrollment for elective courses using Prophet time series forecasting with semester-specific analysis.
|
| 15 |
+
|
| 16 |
+
## π― Features
|
| 17 |
+
|
| 18 |
+
- **Semester-Specific Predictions**: Separate predictions for Semester 1 (Ganjil/Odd) and Semester 2 (Genap/Even)
|
| 19 |
+
- **Time Series Forecasting**: Uses Facebook Prophet for accurate enrollment predictions
|
| 20 |
+
- **Historical Backtesting**: Validates model accuracy with MAE and RMSE metrics
|
| 21 |
+
- **Automated Recommendations**: Suggests which courses to open based on predicted demand
|
| 22 |
+
- **Private Data**: Loads enrollment data from private Hugging Face dataset
|
| 23 |
+
|
| 24 |
+
## π How It Works
|
| 25 |
+
|
| 26 |
+
1. **Select Target Year and Semester**: Choose the academic period to predict
|
| 27 |
+
2. **Generate Predictions**: AI analyzes historical enrollment patterns
|
| 28 |
+
3. **View Recommendations**: See which courses should be opened and recommended quotas
|
| 29 |
+
4. **Review Metrics**: Check model performance (MAE, RMSE)
|
| 30 |
+
|
| 31 |
+
## π Prediction Strategy
|
| 32 |
+
|
| 33 |
+
The system uses multiple forecasting strategies:
|
| 34 |
+
- **Prophet Logistic Growth**: For courses with sufficient historical data
|
| 35 |
+
- **Trend-Based Fallback**: For courses with unrealistic Prophet predictions
|
| 36 |
+
- **Mean Fallback**: For courses with limited history
|
| 37 |
+
- **Cold Start**: For new courses without historical data
|
| 38 |
+
|
| 39 |
+
## π οΈ Technical Stack
|
| 40 |
+
|
| 41 |
+
- **Framework**: Gradio for UI
|
| 42 |
+
- **ML Model**: Facebook Prophet
|
| 43 |
+
- **Data Processing**: Pandas, NumPy
|
| 44 |
+
- **Deployment**: Hugging Face Spaces
|
| 45 |
+
|
| 46 |
+
## π Model Performance
|
| 47 |
+
|
| 48 |
+
The model is validated through backtesting on historical data:
|
| 49 |
+
- Mean Absolute Error (MAE): ~31 students
|
| 50 |
+
- Root Mean Squared Error (RMSE): ~49 students
|