DeltaSatellite1 commited on
Commit
86bb620
·
verified ·
1 Parent(s): b4a3f0e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +49 -0
README.md CHANGED
@@ -1,3 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
1
  # AutoGluon Tabular Model
2
 
3
  This is a regression model trained to predict grade scores.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ license: apache-2.0
4
+ tags:
5
+ - tabular
6
+ - regression
7
+ - autogluon
8
+ metrics:
9
+ - rmse
10
+ ---
11
+
12
  # AutoGluon Tabular Model
13
 
14
  This is a regression model trained to predict grade scores.
15
+
16
+ ## Usage
17
+
18
+ ```python
19
+ from autogluon.tabular import TabularPredictor
20
+ from huggingface_hub import snapshot_download
21
+ import pandas as pd
22
+
23
+ model_dir = snapshot_download(repo_id="DeltaSatellite1/grade_prediction")
24
+ predictor = TabularPredictor.load(model_dir)
25
+
26
+ # Example DataFrame
27
+ df = pd.DataFrame([{
28
+ "weighted gpa":3.6,
29
+ "term gpa":3.5,
30
+ "class grade": 90,
31
+ "assigned date":"9/22/2025",
32
+ "due date":"9/29/2025",
33
+ "field":"Math",
34
+ "field average (%)": 90,
35
+ "category":"Test",
36
+ "category weight":0.7,
37
+ "category average":90,
38
+ "daily hours available":9,
39
+ "days before due":9,
40
+ "difficulty":"High",
41
+ "field proficiency":"High",
42
+ "teacher experience": "High",
43
+ "work day positivity": "High",
44
+ "incentive":"High",
45
+ "confidence":"High",
46
+ "attendence":"High",
47
+ "participation":"High",
48
+ "procrastination": "high"
49
+ }])
50
+
51
+ # Example prediction
52
+ print(predictor.predict(df))