Skip to content

rahulraimau/nlp-_cloth

Repository files navigation

๐Ÿ›๏ธ NLP Capstone Project: Customer Review Analysis โ€“ Womenโ€™s Clothing E-Commerce ๐Ÿ“Œ Project Overview This project analyzes over 23,000 customer reviews for a leading womenโ€™s clothing e-commerce platform. The goal is to extract meaningful insights using Natural Language Processing (NLP), understand customer sentiment, and build predictive models for recommendation and rating prediction.

๐ŸŽฏ Business Objectives ๐Ÿ” Perform exploratory data analysis (EDA) on customer reviews and demographics.

๐Ÿ’ฌ Conduct text mining to identify frequent words in positive and negative reviews.

๐ŸŒ Analyze sentiment trends by category, location, age group, and channel (Web/Mobile).

๐Ÿค– Build predictive models to:

Classify customers likely to recommend a product.

Predict product ratings based on review text.

๐Ÿง  Perform topic modeling to uncover themes in customer reviews.

๐Ÿ“ Dataset Details Column Name Description Product ID Unique ID of the product Category Product category Subcategory1 Subcategory level 1 Subcategory2 Subcategory level 2 Location Customerโ€™s geographic location Customer Age Age of the customer Channel Purchase channel (Web or Mobile) Review Title Short title for the review Review Text Full review text Rating Rating given by the customer Recommend Flag Whether the customer recommends the product (Yes/No)

๐Ÿงช Techniques & Tools Used Programming Language: Python

Libraries: Pandas, NumPy, Matplotlib, Seaborn, Plotly

NLP: NLTK, spaCy, WordCloud, scikit-learn, TextBlob

Modeling: Logistic Regression, XGBoost, Random Forest

Topic Modeling: LDA (Latent Dirichlet Allocation)

Dashboarding: Streamlit / Plotly Dash (optional)

๐Ÿ“Š Key Features ๐Ÿ“ˆ EDA Dashboard: Category-wise review count, age distribution, recommendation trends

๐ŸŒ Word Clouds: For positive vs negative reviews

๐Ÿ“Š Sentiment Analysis: By channel, location, product category, and age group

๐Ÿ” Topic Modeling: Extracting key themes from customer feedback

๐Ÿง  Classification Models: Predicting recommendation flag

๐ŸŽฏ Regression Models: Predicting customer rating from review text

๐Ÿš€ How to Run Clone the repo

bash Copy Edit git clone https://github.com/rahulraimau/womens-clothing-nlp.git cd womens-clothing-nlp Install dependencies

bash Copy Edit pip install -r requirements.txt Run the Jupyter notebook or Streamlit app

bash Copy Edit jupyter notebook

or

streamlit run app.py ๐Ÿ“Œ Sample Visualizations WordCloud of Top Positive/Negative Words

Sentiment by Age Group

Top Recommended Categories

Topic Clusters per Product Type

๐Ÿ“ฆ Outputs sentiment_model.joblib: Trained sentiment classification model

rating_predictor.pkl: Regression model for rating prediction

lda_model.pkl: Topic model with top keywords

final_dashboard.html: Interactive dashboard output (optional)

๐Ÿ‘ค Author Rahul Rai ๐Ÿ“ง rahulraimau5@gmail.com ๐Ÿ”— GitHub | Kaggle | HackerRank

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors