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

20120706 dir res_pres4_03
20120706 dir res_pres4_0320120706 dir res_pres4_03
20120706 dir res_pres4_03
robbratney
 
20120706 dir res_pres4_02
20120706 dir res_pres4_0220120706 dir res_pres4_02
20120706 dir res_pres4_02
robbratney
 
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
KDMC
 
Raising Visibility of Your Project
Raising Visibility of Your ProjectRaising Visibility of Your Project
Raising Visibility of Your Project
KDMC
 

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_03
20120706 dir res_pres4_0320120706 dir res_pres4_03
20120706 dir res_pres4_03
 
20120706 dir res_pres4_02
20120706 dir res_pres4_0220120706 dir res_pres4_02
20120706 dir res_pres4_02
 
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

Recently uploaded (10)

Deciding The Topic of our Magazine.pptx.
Deciding The Topic of our Magazine.pptx.Deciding The Topic of our Magazine.pptx.
Deciding The Topic of our Magazine.pptx.
 
Breathing in New Life_ Part 3 05 22 2024.pptx
Breathing in New Life_ Part 3 05 22 2024.pptxBreathing in New Life_ Part 3 05 22 2024.pptx
Breathing in New Life_ Part 3 05 22 2024.pptx
 
OC Streetcar Final Presentation-Downtown Santa Ana
OC Streetcar Final Presentation-Downtown Santa AnaOC Streetcar Final Presentation-Downtown Santa Ana
OC Streetcar Final Presentation-Downtown Santa Ana
 
Understanding Poverty: A Community Questionnaire
Understanding Poverty: A Community QuestionnaireUnderstanding Poverty: A Community Questionnaire
Understanding Poverty: A Community Questionnaire
 
ServiceNow CIS-Discovery Exam Dumps 2024
ServiceNow CIS-Discovery Exam Dumps 2024ServiceNow CIS-Discovery Exam Dumps 2024
ServiceNow CIS-Discovery Exam Dumps 2024
 
ACM CHT Best Inspection Practices Kinben Innovation MIC Slideshare.pdf
ACM CHT Best Inspection Practices Kinben Innovation MIC Slideshare.pdfACM CHT Best Inspection Practices Kinben Innovation MIC Slideshare.pdf
ACM CHT Best Inspection Practices Kinben Innovation MIC Slideshare.pdf
 
Oracle Database Administration I (1Z0-082) Exam Dumps 2024.pdf
Oracle Database Administration I (1Z0-082) Exam Dumps 2024.pdfOracle Database Administration I (1Z0-082) Exam Dumps 2024.pdf
Oracle Database Administration I (1Z0-082) Exam Dumps 2024.pdf
 
DAY 0 8 A Revelation 05-19-2024 PPT.pptx
DAY 0 8 A Revelation 05-19-2024 PPT.pptxDAY 0 8 A Revelation 05-19-2024 PPT.pptx
DAY 0 8 A Revelation 05-19-2024 PPT.pptx
 
Microsoft Fabric Analytics Engineer (DP-600) Exam Dumps 2024.pdf
Microsoft Fabric Analytics Engineer (DP-600) Exam Dumps 2024.pdfMicrosoft Fabric Analytics Engineer (DP-600) Exam Dumps 2024.pdf
Microsoft Fabric Analytics Engineer (DP-600) Exam Dumps 2024.pdf
 
The Influence and Evolution of Mogul Press in Contemporary Public Relations.docx
The Influence and Evolution of Mogul Press in Contemporary Public Relations.docxThe Influence and Evolution of Mogul Press in Contemporary Public Relations.docx
The Influence and Evolution of Mogul Press in Contemporary Public Relations.docx
 

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