Krishna6559's picture
Upload README.md with huggingface_hub
06edeee verified

Tourism Purchase Predictor (RandomForest)

This repository contains a tuned RandomForestClassifier for predicting ProdTaken (purchase of the tourism package).

Inference (Python)

import joblib
from huggingface_hub import hf_hub_download

model_path = hf_hub_download(repo_id="Krishna6559/tourism-purchase-predictor-rf", filename="best_model.joblib")
model = joblib.load(model_path)
# model is a sklearn Pipeline: model.predict(X) or model.predict_proba(X)