SuperKart Sales Prediction (RandomForest)
What this is
A tuned scikit-learn Pipeline (preprocessing + RandomForestRegressor) trained on SuperKart.
Test Metrics
- RMSE: 278.7714703455879
- MAE: 104.95321421927389
- R2: 0.9318911736036861
How to load
import joblib
from huggingface_hub import hf_hub_download
repo_id = "SabarnaDeb/superkart-sales-rf"
path = hf_hub_download(repo_id=repo_id, filename="superkart_best_model.joblib")
model = joblib.load(path)
# X is a pandas DataFrame with the same feature columns used in training
preds = model.predict(X)