Instructions to use cadambank/superkart-sales-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use cadambank/superkart-sales-model with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("cadambank/superkart-sales-model", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
SuperKart Sales Forecast Model
Predicts Product_Store_Sales_Total for a product in a store.
- Algorithm: RandomForest inside a scikit-learn Pipeline (one-hot encoding + model)
- Best hyper-parameters:
{'max_depth': None, 'min_samples_leaf': 5, 'n_estimators': 100} - Test metrics: RMSE 281.67 | MAE 106.14 | R2 0.9305 | MAPE 3.86%
- Training data: cadambank/superkart-sales-data
import joblib
from huggingface_hub import hf_hub_download
model = joblib.load(hf_hub_download("cadambank/superkart-sales-model", "superkart_sales_model_v1.joblib"))
- Downloads last month
- -