Instructions to use ninad4518/tourism-wellness-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use ninad4518/tourism-wellness-model with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("ninad4518/tourism-wellness-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 model
Model: XGBoost (scikit-learn Pipeline incl. preprocessing). Decision threshold: 0.45.
Test metrics: accuracy=0.944, precision=0.855, recall=0.855, f1=0.855, roc_auc=0.977
precision recall f1-score support
No purchase 0.97 0.97 0.97 667
Purchase 0.86 0.86 0.86 159
accuracy 0.94 826
macro avg 0.91 0.91 0.91 826
weighted avg 0.94 0.94 0.94 826
- Downloads last month
- -