Customer Sentiment Intelligence Platform
Transforming customer feedback into actionable business intelligence using Machine Learning, Natural Language Processing, Explainable AI, Power BI, and Streamlit.
InsightPulse AI is an end-to-end customer sentiment intelligence platform developed using a real-world e-commerce case study for ShopEase Europe.
The platform automatically analyses customer reviews, predicts customer sentiment, identifies the key drivers behind customer satisfaction and dissatisfaction, and presents business insights through interactive dashboards and a modern web application.
Rather than simply predicting sentiment, InsightPulse AI enables organisations to understand why customers feel the way they do, supporting faster and more informed business decisions.
ShopEase Europe receives thousands of customer reviews every day from multiple countries and digital channels.
Manual analysis of this feedback had become increasingly difficult because of:
- Growing review volumes
- Inconsistent manual categorisation
- Slow reporting
- Limited visibility into customer pain points
As a result, opportunities to improve customer experience were often identified too late.
InsightPulse AI was developed to automate this process.
InsightPulse AI provides a complete analytics pipeline that transforms raw customer reviews into business intelligence.
- Automated sentiment prediction
- Customer review preprocessing
- Language detection
- TF-IDF feature extraction
- Machine Learning classification
- SHAP Explainability
- Power BI dashboard
- Streamlit web application
- Batch prediction
- Interactive reporting
The project follows an end-to-end machine learning workflow:
- Data Collection
- Data Cleaning
- Exploratory Data Analysis
- Text Preprocessing
- Feature Engineering
- Model Development
- Model Evaluation
- Explainable AI (SHAP)
- Dashboard Development
- Streamlit Deployment
The dataset consists of approximately 16,800+ anonymised customer reviews collected over an 18-month period.
| Feature | Description |
|---|---|
| Review ID | Unique review identifier |
| Product Category | Purchased product category |
| Timestamp | Review submission date |
| Country | Customer country |
| Rating | Customer rating (1–5) |
| Review | Free-text customer feedback |
| Sentiment | Target variable |
| Category | Technology |
|---|---|
| Programming | Python |
| Data Analysis | Pandas, NumPy |
| NLP | NLTK, spaCy, langdetect |
| Machine Learning | Scikit-learn, XGBoost |
| Explainability | SHAP |
| Visualisation | Matplotlib, Plotly |
| Dashboard | Power BI |
| Deployment | Streamlit |
| Version Control | Git & GitHub |
INSIGHTPULSE_AI/
├── app.py
├── README.md
├── requirements.txt
├── LICENSE
│
├── assets/
├── data/
├── docs/
├── models/
├── notebooks/
├── outputs/
└── powerbi/
Several exploratory analyses were performed to better understand customer behaviour.
These included:
- Sentiment Distribution
- Rating Distribution
- Country Distribution
- Product Category Analysis
- Monthly Trends
- Review Length Distribution
- Language Distribution
The following models were evaluated.
| Model | Status |
|---|---|
| Logistic Regression | ✅ Selected |
| Naïve Bayes | Evaluated |
| Random Forest | Evaluated |
| Linear SVM | Evaluated |
| XGBoost | Evaluated |
The final Logistic Regression model demonstrated strong predictive performance across all sentiment classes.
Evaluation metrics included:
- Accuracy
- Precision
- Recall
- F1 Score
- ROC Curve
- Confusion Matrix
Understanding model predictions is critical for business adoption.
SHAP (SHapley Additive Explanations) was used to explain individual predictions and overall model behaviour.
The analysis identified the words and phrases that most strongly influenced customer sentiment.
The Power BI dashboard enables business users to explore customer feedback through interactive visualisations.
- KPI Cards
- Sentiment Distribution
- Product Category Analysis
- Country Analysis
- Monthly Trends
- Customer Ratings
- Sentiment Drivers
The Streamlit application allows users to interact with the model in real time.
- Single Review Prediction
- Batch CSV Prediction
- Interactive Dashboard
- Download Predictions
InsightPulse AI enables organisations to:
- Reduce manual review analysis
- Improve customer satisfaction
- Identify recurring customer complaints
- Support operational decision-making
- Monitor customer experience in real time
- Improve product quality
- Strengthen customer loyalty
The platform can be extended through:
- DistilBERT
- Multilingual BERT
- Aspect-Based Sentiment Analysis
- Docker Deployment
- Azure Cloud Deployment
- REST API
- CI/CD Pipeline
- Real-Time Streaming Analytics
Clone the repository.
git clone https://github.com/yourusername/InsightPulse-AI.gitMove into the project.
cd InsightPulse-AIInstall dependencies.
pip install -r requirements.txtDownload the spaCy language model.
python -m spacy download en_core_web_smRun the application.
streamlit run app.pyData Scientist | Data Analyst | Machine Learning Engineer
MSc Big Data and Data Science Technology
This project was developed as an end-to-end data science case study using a simulated e-commerce environment based on ShopEase Europe.
It demonstrates the complete machine learning lifecycle, from data preparation and exploratory analysis to deployment, explainability, and business intelligence reporting.
This project is licensed under the MIT License. s










