Week 11 : Natural Language Processing (NLP)

1. Introduction

In Week 11, our focus is on building the **Customer Satisfaction Recommendation Model** using text data collected from customer surveys and order feedback. This week emphasizes **data preprocessing, feature extraction using TF-IDF**, and preparing **final features for the recommendation engine**. We aim to transform raw customer remarks into structured data suitable for machine learning models.

2. Objectives

3. Week 11 Tasks / Assignment

4. Outputs

4.1 Dataset Columns

IndexColumn Name
0Unique id
1channel_name
2category
3Sub-category
4Customer Remarks
5Order_id
6order_date_time
7Issue_reported at
8issue_responded
9Survey_response_Date
10Customer_City
11Product_category
12Item_price
13connected_handling_time
14Agent_name
15Supervisor
16Manager
17Tenure Bucket
18Agent Shift
19CSAT Score

4.2 Sample Text Data

Customer Remarks Issue_reported at
Item delayed in delivery01/08/2023 11:13
Received wrong product01/08/2023 12:52
Packaging damaged01/08/2023 20:16
Product not working01/08/2023 20:56
Excellent service01/08/2023 10:30

4.3 Processed Text Sample

Customer Remarks Processed_Remarks
Item delayed in deliveryitem delay deliveri
Received wrong productreceiv wrong product
Packaging damagedpackag damag
Product not workingproduct work
Excellent serviceexcel servic

4.4 TF-IDF Features (Sample)

Unique iditemdelaydeliverireceivwrongproduct
7e9ae164111000
b07ec1b0000111
200814dd000000

4.5 Final Features for Recommendation Model (Sample)

AffiliatesBooks & General merchandiseElectronicsFurnitureGiftCardHome
050000
000000
000000

5. Key Metrics

6. Week 11 Milestone