|
|
--- |
|
|
title: SuperKart Sales Prediction API |
|
|
emoji: 🧮 |
|
|
colorFrom: indigo |
|
|
colorTo: green |
|
|
sdk: docker |
|
|
app_file: app.py |
|
|
pinned: false |
|
|
--- |
|
|
|
|
|
# SuperKart Sales Prediction API |
|
|
|
|
|
This backend provides two endpoints for online and batch sales prediction. |
|
|
|
|
|
### 🔹 `/v1/sales` |
|
|
- Accepts a JSON payload for a single prediction |
|
|
- Example: |
|
|
```json |
|
|
{ |
|
|
"Product_Weight": 10.0, |
|
|
"Product_Allocated_Area": 0.05, |
|
|
"Product_MRP": 100.0, |
|
|
"Store_Establishment_Year": 2005, |
|
|
"Product_Sugar_Content": "Low Sugar", |
|
|
"Product_Type": "Dairy", |
|
|
"Store_Size": "Medium", |
|
|
"Store_Location_City_Type": "Tier 2", |
|
|
"Store_Type": "Supermarket Type1" |
|
|
} |
|
|
|