Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.15.2
LuxeRate AI: Booking Risk & Service Perception Dashboard
π¨ Project Overview
LuxeRate AI is an advanced analytics dashboard designed for the hospitality industry. It addresses the critical business challenge:
βHow can a hotel optimize pricing while reducing cancellation risk and monitoring service quality perception?β
This project was developed for the AI for Big Data Management course to demonstrate the integration of machine learning, natural language processing (NLP), and workflow automation.
β¨ Key Features
- Booking Risk Predictor: Uses a Random Forest Classifier to predict the likelihood of a booking being canceled based on lead time, customer history, and seasonality.
- Review Sentiment Analyzer: Leverages NLTK VADER to provide real-time sentiment analysis and keyword-based aspect detection (Cleanliness, Service, Value, etc.).
- n8n Automation: Features a built-in webhook connector to send analysis results to n8n, enabling automated business workflows like Slack notifications or dynamic CRM updates.
π Required Files
To run this Space, ensure the following files are in the root directory:
app.py: The main application logic.requirements.txt: Python dependencies.hotel_bookings_cleaned_enriched.csv: Pre-processed booking data.reviews_with_sentiment_output.csv: Historical review data for benchmarking.feature_importance_output.csv: Pre-calculated model insights.
π How to Run Locally
- Clone the repository.
- Install dependencies:
pip install -r requirements.txt - Run the app:
python app.py - Open
http://localhost:7860in your browser.
π n8n Integration
- In n8n, create a Webhook Node (HTTP POST).
- Copy the Webhook URL.
- Paste the URL into the "n8n Automation" tab in LuxeRate AI.
- Perform an analysis in Tab 1 or Tab 2, then click "Send Latest Analysis".
Developed for AI for Big Data Management Course Project.