mjpsm / test-score-predictor

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: September 13 2025

Introduction of test-score-predictor

Model Details of test-score-predictor

Test Score Predictor (XGBoost)

This model predicts final test scores for students based on previous performance and study habits.
It was trained on a synthetic dataset of 1,000 rows generated to reflect average realism (balanced distribution of student profiles).


📊 Input Features

The model expects the following features:

  • previous_test_score → Student’s most recent test score (0–100)
  • motivation_level → Self-reported motivation (1–10)
  • self_confidence → Confidence in academic ability (1–10)
  • study_environment_quality → Quality of study environment (1–10, quiet & focused = higher)
  • time_management_skill → Time management ability (1–10)
  • last_minute_cram_hours → Hours crammed the night before the test (0–12)

🎯 Output
  • Predicted final test score (0–100)
  • Can also be mapped to a letter grade (A–F)
Score Range Grade
90–100 A
80–89 B
70–79 C
60–69 D
< 60 F

🛠️ Usage
1. Install dependencies
pip install xgboost scikit-learn pandas joblib huggingface_hub
import joblib
import pandas as pd
from huggingface_hub import hf_hub_download

# Download model file from Hugging Face repo
model_path = hf_hub_download(
    repo_id="mjpsm/test-score-predictor",
    filename="xgb_test_score_model.pkl"
)

# Load the model
model = joblib.load(model_path)

# Example student
student = pd.DataFrame([{
    "previous_test_score": 72,
    "motivation_level": 8,
    "self_confidence": 7,
    "study_environment_quality": 6,
    "time_management_skill": 5,
    "last_minute_cram_hours": 3
}])

# Predict final score
prediction = model.predict(student)[0]
print(f"Predicted final test score: {prediction:.2f}")
📈 Training
  • Algorithm: XGBoost Regressor
  • Dataset: 1,000 rows synthetic (realistic student performance simulation)

Metrics on test set:

  • MSE: ~38.25
  • R²: ~0.79
📌 Notes
  • Predictions are continuous values, so results may slightly exceed 100 — clamp to [0, 100] if needed.
  • The dataset reflects average realism: some students improve, some decline, depending on habits and prior scores.

Runs of mjpsm test-score-predictor on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About test-score-predictor huggingface.co Model

More test-score-predictor license Visit here:

https://choosealicense.com/licenses/mit

test-score-predictor huggingface.co

test-score-predictor huggingface.co is an AI model on huggingface.co that provides test-score-predictor's model effect (), which can be used instantly with this mjpsm test-score-predictor model. huggingface.co supports a free trial of the test-score-predictor model, and also provides paid use of the test-score-predictor. Support call test-score-predictor model through api, including Node.js, Python, http.

test-score-predictor huggingface.co Url

https://huggingface.co/mjpsm/test-score-predictor

mjpsm test-score-predictor online free

test-score-predictor huggingface.co is an online trial and call api platform, which integrates test-score-predictor's modeling effects, including api services, and provides a free online trial of test-score-predictor, you can try test-score-predictor online for free by clicking the link below.

mjpsm test-score-predictor online free url in huggingface.co:

https://huggingface.co/mjpsm/test-score-predictor

test-score-predictor install

test-score-predictor is an open source model from GitHub that offers a free installation service, and any user can find test-score-predictor on GitHub to install. At the same time, huggingface.co provides the effect of test-score-predictor install, users can directly use test-score-predictor installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

test-score-predictor install url in huggingface.co:

https://huggingface.co/mjpsm/test-score-predictor

Url of test-score-predictor

test-score-predictor huggingface.co Url

Provider of test-score-predictor huggingface.co

mjpsm
ORGANIZATIONS

Other API from mjpsm

huggingface.co

Total runs: 207
Run Growth: 0
Growth Rate: 0.00%
Updated:January 01 2025
huggingface.co

Total runs: 16
Run Growth: 0
Growth Rate: 0.00%
Updated:December 31 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 28 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 30 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 28 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 28 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 25 2025