This project focuses on analyzing customer reviews from the British Airways page on Airline Quality and predicting customer buying behavior using machine learning techniques.
This project is divided into two main tasks:
- Conducting sentiment analysis on British Airways customer reviews to classify them as positive or negative.
- Building a classification model to predict customer buying behavior based on structured data.
The customer reviews were retrieved from the British Airways page on Airline Quality.
- Web scraping was performed to collect unstructured data.
- Text preprocessing techniques (e.g., tokenization, stop-word removal) were applied.
- Sentiment analysis was conducted to classify reviews as positive or negative.
- Insights and analysis were summarized in a PowerPoint presentation.
Creating a classification model to predict customer buying behavior.
The dataset exhibited a significant class imbalance, making it difficult for models to accurately predict positive class instances.
- Implemented several classification models.
- Performed cross-validation and hyperparameter tuning to optimize model performance.
- Used SMOTE (Synthetic Minority Over-sampling Technique) to address the class imbalance.
- All models struggled with accurately predicting the positive class due to class imbalance.
- Predictions were skewed towards the majority class, impacting the ability to generalize.
- SMOTE helped improve the model's performance in handling the positive class, but the results were still suboptimal.