Instructions to use Bakalo/tourism-package-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use Bakalo/tourism-package-model with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("Bakalo/tourism-package-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
Wellness Tourism Package - purchase prediction
Best model: XGBoost (selected by 5-fold CV F1). Decision threshold: 0.499 (tuned on out-of-fold training predictions).
| Split | Accuracy | Precision | Recall | F1 | ROC-AUC |
|---|---|---|---|---|---|
| Train | 0.999 | 0.995 | 1.000 | 0.998 | 1.000 |
| Test | 0.922 | 0.829 | 0.748 | 0.786 | 0.941 |
Load it with joblib.load(...) -> dict with keys model, threshold, feature_columns, model_name.
- Downloads last month
- -