Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Test Score Predictor (XGBoost)
|
| 2 |
|
| 3 |
This model predicts **final test scores** for students based on previous performance and study habits.
|
|
@@ -58,4 +86,12 @@ student = pd.DataFrame([{
|
|
| 58 |
# Predict final score
|
| 59 |
prediction = model.predict(student)[0]
|
| 60 |
print(f"Predicted final test score: {prediction:.2f}")
|
| 61 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
tags:
|
| 5 |
+
- xgboost
|
| 6 |
+
- regression
|
| 7 |
+
- tabular
|
| 8 |
+
- education
|
| 9 |
+
- test-scores
|
| 10 |
+
license: mit
|
| 11 |
+
datasets:
|
| 12 |
+
- synthetic
|
| 13 |
+
model-index:
|
| 14 |
+
- name: test-score-predictor
|
| 15 |
+
results:
|
| 16 |
+
- task:
|
| 17 |
+
type: regression
|
| 18 |
+
name: Regression
|
| 19 |
+
dataset:
|
| 20 |
+
name: Synthetic Test Score Dataset
|
| 21 |
+
type: tabular
|
| 22 |
+
metrics:
|
| 23 |
+
- type: mean_squared_error
|
| 24 |
+
value: 38.25
|
| 25 |
+
- type: r2
|
| 26 |
+
value: 0.79
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
# Test Score Predictor (XGBoost)
|
| 30 |
|
| 31 |
This model predicts **final test scores** for students based on previous performance and study habits.
|
|
|
|
| 86 |
# Predict final score
|
| 87 |
prediction = model.predict(student)[0]
|
| 88 |
print(f"Predicted final test score: {prediction:.2f}")
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
+
## 📈 Training
|
| 92 |
+
- Algorithm: XGBoost Regressor
|
| 93 |
+
- Dataset: 1,000 rows synthetic (realistic student performance simulation)
|
| 94 |
+
|
| 95 |
+
Metrics on test set:
|
| 96 |
+
- MSE: ~38.25
|
| 97 |
+
- R²: ~0.79
|