Instructions to use mazin903/tourism-package-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use mazin903/tourism-package-model with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("mazin903/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
Tourism Package Prediction Model
This model predicts whether a customer is likely to purchase the Wellness Tourism Package.
Model
- Algorithm: XGBoost binary classifier
- Preprocessing: numeric median imputation, standard scaling, categorical mode imputation, one-hot encoding
- Target:
ProdTaken - Decision use: prioritize sales outreach and campaign targeting
Training
Training uses stratified train/test splitting, class imbalance weighting, grid-search hyperparameter tuning, threshold analysis, and MLflow experiment tracking.
Evaluation
Local validation generated these representative test metrics:
- Accuracy: 0.913
- Precision: 0.764
- Recall: 0.794
- F1 score: 0.778
Limitations
The model should support human sales decisions rather than fully automate customer treatment. Predictions should be monitored over time because campaign strategy, package positioning, and customer behavior can change.
- Downloads last month
- -