SlideShare a Scribd company logo
1 of 20
Download to read offline
Top Treading of Twitter Friends

     Guangqinag Li, Ye Wang
Outline
•   Overview of Twitter
•   Motivation
•   Top Trending based on Tweet Rank
•   Demo
•   Conclusion
Overview of Twitter
• Write status




• A Tweet
Overview of Twitter
• See/reply friends’ status
Overview of Twitter
• Discuss over the same topic through
  Hashtag
Overview of Twitter
• Top Trending
• Deficiency
  – User can only customize trending based on
    locations.
  – Many of them are not interesting to users.
Motivation
• Allow user to see the top trending of
  friends
• How to define “Hot” topics among friends?
  – Term Frequency
  – Tweet Rank
    • Hashtag
    • Replies
Tweet Rank
• Create a Tweet Graph
  – Reply: like citation

                             Tweet 2




                             Tweet 1
Tweet Rank
• Create a Tweet Graph
  – Hashtag: implies the same topic
Tweet Rank
• Create a Tweet Graph
• Rank tweets using Tweet Graph
  – Similar to PageRank algorithm
  – Outcome: Rank Vector of all tweets
Tweet Rank
• Every tweet has a score
  – Between 0 to 1
  – This’s Tweet Rank
• The random walk                 33% 33%
                                    T1 33%
  – Start at a random tweet
  – Follow an out edge with equal probability
• Calculate Tweet Rank, such that each
  tweet has a real-time (in 24 hours)
  popularity rate
Teleport
• Isolated tweet
  – Not replied; not reply to others; no hashtag
  – Still possible this tweet is related to some hot
    topic.
• Assign a random probability for isolated
  tweet to all other tweets
Retweet
• Send an existing tweet (of others) around
  – Can be considered as a new tweet of a user
Term Rank
• Intuition: terms in a tweet with higher rank is
  more important
• Adjacency list: terms and term frequency in
  each tweet.
   – Term List<<tweet_id, term-frequency>>
• Scoring Scheme for each term:
  The sum of the multiplication of the logarithm of
  each Term Frequency (tf>0) and its TweetRank
  score   (1  log TermFrequency ) * (TweetRank ), i  TweetList
          i n
Top Trending
• Terms with top ranking are Top Trending
  (i.e. hot topic)
  – More frequently appear in User and user’s
    friends tweets/retweets
  – Hot Hashtag may be cited by many tweets.
  – Replied by many people.
Use of Twitter API
• Jtwitter
  A small library providing easy access to
  the Twitter API
  http://www.winterwell.com/software/jtwitter.php
• Twitter
  – getFriendsTimeline()
• Twitter.Status
  – id
  – inReplyToStatusId
Demo
• Scenario:                        Ye
                           1. Hello, I am fresh.
        Aries                                             Jane
    1. #Finalexam is        2. @Aries Good
                                                   1. Welcome, fresh~
        coming.            Luck on your finals
  2. @Ye I took a long          3. On, My            2. Yes, I am. So
  to prepare Algorithm        #finalexam is        where are you from?
    3. @Ye Dijkstra         coming too, sad~        3. Tomorrow go to
 Algorithm is important!   4. @Jane Tks, Jane.         DisneyLand!
  4. Reviewing Prim’s       Are you fresh,too?
                                                    4. DisneyLand is a
       Algorithm            5. @Jane I am a           magical place!!
  5. Reviewing Bread-        Chinese, you?
     First Algorithm
                                                   5. @Ye I am also a
                           6. @Jane I am glad          Chinese.
  6. Reviewing Depth-         to! See you~
                                                   6. @Ye All Chinese will go
     Firest Algorithm
                           7. @Aries How do           to play in Disneyland,
   7. Reviewing NP-                                       wanna join us?
                           you prepare? Any
       complete                  tips?             7. Doing Homework~
Tweet Graph
    Aries            Ye       Jane

        1                 1           1
                    2
3                                 2
                2         3

                    4         3           4
4

        5                 5       5
    6               6
                              6
            7
                    7                     7
Limitation
• Twitter Limit Rate
  – Twitter API only allows clients to make a
    limited number of calls in a given hour.
  – API Requests: 150 per hour.
• Common Words Elimination
  Small corpus for Common Words (60)
• Top Treading is based on single words.
  – Better use phrase
Conclusion
• Propose a concept of Tweet Rank
• Implement this concept with Tweet Graph
• Rank terms with term frequency and
  Tweet Rank
• Calculate Top Trending of friends for a
  particular user
  – A feature that current Twitter doesn’t have
  – Potential business: show relevant ad based
    on top trending of friends

More Related Content

Viewers also liked

Fermit India, salesATprojectsalescorp.com
Fermit India, salesATprojectsalescorp.comFermit India, salesATprojectsalescorp.com
Fermit India, salesATprojectsalescorp.com
Project Sales Corp
 
Tu privacidad online web download para reformar
Tu privacidad online  web download para reformarTu privacidad online  web download para reformar
Tu privacidad online web download para reformar
Silvanatonelo
 
Chat - Foro - Videoconferencia
Chat - Foro - Videoconferencia Chat - Foro - Videoconferencia
Chat - Foro - Videoconferencia
marosalp
 
Alex Valdés Sanzana - Asteroides
Alex Valdés Sanzana - AsteroidesAlex Valdés Sanzana - Asteroides
Alex Valdés Sanzana - Asteroides
AlexValdesSanzana
 

Viewers also liked (16)

Presentacion grupo 4
Presentacion grupo 4 Presentacion grupo 4
Presentacion grupo 4
 
Fermit India, salesATprojectsalescorp.com
Fermit India, salesATprojectsalescorp.comFermit India, salesATprojectsalescorp.com
Fermit India, salesATprojectsalescorp.com
 
Egypt GCCB Report Event Invite1
Egypt GCCB Report Event Invite1Egypt GCCB Report Event Invite1
Egypt GCCB Report Event Invite1
 
Tu privacidad online web download para reformar
Tu privacidad online  web download para reformarTu privacidad online  web download para reformar
Tu privacidad online web download para reformar
 
Coo nms press-release
Coo nms press-releaseCoo nms press-release
Coo nms press-release
 
(Supplements to vigiliae christianae 118) roelof van den broek pseudo-cyril o...
(Supplements to vigiliae christianae 118) roelof van den broek pseudo-cyril o...(Supplements to vigiliae christianae 118) roelof van den broek pseudo-cyril o...
(Supplements to vigiliae christianae 118) roelof van den broek pseudo-cyril o...
 
Proyecto Primitivus
Proyecto PrimitivusProyecto Primitivus
Proyecto Primitivus
 
Diario de Navarra
Diario de NavarraDiario de Navarra
Diario de Navarra
 
ChocQuibTown
ChocQuibTownChocQuibTown
ChocQuibTown
 
Dilemas de las empresas familiares ~ Cristina Alvarado y Manuel Pavón ~ Catec...
Dilemas de las empresas familiares ~ Cristina Alvarado y Manuel Pavón ~ Catec...Dilemas de las empresas familiares ~ Cristina Alvarado y Manuel Pavón ~ Catec...
Dilemas de las empresas familiares ~ Cristina Alvarado y Manuel Pavón ~ Catec...
 
Santuario arqueologico pachacamac
Santuario arqueologico pachacamacSantuario arqueologico pachacamac
Santuario arqueologico pachacamac
 
Psychologie alternative
Psychologie alternativePsychologie alternative
Psychologie alternative
 
Chat - Foro - Videoconferencia
Chat - Foro - Videoconferencia Chat - Foro - Videoconferencia
Chat - Foro - Videoconferencia
 
Alex Valdés Sanzana - Asteroides
Alex Valdés Sanzana - AsteroidesAlex Valdés Sanzana - Asteroides
Alex Valdés Sanzana - Asteroides
 
Keeper #2
Keeper #2Keeper #2
Keeper #2
 
Copyright form
Copyright formCopyright form
Copyright form
 

Similar to Twitter trends for friends

Shapes and patterns completed project
Shapes and patterns completed projectShapes and patterns completed project
Shapes and patterns completed project
slw87
 

Similar to Twitter trends for friends (11)

Tweakers Anonymous
Tweakers AnonymousTweakers Anonymous
Tweakers Anonymous
 
Shapes and patterns completed project
Shapes and patterns completed projectShapes and patterns completed project
Shapes and patterns completed project
 
Twitter Tips
Twitter TipsTwitter Tips
Twitter Tips
 
Cta.formativeassessment f eb12
Cta.formativeassessment f eb12Cta.formativeassessment f eb12
Cta.formativeassessment f eb12
 
Name that Dog! Presentation Rubric
Name that Dog! Presentation RubricName that Dog! Presentation Rubric
Name that Dog! Presentation Rubric
 
Paraphrasing Skills
Paraphrasing SkillsParaphrasing Skills
Paraphrasing Skills
 
370 October 10 Review
370 October 10 Review370 October 10 Review
370 October 10 Review
 
Muet reading
Muet readingMuet reading
Muet reading
 
Instructions presentation
Instructions presentationInstructions presentation
Instructions presentation
 
Reading skills
Reading skillsReading skills
Reading skills
 
Writing a short essay (1)
Writing a short essay (1)Writing a short essay (1)
Writing a short essay (1)
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 

Twitter trends for friends

  • 1. Top Treading of Twitter Friends Guangqinag Li, Ye Wang
  • 2. Outline • Overview of Twitter • Motivation • Top Trending based on Tweet Rank • Demo • Conclusion
  • 3. Overview of Twitter • Write status • A Tweet
  • 4. Overview of Twitter • See/reply friends’ status
  • 5. Overview of Twitter • Discuss over the same topic through Hashtag
  • 6. Overview of Twitter • Top Trending • Deficiency – User can only customize trending based on locations. – Many of them are not interesting to users.
  • 7. Motivation • Allow user to see the top trending of friends • How to define “Hot” topics among friends? – Term Frequency – Tweet Rank • Hashtag • Replies
  • 8. Tweet Rank • Create a Tweet Graph – Reply: like citation Tweet 2 Tweet 1
  • 9. Tweet Rank • Create a Tweet Graph – Hashtag: implies the same topic
  • 10. Tweet Rank • Create a Tweet Graph • Rank tweets using Tweet Graph – Similar to PageRank algorithm – Outcome: Rank Vector of all tweets
  • 11. Tweet Rank • Every tweet has a score – Between 0 to 1 – This’s Tweet Rank • The random walk 33% 33% T1 33% – Start at a random tweet – Follow an out edge with equal probability • Calculate Tweet Rank, such that each tweet has a real-time (in 24 hours) popularity rate
  • 12. Teleport • Isolated tweet – Not replied; not reply to others; no hashtag – Still possible this tweet is related to some hot topic. • Assign a random probability for isolated tweet to all other tweets
  • 13. Retweet • Send an existing tweet (of others) around – Can be considered as a new tweet of a user
  • 14. Term Rank • Intuition: terms in a tweet with higher rank is more important • Adjacency list: terms and term frequency in each tweet. – Term List<<tweet_id, term-frequency>> • Scoring Scheme for each term: The sum of the multiplication of the logarithm of each Term Frequency (tf>0) and its TweetRank score   (1  log TermFrequency ) * (TweetRank ), i  TweetList i n
  • 15. Top Trending • Terms with top ranking are Top Trending (i.e. hot topic) – More frequently appear in User and user’s friends tweets/retweets – Hot Hashtag may be cited by many tweets. – Replied by many people.
  • 16. Use of Twitter API • Jtwitter A small library providing easy access to the Twitter API http://www.winterwell.com/software/jtwitter.php • Twitter – getFriendsTimeline() • Twitter.Status – id – inReplyToStatusId
  • 17. Demo • Scenario: Ye 1. Hello, I am fresh. Aries Jane 1. #Finalexam is 2. @Aries Good 1. Welcome, fresh~ coming. Luck on your finals 2. @Ye I took a long 3. On, My 2. Yes, I am. So to prepare Algorithm #finalexam is where are you from? 3. @Ye Dijkstra coming too, sad~ 3. Tomorrow go to Algorithm is important! 4. @Jane Tks, Jane. DisneyLand! 4. Reviewing Prim’s Are you fresh,too? 4. DisneyLand is a Algorithm 5. @Jane I am a magical place!! 5. Reviewing Bread- Chinese, you? First Algorithm 5. @Ye I am also a 6. @Jane I am glad Chinese. 6. Reviewing Depth- to! See you~ 6. @Ye All Chinese will go Firest Algorithm 7. @Aries How do to play in Disneyland, 7. Reviewing NP- wanna join us? you prepare? Any complete tips? 7. Doing Homework~
  • 18. Tweet Graph Aries Ye Jane 1 1 1 2 3 2 2 3 4 3 4 4 5 5 5 6 6 6 7 7 7
  • 19. Limitation • Twitter Limit Rate – Twitter API only allows clients to make a limited number of calls in a given hour. – API Requests: 150 per hour. • Common Words Elimination Small corpus for Common Words (60) • Top Treading is based on single words. – Better use phrase
  • 20. Conclusion • Propose a concept of Tweet Rank • Implement this concept with Tweet Graph • Rank terms with term frequency and Tweet Rank • Calculate Top Trending of friends for a particular user – A feature that current Twitter doesn’t have – Potential business: show relevant ad based on top trending of friends