SlideShare a Scribd company logo
1 of 31
Download to read offline
Analyzing Public Conversations
using LDA and Topic Modeling
Introducing Myself
2
Sveta Gimpelson
● CDO and Co-Founder at Memphis.dev
● Software engineer
● Excited about networks. And graphs
● Playing football on mom’s team
● Harry Potter fan
Analyzing Public Conversations of Influencers
3
Visualize the output
Analyze collected data
Collect data from social
networks
I want to know the highlights of what is happening in
the football domain.
Why Social Media
4 Source: Global social media statistics research summary 2023
Why Social Media
5 Source: Global social media statistics research summary 2023
Social Network Analysis (SNA)
6
A network is a number of points (or ‘nodes’) that are
connected by links.
Generally in social network analysis, the nodes are people
and the links are any social connection between them –
for example, friendship, marital/family ties, or financial ties.
follows/ retweeted/ liked a
tweet
replied to a question/ have >1
groups in common
?
Social Network Analysis (SNA)
7
Social network analysis aims to understand a community by
mapping the relationships that connect them as a network,
and then trying to draw out key individuals, groups within the
network (‘components’), and/or associations between the
individuals.
Source:
https://digi.uga.edu/network-graphs/
Social Network - Representation
8
● Graph - Network
● Nodes - People
● Links - Relationships
● Sub-Graph - Communities
9
Collect data - Find the influencers
10
Begin with 10 accounts
1. GOAL – @goal
2. ESPN FC – @ESPNFC
3. FourFourTwo – @FourFourTwo
4. BBC Sport – @BBCSport
5. WhoScored.com – @WhoScored
6. Squawka – @Squawka
7. OptaJoe – @OptaJoe
8. Bleacher Report Football – @brfootball
9. Sky Sports News – @SkySportsNews
10. Transfermarkt – @Transfermarkt
Collect data - Find the influencers
11
Ranking mechanism:
Based on the following parameters
1. Accounts that this accounts follow
2. Use keywords related to football
3. Have many followers
4. Accounts that been retweeted by our network
Follows
Ranking mechanism
Decision
IN
OUT
NEEDS REVIEW
The Expansion
14
15
Architecture
16
Architecture
17
Architecture
18
Collector
19
Rate Limit
Deduplication
Memphis’ Station
20
Memphis’ Station
21
Analyzer
22
Consumer
23
Preprocessing
24
Run Model
25
Upload To BigQuery
26
Visualize
27
Enhancements
28
Collector
● Produce to different partitions based on source/ account
● Collect from different sources - Facebook, Reddit, Telegram
● Enforce schema to the stations
● Use storage tiering - to enable batch processing (Apache iceberg,
Spark..)
Enhancements
29
Analyzer
● Consume from specific partition/ entire station/ communities
● Fine tuning to the LDA model
● Use other models/ combinations
● Use GPT to show more “readable” output
Enhancements
30
Visualization
● Other visualization tools
● Topics over time (TOT) - Evolution
● Create metrics
Thank you!
sveta@memphis.dev
https://twitter.com/memphisveta
Source code: HERE!

More Related Content

Similar to stackconf 2023 | Analyzing Public Conversation using LDA and Topic Modeling, in Python by Sveta Gimpelson.pdf

[Brighton SEO] Audience Intelligence & SEO: How to integrate data sources to ...
[Brighton SEO] Audience Intelligence & SEO: How to integrate data sources to ...[Brighton SEO] Audience Intelligence & SEO: How to integrate data sources to ...
[Brighton SEO] Audience Intelligence & SEO: How to integrate data sources to ...Rory Hope
 
Social Media Analytics for Official Statistics
Social Media Analytics for Official StatisticsSocial Media Analytics for Official Statistics
Social Media Analytics for Official StatisticsIsmail Fahmi
 
20120706 dir res_pres4_02
20120706 dir res_pres4_0220120706 dir res_pres4_02
20120706 dir res_pres4_02robbratney
 
20120706 dir res_pres4_03
20120706 dir res_pres4_0320120706 dir res_pres4_03
20120706 dir res_pres4_03robbratney
 
Managing Entropy - Clarity '13 - Keith Goode
Managing Entropy - Clarity '13 - Keith GoodeManaging Entropy - Clarity '13 - Keith Goode
Managing Entropy - Clarity '13 - Keith GoodeKeith Goode
 
Measuring Social Media Return on Investment: Advanced social media analytics
Measuring Social Media Return on Investment: Advanced social media analyticsMeasuring Social Media Return on Investment: Advanced social media analytics
Measuring Social Media Return on Investment: Advanced social media analyticsHugh Stephens
 
Federated Ontology for Sports- Paper
Federated Ontology for Sports- PaperFederated Ontology for Sports- Paper
Federated Ontology for Sports- PaperGeorge Sam
 
'Stories & Numbers' - A Framework for Measuring Engagement
'Stories & Numbers' - A Framework for Measuring Engagement'Stories & Numbers' - A Framework for Measuring Engagement
'Stories & Numbers' - A Framework for Measuring EngagementJason Ryan
 
Raising visibility, awareness and reach for your online project
Raising visibility, awareness and reach  for your online projectRaising visibility, awareness and reach  for your online project
Raising visibility, awareness and reach for your online projectKDMC
 
Technology and open knowledge in sports statistics
Technology and open knowledge in sports statisticsTechnology and open knowledge in sports statistics
Technology and open knowledge in sports statisticsdwiederman
 
Pathways Summary Brief 25 Aug2010
Pathways Summary Brief   25 Aug2010Pathways Summary Brief   25 Aug2010
Pathways Summary Brief 25 Aug2010jmorriso
 
Raising Visibility of Your Project
Raising Visibility of Your ProjectRaising Visibility of Your Project
Raising Visibility of Your ProjectKDMC
 
Big social data analytics - social network analysis
Big social data analytics - social network analysis Big social data analytics - social network analysis
Big social data analytics - social network analysis Jari Jussila
 
How To Prepare For The Future Of Search
How To Prepare For The Future Of SearchHow To Prepare For The Future Of Search
How To Prepare For The Future Of SearchCharlene Li
 
Rubrics for DMPs
Rubrics for DMPsRubrics for DMPs
Rubrics for DMPsJisc RDM
 
Social smarts presenation marshall sponder - updated 9-16-12
Social smarts presenation   marshall sponder - updated 9-16-12Social smarts presenation   marshall sponder - updated 9-16-12
Social smarts presenation marshall sponder - updated 9-16-12Marshall Sponder
 

Similar to stackconf 2023 | Analyzing Public Conversation using LDA and Topic Modeling, in Python by Sveta Gimpelson.pdf (20)

[Brighton SEO] Audience Intelligence & SEO: How to integrate data sources to ...
[Brighton SEO] Audience Intelligence & SEO: How to integrate data sources to ...[Brighton SEO] Audience Intelligence & SEO: How to integrate data sources to ...
[Brighton SEO] Audience Intelligence & SEO: How to integrate data sources to ...
 
Social Media Analytics for Official Statistics
Social Media Analytics for Official StatisticsSocial Media Analytics for Official Statistics
Social Media Analytics for Official Statistics
 
20120706 dir res_pres4_02
20120706 dir res_pres4_0220120706 dir res_pres4_02
20120706 dir res_pres4_02
 
20120706 dir res_pres4_03
20120706 dir res_pres4_0320120706 dir res_pres4_03
20120706 dir res_pres4_03
 
Managing Entropy - Clarity '13 - Keith Goode
Managing Entropy - Clarity '13 - Keith GoodeManaging Entropy - Clarity '13 - Keith Goode
Managing Entropy - Clarity '13 - Keith Goode
 
Measuring Social Media Return on Investment: Advanced social media analytics
Measuring Social Media Return on Investment: Advanced social media analyticsMeasuring Social Media Return on Investment: Advanced social media analytics
Measuring Social Media Return on Investment: Advanced social media analytics
 
Federated Ontology for Sports- Paper
Federated Ontology for Sports- PaperFederated Ontology for Sports- Paper
Federated Ontology for Sports- Paper
 
'Stories & Numbers' - A Framework for Measuring Engagement
'Stories & Numbers' - A Framework for Measuring Engagement'Stories & Numbers' - A Framework for Measuring Engagement
'Stories & Numbers' - A Framework for Measuring Engagement
 
Raising visibility, awareness and reach for your online project
Raising visibility, awareness and reach  for your online projectRaising visibility, awareness and reach  for your online project
Raising visibility, awareness and reach for your online project
 
Technology and open knowledge in sports statistics
Technology and open knowledge in sports statisticsTechnology and open knowledge in sports statistics
Technology and open knowledge in sports statistics
 
Pathways Summary Brief 25 Aug2010
Pathways Summary Brief   25 Aug2010Pathways Summary Brief   25 Aug2010
Pathways Summary Brief 25 Aug2010
 
nm
nmnm
nm
 
Raising Visibility of Your Project
Raising Visibility of Your ProjectRaising Visibility of Your Project
Raising Visibility of Your Project
 
Big social data analytics - social network analysis
Big social data analytics - social network analysis Big social data analytics - social network analysis
Big social data analytics - social network analysis
 
Proposal.docx
Proposal.docxProposal.docx
Proposal.docx
 
How To Prepare For The Future Of Search
How To Prepare For The Future Of SearchHow To Prepare For The Future Of Search
How To Prepare For The Future Of Search
 
Project Report 05_06_13
Project Report 05_06_13Project Report 05_06_13
Project Report 05_06_13
 
Rubrics for DMPs
Rubrics for DMPsRubrics for DMPs
Rubrics for DMPs
 
ONS Local presents: Explore Subnational Statistics
ONS Local presents: Explore Subnational StatisticsONS Local presents: Explore Subnational Statistics
ONS Local presents: Explore Subnational Statistics
 
Social smarts presenation marshall sponder - updated 9-16-12
Social smarts presenation   marshall sponder - updated 9-16-12Social smarts presenation   marshall sponder - updated 9-16-12
Social smarts presenation marshall sponder - updated 9-16-12
 

Recently uploaded

If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaKayode Fayemi
 
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxMohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxmohammadalnahdi22
 
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Hasting Chen
 
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )Pooja Nehwal
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxraffaeleoman
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AITatiana Gurgel
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Kayode Fayemi
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024eCommerce Institute
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubssamaasim06
 
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyCall Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyPooja Nehwal
 
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, YardstickSaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, Yardsticksaastr
 
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara ServicesVVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara ServicesPooja Nehwal
 
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfCTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfhenrik385807
 
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...Sheetaleventcompany
 
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxNikitaBankoti2
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Vipesco
 
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Delhi Call girls
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024eCommerce Institute
 
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Pooja Nehwal
 

Recently uploaded (20)

If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
 
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxMohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
 
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
 
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AI
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubs
 
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyCall Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
 
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, YardstickSaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
 
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
 
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara ServicesVVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
 
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfCTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
 
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
 
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510
 
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
 
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
 

stackconf 2023 | Analyzing Public Conversation using LDA and Topic Modeling, in Python by Sveta Gimpelson.pdf