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.comProject Sales Corp
 
Egypt GCCB Report Event Invite1
Egypt GCCB Report Event Invite1Egypt GCCB Report Event Invite1
Egypt GCCB Report Event Invite1Paul Scott
 
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 reformarSilvanatonelo
 
(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...F.maximos Samoul
 
ChocQuibTown
ChocQuibTownChocQuibTown
ChocQuibTowngolier
 
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...Cat.Economica
 
Santuario arqueologico pachacamac
Santuario arqueologico pachacamacSantuario arqueologico pachacamac
Santuario arqueologico pachacamacMateo Msa
 
Psychologie alternative
Psychologie alternativePsychologie alternative
Psychologie alternativeBenoit Fabre
 
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 - AsteroidesAlexValdesSanzana
 

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

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

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

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