Views
No views yet
Product_Store_Sales_Total (revenue) based on product and store attributes.| Metric | Train | Test |
|---|---|---|
| R² | 0.9714 | 0.9312 |
| RMSE | 179.95 | 280.16 |
| MAE | 65.18 | 107.08 |
1from huggingface_hub import hf_hub_download
2import joblib
3
4# Download model
5model_path = hf_hub_download(repo_id="Abhik19/sales-forecast-model", filename="best_model.joblib")
6model = joblib.load(model_path)
7
8# Make predictions
9predictions = model.predict(X)