Airline Customer Sentiment Analysis Using Machine Learning - Final Year Project with Source Code
Airline Customer Sentiment Analysis Using Machine Learning - Complete Project Demo Video
Watch Demo Video
Machine Learning

Airline Customer Sentiment Analysis Using Machine Learning

The Airline Customer Sentiment Analysis Using Machine Learning system is a comprehensive machine learning and NLP solution that analyzes airline-related tweets to classify customer sentiment into negative, neutral, or positive categories. This project is ideal for B.Tech, MCA, CSE, and engineering students as their final year project. It uses advanced ensemble algorithms like XGBoost and Random Forest with TF-IDF vectorization to achieve 82.34% accuracy.

The system leverages text preprocessing, feature engineering (TF-IDF vectorization, sentiment word scores, confidence metrics), and leak-free validation using SMOTE within cross-validation folds. It provides interactive visualizations, feature importance analysis, model comparison, and real-time sentiment prediction to help airlines monitor brand perception and improve customer satisfaction.

Python 3.8+ Machine Learning NLP XGBoost Random Forest TF-IDF SMOTE Scikit-learn NLTK Pandas NumPy Matplotlib Seaborn Flask HTML/CSS/JS
Key Features:
  • Multi-Class Sentiment Classification
  • XGBoost (82.34% Accuracy)
  • Random Forest (79.87% Accuracy)
  • TF-IDF Text Feature Extraction
  • SMOTE for Class Imbalance
  • Leak-Free 5-Fold CV Validation
  • Feature Importance Analysis
  • Real-time Sentiment Prediction
  • Interactive Visualizations
  • Flask Web Application

Algorithms Used

⚡ XGBoost Classifier
Optimized gradient boosting with regularization, handles class imbalance, multi-class support
🎯 Accuracy: 82.34%
🌲 Random Forest Classifier
Ensemble learning with 200 trees, handles high-dimensional TF-IDF features effectively
🎯 Accuracy: 79.87%
📝 TF-IDF Vectorizer
Text feature extraction with 5000+ features, captures term importance
📊 Features: 5000+
🔍 SMOTE + 5-Fold CV
Synthetic minority oversampling within cross-validation folds
📊 XGB CV: 81.28% ± 0.98%

Methodology & Workflow

1 Data Loading & Inspection
Twitter dataset with 14,640 tweets from 6 airlines
2 Text Preprocessing
Cleaning, tokenization, stopword removal, lemmatization
3 Feature Engineering
TF-IDF vectorization, sentiment word scores, confidence features
4 Model Training
XGBoost & Random Forest with optimized hyperparameters
5 Model Evaluation
Accuracy, Precision, Recall, F1-Score, ROC-AUC, 5-fold CV
6 Web Deployment
Flask web app for real-time sentiment prediction

Model Performance Comparison

Metric XGBoost Random Forest Best
Accuracy 0.8234 0.7987 XGBoost
Precision (Weighted) 0.8201 0.7912 XGBoost
Recall (Weighted) 0.8234 0.7987 XGBoost
F1-Score (Weighted) 0.8192 0.7921 XGBoost
ROC-AUC (Weighted) 0.8721 0.8534 XGBoost
CV Mean (5-Fold) 0.8128 0.7845 XGBoost

Project Package Includes:

Complete Source Code Documentation (50+ pages) Video Tutorial Dataset (14,640 tweets) Flask Web App Model Files (Pickle) Visualizations 24/7 Expert Support
Check Payment Status
LIMITED TIME OFFER -70%
Complete Project Package Lifetime Access
Original Price
9,999
Today's Price 2,999 💎 Save ₹7,000
You Save ₹7,000 (70% OFF)
Complete Source Code
Documentation & PPT
Video Tutorial
24/7 Expert Support

Scan & Pay with UPI

SECURE
UPI QR Code
Payee Thirumalai Kumar
UPI ID 9600095045@icici
Amount ₹2,999

Submit Your Payment

100% SECURE
Payment Details

Enter your UPI Transaction ID and upload payment screenshot for verification.

📚 Academic & Research Support Services
Need help with Thesis, Dissertation, Assignments, or PhD Research? We've got you covered!
📝

Thesis & Dissertation

Complete thesis writing, research guidance, and formatting support

Expert Help
📄

Assignment Help

Quality assignment writing, editing, and proofreading services

100% Original
🔬

PhD Research

Research proposal, literature review, data analysis & publication

PhD Level
📊

Project Guidance

Academic projects, mini projects, and final year project support

Hands-on
📞 Need custom support? Contact us directly!
Chat on WhatsApp
Chat with us 💬