DetectiveShadow commited on
Commit
8d4249c
·
verified ·
1 Parent(s): b481575

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +8 -28
README.md CHANGED
@@ -1,30 +1,10 @@
1
- # Grade Predictor (Regression)
 
2
 
3
- Trained from dataset: **DetectiveShadow/Grade_Data**
 
4
 
5
- **Best model:** RandomForestRegressor
6
- **Metrics:** = 0.136 RMSE = 10.07 • MAE = 7.96
7
-
8
- ## Expected Features
9
- - Numeric: ['grade_level', 'attendance', 'hours_studied', 'quizzes_avg', 'confidence']
10
- - Categorical: ['subject', 'course_difficulty', 'group_or_solo']
11
- - Target: final_grade
12
-
13
- ## Quick Start
14
- ```python
15
- from huggingface_hub import hf_hub_download
16
- import joblib, pandas as pd
17
-
18
- pipe = joblib.load(hf_hub_download("DetectiveShadow/Grade_predictor", "grade_predictor.pkl"))
19
- sample = pd.DataFrame([{
20
- "attendance": 0.95,
21
- "hours_studied": 12,
22
- "quizzes_avg": 85,
23
- "confidence": 7,
24
- "grade_level": 11,
25
- "subject": "Math",
26
- "course_difficulty": "Honors",
27
- "group_or_solo": "Solo"
28
- }])
29
- print("Predicted final grade:", pipe.predict(sample)[0])
30
- ```
 
1
+ # Assignment Predictor (Regression)
2
+ Trained from DetectiveShadow/Grade_Data
3
 
4
+ Best model: LinearRegression
5
+ Metrics: R2=0.682, RMSE=3.19, MAE=2.36
6
 
7
+ Expected features:
8
+ - Numeric: ['grade_level', 'attendance', 'hours_studied', 'confidence_before_assessment']
9
+ - Categorical: ['subject', 'course_difficulty', 'assignment_type']
10
+ Target: assignment_scores