This repository contains the best-performing model for predicting tourism propensity, selected based on its F1-score on the test set.
1import joblib
2from huggingface_hub import HfApi
3
4# Download the model (assuming you have the `hf_hub_download` utility)
5# from huggingface_hub import hf_hub_download
6# model_path = hf_hub_download(repo_id="dash-binayak92/tourism-propensity-best-model", filename="tourism_propensity_best_model.joblib")
7
8# Load the model
9best_model = joblib.load('tourism_propensity_best_model.joblib') # or use model_path if downloaded
10
11# Make predictions (example X_test needs to be in the same format as training data)
12# y_pred = best_model.predict(X_test)
13# print(y_pred)