Instructions to use RoxMoni/coffee-sales-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use RoxMoni/coffee-sales-classifier with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("RoxMoni/coffee-sales-classifier", "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
RandomForest pipeline for drink prediction. Metrics:
{
"best_params": {
"clf__max_depth": 10,
"clf__min_samples_leaf": 1,
"clf__n_estimators": 138
},
"cv_best_f1_macro": 0.21688023818017332,
"test_accuracy": 0.23763736263736263,
"test_f1_macro": 0.2277550070479127,
"feature_columns": [
"hour",
"day_of_week",
"month",
"is_weekend",
"cash_type",
"has_card"
],
"classes": [
"Americano",
"Americano with Milk",
"Cappuccino",
"Cocoa",
"Cortado",
"Espresso",
"Hot Chocolate",
"Latte"
]
}
- Downloads last month
- -
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support