Instructions to use Marco8000/visit-with-us-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use Marco8000/visit-with-us-model with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("Marco8000/visit-with-us-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
Visit with Us - Wellness Tourism Package purchase model
Best model after hyperparameter tuning: xgboost
Best parameters: {'xgbclassifier__learning_rate': 0.1, 'xgbclassifier__max_depth': 5, 'xgbclassifier__n_estimators': 200}
Serving threshold: 0.45 (selected from out-of-fold training F1).
Test set metrics at the selected threshold
- accuracy: 0.9091
- precision: 0.7470
- recall: 0.8000
- f1: 0.7726
- roc_auc: 0.9276
Trained on Marco8000/visit-with-us-dataset (train.csv / test.csv). Load with joblib.load('best_tourism_model_v1.joblib').
- Downloads last month
- -