SlideShare a Scribd company logo
ON

I
EDIT
G

NIN

T
LIGH

A practical data science project
● A CRM dataset (100k business accounts) belonging to
a national energy supplier
● A knotty problem: multiple accounts per company,
without any grouping ids
● How can we to find groups of accounts (larger
company structures), using just the CRM data?
● Machine Learning (ML) and Natural Language
Processing (NLP) tools and techniques in Python.
● Import: Scikit Learn and TextBlob (NLTK & Pattern)
Company
ID

Account name

Contact
name

Premises address
lines 1 - 4

Billing address
lines 1 - 4

1

Bob’s Pizza

Big Bob

5 High St, Wexford

5 High St, Wexford

1

Bob’s Pizza

Big Bob

Temple Bar, D2

5 High St, Wexford

1

Mike’s Kebabs

Mad Mike

3 Upper St, Dublin

5 High St, Wexford

2

Mark’s Kebabs

Mild Mark

8 Upper St, Dublin

Main St, Waterford

3

Fred’s Falafel

Fat Fred

9 Henry St, Cork

9 Henry st, cork

3

Fred Fallafell

Freddie

Bridges St, Galway

Henrys St, Cork

This crucial bit of info groups the separatelyrecorded accounts into companies…
and was missing from the dataset

… x100,000
Account holder
Business name
Premises address
Billing address
...

Cleaned, parsed,
tokenised text
strings

NTLK.PunktTokeniser

x100,000

sklearn.TfidfVectorizer

SVD N-D
MATRIX

TF-IDF
2-D MATRIX

sklearn.TruncatedSVD
1. Suggest similar
accounts to be grouped
2. Human
validation &
verification

3. Incorporate & propagate
valid groupings

sklearn.MiniBatchKMeans
sklear.AffinityPropagation

sklearn.RadiusNeighborsClassifier
● A very quick turnaround from raw data to tagged
companies to 93% accuracy
● ~40% of accounts found to belong to a company, ~3.5
accounts per company
● NLP toolkits and scikit-learn allowed rapid
development and testing of solution
● Incorporated human identification at critical stages:
no ML problem is an island
Any questions?

More Related Content

Viewers also liked

Online recommendations at scale using matrix factorisation
Online recommendations at scale using matrix factorisationOnline recommendations at scale using matrix factorisation
Online recommendations at scale using matrix factorisation
Marcus Ljungblad
 
Requirements for Processing Datasets for Recommender Systems
Requirements for Processing Datasets for Recommender SystemsRequirements for Processing Datasets for Recommender Systems
Requirements for Processing Datasets for Recommender SystemsStoitsis Giannis
 
Customer Relationship Management in Ireland Managing your Customers for Busin...
Customer Relationship Management in Ireland Managing your Customers for Busin...Customer Relationship Management in Ireland Managing your Customers for Busin...
Customer Relationship Management in Ireland Managing your Customers for Busin...
Krishna De
 
Recommendation Engine Demystified
Recommendation Engine DemystifiedRecommendation Engine Demystified
Recommendation Engine Demystified
DKALab
 
Recommendation techniques
Recommendation techniques Recommendation techniques
Recommendation techniques
sun9413
 
Data Mining Techniques for CRM
Data Mining Techniques for CRMData Mining Techniques for CRM
Data Mining Techniques for CRM
Shyaamini Balu
 
Association rule mining
Association rule miningAssociation rule mining
Association rule mining
Acad
 
The comparative study of apriori and FP-growth algorithm
The comparative study of apriori and FP-growth algorithmThe comparative study of apriori and FP-growth algorithm
The comparative study of apriori and FP-growth algorithm
deepti92pawar
 
Role-Based Contextual Recommendation
Role-Based Contextual RecommendationRole-Based Contextual Recommendation
Role-Based Contextual Recommendationphonecom
 
Apriori Algorithm
Apriori AlgorithmApriori Algorithm
Recommender system algorithm and architecture
Recommender system algorithm and architectureRecommender system algorithm and architecture
Recommender system algorithm and architectureLiang Xiang
 

Viewers also liked (13)

Online recommendations at scale using matrix factorisation
Online recommendations at scale using matrix factorisationOnline recommendations at scale using matrix factorisation
Online recommendations at scale using matrix factorisation
 
Requirements for Processing Datasets for Recommender Systems
Requirements for Processing Datasets for Recommender SystemsRequirements for Processing Datasets for Recommender Systems
Requirements for Processing Datasets for Recommender Systems
 
Customer Relationship Management in Ireland Managing your Customers for Busin...
Customer Relationship Management in Ireland Managing your Customers for Busin...Customer Relationship Management in Ireland Managing your Customers for Busin...
Customer Relationship Management in Ireland Managing your Customers for Busin...
 
Recommendation Engine Demystified
Recommendation Engine DemystifiedRecommendation Engine Demystified
Recommendation Engine Demystified
 
Recommendation techniques
Recommendation techniques Recommendation techniques
Recommendation techniques
 
Data mining
Data miningData mining
Data mining
 
Data Mining Techniques for CRM
Data Mining Techniques for CRMData Mining Techniques for CRM
Data Mining Techniques for CRM
 
Association rule mining
Association rule miningAssociation rule mining
Association rule mining
 
The comparative study of apriori and FP-growth algorithm
The comparative study of apriori and FP-growth algorithmThe comparative study of apriori and FP-growth algorithm
The comparative study of apriori and FP-growth algorithm
 
Role-Based Contextual Recommendation
Role-Based Contextual RecommendationRole-Based Contextual Recommendation
Role-Based Contextual Recommendation
 
Lecture13 - Association Rules
Lecture13 - Association RulesLecture13 - Association Rules
Lecture13 - Association Rules
 
Apriori Algorithm
Apriori AlgorithmApriori Algorithm
Apriori Algorithm
 
Recommender system algorithm and architecture
Recommender system algorithm and architectureRecommender system algorithm and architecture
Recommender system algorithm and architecture
 

Similar to Text mining to correct missing CRM information: a practical data science project

Agriculture, horticulture, animal husbandry & stock breeding email list
Agriculture, horticulture, animal husbandry & stock breeding email listAgriculture, horticulture, animal husbandry & stock breeding email list
Agriculture, horticulture, animal husbandry & stock breeding email list
Global B2B Contacts LLC
 
Senior Technical Sales Manager
Senior Technical Sales ManagerSenior Technical Sales Manager
Senior Technical Sales Manager
Joel Porterfield
 
Floating regas & storage attendees email list 13 14 nov 2018
Floating regas & storage attendees email list 13 14 nov 2018Floating regas & storage attendees email list 13 14 nov 2018
Floating regas & storage attendees email list 13 14 nov 2018
Global B2B Contacts LLC
 
Small and medium enterprise techno fair attendees email list 10 12 oct 2018
Small and medium enterprise techno fair attendees email list 10 12 oct 2018Small and medium enterprise techno fair attendees email list 10 12 oct 2018
Small and medium enterprise techno fair attendees email list 10 12 oct 2018
Global B2B Contacts LLC
 
The green industry & equipment expo attendees email list 17 19 oct 2018
The green industry & equipment expo attendees email list 17 19 oct 2018The green industry & equipment expo attendees email list 17 19 oct 2018
The green industry & equipment expo attendees email list 17 19 oct 2018
Global B2B Contacts LLC
 
Small and medium enterprise techno fair attendees email list 10 12 oct 2018
Small and medium enterprise techno fair attendees email list 10 12 oct 2018Small and medium enterprise techno fair attendees email list 10 12 oct 2018
Small and medium enterprise techno fair attendees email list 10 12 oct 2018
Global B2B Contacts LLC
 
Nailba meeting & exhibition orlando attendees email list 31 oct 02 nov 2018
Nailba meeting & exhibition orlando attendees email list 31 oct 02 nov 2018Nailba meeting & exhibition orlando attendees email list 31 oct 02 nov 2018
Nailba meeting & exhibition orlando attendees email list 31 oct 02 nov 2018
Global B2B Contacts LLC
 
Ems world expo attendees email list 29 oct 02 nov 2018
Ems world expo attendees email list 29 oct 02 nov 2018Ems world expo attendees email list 29 oct 02 nov 2018
Ems world expo attendees email list 29 oct 02 nov 2018
Global B2B Contacts LLC
 
La orange county expo & tech forum attendees email list 01 nov 2018
La orange county expo & tech forum attendees email list 01 nov 2018La orange county expo & tech forum attendees email list 01 nov 2018
La orange county expo & tech forum attendees email list 01 nov 2018
Global B2B Contacts LLC
 
Bucharest international technical fair attendees email list 10 13 oct 2018
Bucharest international technical fair attendees email list 10 13 oct 2018Bucharest international technical fair attendees email list 10 13 oct 2018
Bucharest international technical fair attendees email list 10 13 oct 2018
Global B2B Contacts LLC
 
Cryogen expo industrial gases attendees email list 30 oct 01 nov 2018
Cryogen expo industrial gases attendees email list 30 oct 01 nov 2018Cryogen expo industrial gases attendees email list 30 oct 01 nov 2018
Cryogen expo industrial gases attendees email list 30 oct 01 nov 2018
Global B2B Contacts LLC
 
International stockbreeding and equipment fair attendees email list 09 13 oct...
International stockbreeding and equipment fair attendees email list 09 13 oct...International stockbreeding and equipment fair attendees email list 09 13 oct...
International stockbreeding and equipment fair attendees email list 09 13 oct...
Global B2B Contacts LLC
 
World heavy oil show attendees email list 03 05 sep 2018
World heavy oil show attendees email list 03 05 sep 2018World heavy oil show attendees email list 03 05 sep 2018
World heavy oil show attendees email list 03 05 sep 2018
Global B2B Contacts LLC
 
Salon industriel de quebec show attendees email list 02 04 oct 2018
Salon industriel de quebec show attendees email list 02 04 oct 2018Salon industriel de quebec show attendees email list 02 04 oct 2018
Salon industriel de quebec show attendees email list 02 04 oct 2018
Global B2B Contacts LLC
 
International powder & bulk solids processing exhibition attendees email ...
International powder & bulk solids processing exhibition attendees email ...International powder & bulk solids processing exhibition attendees email ...
International powder & bulk solids processing exhibition attendees email ...
Global B2B Contacts LLC
 
Energy storage north america attendees email list 06 08 nov 2018
Energy storage north america attendees email list 06 08 nov 2018Energy storage north america attendees email list 06 08 nov 2018
Energy storage north america attendees email list 06 08 nov 2018
Global B2B Contacts LLC
 
Le grand rendez vous attendees email list 07-08 nov 2018
Le grand rendez vous attendees email list 07-08 nov 2018Le grand rendez vous attendees email list 07-08 nov 2018
Le grand rendez vous attendees email list 07-08 nov 2018
Global B2B Contacts LLC
 
Composites europe attendees email list 06 08 nov 2018
Composites europe attendees email list 06 08 nov 2018Composites europe attendees email list 06 08 nov 2018
Composites europe attendees email list 06 08 nov 2018
Global B2B Contacts LLC
 
Foundry products trade fair exhibition attendees email list 30 oct 01 nov 2018
Foundry products trade fair exhibition attendees email list 30 oct 01 nov 2018Foundry products trade fair exhibition attendees email list 30 oct 01 nov 2018
Foundry products trade fair exhibition attendees email list 30 oct 01 nov 2018
Global B2B Contacts LLC
 
Ip utility safety conference & expo attendees email list 06 08 nov 2018
Ip utility safety conference & expo attendees email list 06 08 nov 2018Ip utility safety conference & expo attendees email list 06 08 nov 2018
Ip utility safety conference & expo attendees email list 06 08 nov 2018
Global B2B Contacts LLC
 

Similar to Text mining to correct missing CRM information: a practical data science project (20)

Agriculture, horticulture, animal husbandry & stock breeding email list
Agriculture, horticulture, animal husbandry & stock breeding email listAgriculture, horticulture, animal husbandry & stock breeding email list
Agriculture, horticulture, animal husbandry & stock breeding email list
 
Senior Technical Sales Manager
Senior Technical Sales ManagerSenior Technical Sales Manager
Senior Technical Sales Manager
 
Floating regas & storage attendees email list 13 14 nov 2018
Floating regas & storage attendees email list 13 14 nov 2018Floating regas & storage attendees email list 13 14 nov 2018
Floating regas & storage attendees email list 13 14 nov 2018
 
Small and medium enterprise techno fair attendees email list 10 12 oct 2018
Small and medium enterprise techno fair attendees email list 10 12 oct 2018Small and medium enterprise techno fair attendees email list 10 12 oct 2018
Small and medium enterprise techno fair attendees email list 10 12 oct 2018
 
The green industry & equipment expo attendees email list 17 19 oct 2018
The green industry & equipment expo attendees email list 17 19 oct 2018The green industry & equipment expo attendees email list 17 19 oct 2018
The green industry & equipment expo attendees email list 17 19 oct 2018
 
Small and medium enterprise techno fair attendees email list 10 12 oct 2018
Small and medium enterprise techno fair attendees email list 10 12 oct 2018Small and medium enterprise techno fair attendees email list 10 12 oct 2018
Small and medium enterprise techno fair attendees email list 10 12 oct 2018
 
Nailba meeting & exhibition orlando attendees email list 31 oct 02 nov 2018
Nailba meeting & exhibition orlando attendees email list 31 oct 02 nov 2018Nailba meeting & exhibition orlando attendees email list 31 oct 02 nov 2018
Nailba meeting & exhibition orlando attendees email list 31 oct 02 nov 2018
 
Ems world expo attendees email list 29 oct 02 nov 2018
Ems world expo attendees email list 29 oct 02 nov 2018Ems world expo attendees email list 29 oct 02 nov 2018
Ems world expo attendees email list 29 oct 02 nov 2018
 
La orange county expo & tech forum attendees email list 01 nov 2018
La orange county expo & tech forum attendees email list 01 nov 2018La orange county expo & tech forum attendees email list 01 nov 2018
La orange county expo & tech forum attendees email list 01 nov 2018
 
Bucharest international technical fair attendees email list 10 13 oct 2018
Bucharest international technical fair attendees email list 10 13 oct 2018Bucharest international technical fair attendees email list 10 13 oct 2018
Bucharest international technical fair attendees email list 10 13 oct 2018
 
Cryogen expo industrial gases attendees email list 30 oct 01 nov 2018
Cryogen expo industrial gases attendees email list 30 oct 01 nov 2018Cryogen expo industrial gases attendees email list 30 oct 01 nov 2018
Cryogen expo industrial gases attendees email list 30 oct 01 nov 2018
 
International stockbreeding and equipment fair attendees email list 09 13 oct...
International stockbreeding and equipment fair attendees email list 09 13 oct...International stockbreeding and equipment fair attendees email list 09 13 oct...
International stockbreeding and equipment fair attendees email list 09 13 oct...
 
World heavy oil show attendees email list 03 05 sep 2018
World heavy oil show attendees email list 03 05 sep 2018World heavy oil show attendees email list 03 05 sep 2018
World heavy oil show attendees email list 03 05 sep 2018
 
Salon industriel de quebec show attendees email list 02 04 oct 2018
Salon industriel de quebec show attendees email list 02 04 oct 2018Salon industriel de quebec show attendees email list 02 04 oct 2018
Salon industriel de quebec show attendees email list 02 04 oct 2018
 
International powder & bulk solids processing exhibition attendees email ...
International powder & bulk solids processing exhibition attendees email ...International powder & bulk solids processing exhibition attendees email ...
International powder & bulk solids processing exhibition attendees email ...
 
Energy storage north america attendees email list 06 08 nov 2018
Energy storage north america attendees email list 06 08 nov 2018Energy storage north america attendees email list 06 08 nov 2018
Energy storage north america attendees email list 06 08 nov 2018
 
Le grand rendez vous attendees email list 07-08 nov 2018
Le grand rendez vous attendees email list 07-08 nov 2018Le grand rendez vous attendees email list 07-08 nov 2018
Le grand rendez vous attendees email list 07-08 nov 2018
 
Composites europe attendees email list 06 08 nov 2018
Composites europe attendees email list 06 08 nov 2018Composites europe attendees email list 06 08 nov 2018
Composites europe attendees email list 06 08 nov 2018
 
Foundry products trade fair exhibition attendees email list 30 oct 01 nov 2018
Foundry products trade fair exhibition attendees email list 30 oct 01 nov 2018Foundry products trade fair exhibition attendees email list 30 oct 01 nov 2018
Foundry products trade fair exhibition attendees email list 30 oct 01 nov 2018
 
Ip utility safety conference & expo attendees email list 06 08 nov 2018
Ip utility safety conference & expo attendees email list 06 08 nov 2018Ip utility safety conference & expo attendees email list 06 08 nov 2018
Ip utility safety conference & expo attendees email list 06 08 nov 2018
 

More from Jonathan Sedar

Demystifying Data Science
Demystifying Data ScienceDemystifying Data Science
Demystifying Data Science
Jonathan Sedar
 
How is Data Science going to Improve Insurance?
How is Data Science going to Improve Insurance?How is Data Science going to Improve Insurance?
How is Data Science going to Improve Insurance?
Jonathan Sedar
 
Visualising High Dimensional Data with TSNE
Visualising High Dimensional Data with TSNEVisualising High Dimensional Data with TSNE
Visualising High Dimensional Data with TSNE
Jonathan Sedar
 
Bayesian Robust Linear Regression with Outlier Detection
Bayesian Robust Linear Regression with Outlier DetectionBayesian Robust Linear Regression with Outlier Detection
Bayesian Robust Linear Regression with Outlier Detection
Jonathan Sedar
 
Topic Modelling on the Enron Email Corpus @ ODSC 13 Apr 2016
Topic Modelling on the Enron Email Corpus @ ODSC 13 Apr 2016Topic Modelling on the Enron Email Corpus @ ODSC 13 Apr 2016
Topic Modelling on the Enron Email Corpus @ ODSC 13 Apr 2016
Jonathan Sedar
 
Applied AI Tech Talk: How to Setup a Data Science Dept
Applied AI Tech Talk: How to Setup a Data Science DeptApplied AI Tech Talk: How to Setup a Data Science Dept
Applied AI Tech Talk: How to Setup a Data Science DeptJonathan Sedar
 
Customer Clustering For Retail Marketing
Customer Clustering For Retail MarketingCustomer Clustering For Retail Marketing
Customer Clustering For Retail Marketing
Jonathan Sedar
 
Customer Clustering for Retailer Marketing
Customer Clustering for Retailer MarketingCustomer Clustering for Retailer Marketing
Customer Clustering for Retailer Marketing
Jonathan Sedar
 

More from Jonathan Sedar (8)

Demystifying Data Science
Demystifying Data ScienceDemystifying Data Science
Demystifying Data Science
 
How is Data Science going to Improve Insurance?
How is Data Science going to Improve Insurance?How is Data Science going to Improve Insurance?
How is Data Science going to Improve Insurance?
 
Visualising High Dimensional Data with TSNE
Visualising High Dimensional Data with TSNEVisualising High Dimensional Data with TSNE
Visualising High Dimensional Data with TSNE
 
Bayesian Robust Linear Regression with Outlier Detection
Bayesian Robust Linear Regression with Outlier DetectionBayesian Robust Linear Regression with Outlier Detection
Bayesian Robust Linear Regression with Outlier Detection
 
Topic Modelling on the Enron Email Corpus @ ODSC 13 Apr 2016
Topic Modelling on the Enron Email Corpus @ ODSC 13 Apr 2016Topic Modelling on the Enron Email Corpus @ ODSC 13 Apr 2016
Topic Modelling on the Enron Email Corpus @ ODSC 13 Apr 2016
 
Applied AI Tech Talk: How to Setup a Data Science Dept
Applied AI Tech Talk: How to Setup a Data Science DeptApplied AI Tech Talk: How to Setup a Data Science Dept
Applied AI Tech Talk: How to Setup a Data Science Dept
 
Customer Clustering For Retail Marketing
Customer Clustering For Retail MarketingCustomer Clustering For Retail Marketing
Customer Clustering For Retail Marketing
 
Customer Clustering for Retailer Marketing
Customer Clustering for Retailer MarketingCustomer Clustering for Retailer Marketing
Customer Clustering for Retailer Marketing
 

Recently uploaded

FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134
LR1709MUSIC
 
Maksym Vyshnivetskyi: PMO Quality Management (UA)
Maksym Vyshnivetskyi: PMO Quality Management (UA)Maksym Vyshnivetskyi: PMO Quality Management (UA)
Maksym Vyshnivetskyi: PMO Quality Management (UA)
Lviv Startup Club
 
VAT Registration Outlined In UAE: Benefits and Requirements
VAT Registration Outlined In UAE: Benefits and RequirementsVAT Registration Outlined In UAE: Benefits and Requirements
VAT Registration Outlined In UAE: Benefits and Requirements
uae taxgpt
 
Digital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and TemplatesDigital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and Templates
Aurelien Domont, MBA
 
Brand Analysis for an artist named Struan
Brand Analysis for an artist named StruanBrand Analysis for an artist named Struan
Brand Analysis for an artist named Struan
sarahvanessa51503
 
BeMetals Presentation_May_22_2024 .pdf
BeMetals Presentation_May_22_2024   .pdfBeMetals Presentation_May_22_2024   .pdf
BeMetals Presentation_May_22_2024 .pdf
DerekIwanaka1
 
20240425_ TJ Communications Credentials_compressed.pdf
20240425_ TJ Communications Credentials_compressed.pdf20240425_ TJ Communications Credentials_compressed.pdf
20240425_ TJ Communications Credentials_compressed.pdf
tjcomstrang
 
The Influence of Marketing Strategy and Market Competition on Business Perfor...
The Influence of Marketing Strategy and Market Competition on Business Perfor...The Influence of Marketing Strategy and Market Competition on Business Perfor...
The Influence of Marketing Strategy and Market Competition on Business Perfor...
Adam Smith
 
Skye Residences | Extended Stay Residences Near Toronto Airport
Skye Residences | Extended Stay Residences Near Toronto AirportSkye Residences | Extended Stay Residences Near Toronto Airport
Skye Residences | Extended Stay Residences Near Toronto Airport
marketingjdass
 
Introduction to Amazon company 111111111111
Introduction to Amazon company 111111111111Introduction to Amazon company 111111111111
Introduction to Amazon company 111111111111
zoyaansari11365
 
Unveiling the Secrets How Does Generative AI Work.pdf
Unveiling the Secrets How Does Generative AI Work.pdfUnveiling the Secrets How Does Generative AI Work.pdf
Unveiling the Secrets How Does Generative AI Work.pdf
Sam H
 
Project File Report BBA 6th semester.pdf
Project File Report BBA 6th semester.pdfProject File Report BBA 6th semester.pdf
Project File Report BBA 6th semester.pdf
RajPriye
 
April 2024 Nostalgia Products Newsletter
April 2024 Nostalgia Products NewsletterApril 2024 Nostalgia Products Newsletter
April 2024 Nostalgia Products Newsletter
NathanBaughman3
 
3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx
tanyjahb
 
Exploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social DreamingExploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social Dreaming
Nicola Wreford-Howard
 
Premium MEAN Stack Development Solutions for Modern Businesses
Premium MEAN Stack Development Solutions for Modern BusinessesPremium MEAN Stack Development Solutions for Modern Businesses
Premium MEAN Stack Development Solutions for Modern Businesses
SynapseIndia
 
What are the main advantages of using HR recruiter services.pdf
What are the main advantages of using HR recruiter services.pdfWhat are the main advantages of using HR recruiter services.pdf
What are the main advantages of using HR recruiter services.pdf
HumanResourceDimensi1
 
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdfModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
fisherameliaisabella
 
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
taqyed
 
Sustainability: Balancing the Environment, Equity & Economy
Sustainability: Balancing the Environment, Equity & EconomySustainability: Balancing the Environment, Equity & Economy
Sustainability: Balancing the Environment, Equity & Economy
Operational Excellence Consulting
 

Recently uploaded (20)

FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134
 
Maksym Vyshnivetskyi: PMO Quality Management (UA)
Maksym Vyshnivetskyi: PMO Quality Management (UA)Maksym Vyshnivetskyi: PMO Quality Management (UA)
Maksym Vyshnivetskyi: PMO Quality Management (UA)
 
VAT Registration Outlined In UAE: Benefits and Requirements
VAT Registration Outlined In UAE: Benefits and RequirementsVAT Registration Outlined In UAE: Benefits and Requirements
VAT Registration Outlined In UAE: Benefits and Requirements
 
Digital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and TemplatesDigital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and Templates
 
Brand Analysis for an artist named Struan
Brand Analysis for an artist named StruanBrand Analysis for an artist named Struan
Brand Analysis for an artist named Struan
 
BeMetals Presentation_May_22_2024 .pdf
BeMetals Presentation_May_22_2024   .pdfBeMetals Presentation_May_22_2024   .pdf
BeMetals Presentation_May_22_2024 .pdf
 
20240425_ TJ Communications Credentials_compressed.pdf
20240425_ TJ Communications Credentials_compressed.pdf20240425_ TJ Communications Credentials_compressed.pdf
20240425_ TJ Communications Credentials_compressed.pdf
 
The Influence of Marketing Strategy and Market Competition on Business Perfor...
The Influence of Marketing Strategy and Market Competition on Business Perfor...The Influence of Marketing Strategy and Market Competition on Business Perfor...
The Influence of Marketing Strategy and Market Competition on Business Perfor...
 
Skye Residences | Extended Stay Residences Near Toronto Airport
Skye Residences | Extended Stay Residences Near Toronto AirportSkye Residences | Extended Stay Residences Near Toronto Airport
Skye Residences | Extended Stay Residences Near Toronto Airport
 
Introduction to Amazon company 111111111111
Introduction to Amazon company 111111111111Introduction to Amazon company 111111111111
Introduction to Amazon company 111111111111
 
Unveiling the Secrets How Does Generative AI Work.pdf
Unveiling the Secrets How Does Generative AI Work.pdfUnveiling the Secrets How Does Generative AI Work.pdf
Unveiling the Secrets How Does Generative AI Work.pdf
 
Project File Report BBA 6th semester.pdf
Project File Report BBA 6th semester.pdfProject File Report BBA 6th semester.pdf
Project File Report BBA 6th semester.pdf
 
April 2024 Nostalgia Products Newsletter
April 2024 Nostalgia Products NewsletterApril 2024 Nostalgia Products Newsletter
April 2024 Nostalgia Products Newsletter
 
3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx
 
Exploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social DreamingExploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social Dreaming
 
Premium MEAN Stack Development Solutions for Modern Businesses
Premium MEAN Stack Development Solutions for Modern BusinessesPremium MEAN Stack Development Solutions for Modern Businesses
Premium MEAN Stack Development Solutions for Modern Businesses
 
What are the main advantages of using HR recruiter services.pdf
What are the main advantages of using HR recruiter services.pdfWhat are the main advantages of using HR recruiter services.pdf
What are the main advantages of using HR recruiter services.pdf
 
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdfModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
 
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
 
Sustainability: Balancing the Environment, Equity & Economy
Sustainability: Balancing the Environment, Equity & EconomySustainability: Balancing the Environment, Equity & Economy
Sustainability: Balancing the Environment, Equity & Economy
 

Text mining to correct missing CRM information: a practical data science project

  • 2. ● A CRM dataset (100k business accounts) belonging to a national energy supplier ● A knotty problem: multiple accounts per company, without any grouping ids ● How can we to find groups of accounts (larger company structures), using just the CRM data? ● Machine Learning (ML) and Natural Language Processing (NLP) tools and techniques in Python. ● Import: Scikit Learn and TextBlob (NLTK & Pattern)
  • 3. Company ID Account name Contact name Premises address lines 1 - 4 Billing address lines 1 - 4 1 Bob’s Pizza Big Bob 5 High St, Wexford 5 High St, Wexford 1 Bob’s Pizza Big Bob Temple Bar, D2 5 High St, Wexford 1 Mike’s Kebabs Mad Mike 3 Upper St, Dublin 5 High St, Wexford 2 Mark’s Kebabs Mild Mark 8 Upper St, Dublin Main St, Waterford 3 Fred’s Falafel Fat Fred 9 Henry St, Cork 9 Henry st, cork 3 Fred Fallafell Freddie Bridges St, Galway Henrys St, Cork This crucial bit of info groups the separatelyrecorded accounts into companies… and was missing from the dataset … x100,000
  • 4. Account holder Business name Premises address Billing address ... Cleaned, parsed, tokenised text strings NTLK.PunktTokeniser x100,000 sklearn.TfidfVectorizer SVD N-D MATRIX TF-IDF 2-D MATRIX sklearn.TruncatedSVD
  • 5. 1. Suggest similar accounts to be grouped 2. Human validation & verification 3. Incorporate & propagate valid groupings sklearn.MiniBatchKMeans sklear.AffinityPropagation sklearn.RadiusNeighborsClassifier
  • 6. ● A very quick turnaround from raw data to tagged companies to 93% accuracy ● ~40% of accounts found to belong to a company, ~3.5 accounts per company ● NLP toolkits and scikit-learn allowed rapid development and testing of solution ● Incorporated human identification at critical stages: no ML problem is an island