Downloads · 30 days
0
Amey9766/guest-churn-risk-hospitality
guest-churn-risk-hospitality is a machine learning model from Amey9766. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
--- license: mit tags: - hospitality - churn-prediction - customer-analytics - scikit-learn - baseline-model - review-analysis ---
Downloads · 30 days
0
Access
Public
Updated Feb 1, 2026
Repo size
1.2 KB
Likes
0
Public
Click a slice to open those files.
.md4.9 KB · 64%
From the Hugging Face model README
license: mit tags:
This model predicts guest churn risk in the hospitality context using signals extracted from guest review text.
The goal of the project is to demonstrate how unstructured review data can be transformed into structured features and used to estimate churn likelihood when direct behavioral churn data (repeat bookings, loyalty history) is not available.
This is a baseline, proxy-label model built for learning, experimentation, and portfolio demonstration purposes.
Public hotel review datasets from Kaggle, containing structured positive and negative review text.
Positive_ReviewNegative_ReviewSince true churn labels (repeat booking behavior) were not available, a proxy labeling approach was used.
From each review, the following features were engineered:
| Feature | Description |
|---|---|
pos_len | Length of positive review content |
neg_len | Length of negative review content |
total_len | Total review length |
neg_ratio | Ratio of negative content to total content |
complaint_score | Discrete score (0–5) derived from complaint intensity |
Guests with:
were treated as higher churn risk during training.
This approach allows churn-like behavior to be modeled using review text alone.
This model is intentionally simple and interpretable, serving as a strong baseline before more advanced NLP or behavioral models.
This behavior is expected for proxy-label churn models.
This model is deployed on Hugging Face and used inside a Streamlit application where:
These limitations are acknowledged and documented intentionally.
This project was built as a hands-on learning exercise to understand:
It represents a complete, end-to-end applied machine learning workflow rather than a production-ready churn system.
churn_model.joblib – trained scikit-learn modelfeatures.json – feature order and schema