Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
tags:
|
| 4 |
+
- sklearn
|
| 5 |
+
- regression
|
| 6 |
+
- sales-forecast
|
| 7 |
+
- RandomForest
|
| 8 |
+
library_name: sklearn
|
| 9 |
+
metrics:
|
| 10 |
+
- rmse
|
| 11 |
+
- r2
|
| 12 |
+
model-index:
|
| 13 |
+
- name: RandomForest
|
| 14 |
+
results:
|
| 15 |
+
- task:
|
| 16 |
+
type: tabular-regression
|
| 17 |
+
name: Sales Forecasting
|
| 18 |
+
dataset:
|
| 19 |
+
name: SuperKart Data
|
| 20 |
+
type: tabular
|
| 21 |
+
metrics:
|
| 22 |
+
- type: rmse
|
| 23 |
+
value: 280.8543593979435
|
| 24 |
+
- type: r2
|
| 25 |
+
value: 0.9308695977150697
|
| 26 |
+
---
|
| 27 |
+
# SuperKart Sales Prediction Model
|
| 28 |
+
|
| 29 |
+
## Model Description
|
| 30 |
+
This is a **RandomForest** model trained to predict sales revenue (`Product_Store_Sales_Total`) for SuperKart stores.
|
| 31 |
+
It utilizes a Scikit-Learn Pipeline that handles:
|
| 32 |
+
1. **Preprocessing**: OneHotEncoding for categorical variables and Scaling for numerical variables.
|
| 33 |
+
2. **Modeling**: The best performing regressor selected from Random Forest, Gradient Boosting, and XGBoost.
|
| 34 |
+
|
| 35 |
+
## Performance
|
| 36 |
+
- **RMSE**: 280.8544
|
| 37 |
+
- **R2 Score**: 0.9309
|
| 38 |
+
- **MAE**: 114.7186
|
| 39 |
+
|
| 40 |
+
## Usage
|
| 41 |
+
This model expects a pandas DataFrame with the same columns as the training set (Product_Weight, Product_Sugar_Content, etc.).
|