talk of the city: londoners and social media

98
Londoners and Social Media: Track Community “Happiness” + Target Ads @danielequercia

Upload: daniele-quercia

Post on 21-Jun-2015

420 views

Category:

Technology


1 download

DESCRIPTION

talk of the city http://tinyurl.com/cctxbzo tracking emotions in the city http://tinyurl.com/7uvjasy

TRANSCRIPT

Page 1: Talk of the City: Londoners and Social Media

Londoners and Social Media:Track Community “Happiness” + Target Ads

@danielequercia

Page 2: Talk of the City: Londoners and Social Media

<who am i>

Page 3: Talk of the City: Londoners and Social Media

daniele quercia

Page 4: Talk of the City: Londoners and Social Media
Page 5: Talk of the City: Londoners and Social Media
Page 6: Talk of the City: Londoners and Social Media
Page 7: Talk of the City: Londoners and Social Media
Page 8: Talk of the City: Londoners and Social Media
Page 9: Talk of the City: Londoners and Social Media
Page 10: Talk of the City: Londoners and Social Media

offline & online

Page 11: Talk of the City: Londoners and Social Media

<goal>

Page 12: Talk of the City: Londoners and Social Media

social media language personality

social media

Page 13: Talk of the City: Londoners and Social Media

social media

<why>

Page 14: Talk of the City: Londoners and Social Media

social media

Page 15: Talk of the City: Londoners and Social Media

social media Pop press pundits (Archbishop England&Walses)“Social-networking sites “dehumanize” community life”

Page 16: Talk of the City: Londoners and Social Media

social media

Page 17: Talk of the City: Londoners and Social Media

social media 1Q&A

Page 18: Talk of the City: Londoners and Social Media

social media 2Q&A

Page 19: Talk of the City: Londoners and Social Media

social media 3Q&A

Page 20: Talk of the City: Londoners and Social Media

social media CS Researchers:“Twitter is NOT a social network but a news media”

Page 21: Talk of the City: Londoners and Social Media

social media Pop press pundits (Archbishop England&Wales):“Social-networking sites “dehumanize” community life”

CS Researchers:“Twitter is NOT a social network but a news media”

Page 22: Talk of the City: Londoners and Social Media

social media Pop press pundits (Archbishop England&Wales)“Social-networking sites “dehumanize” community life”

CS Researchers:“Twitter is NOT a social network but a news media”

“I beg to diff

er” ;-)

Page 23: Talk of the City: Londoners and Social Media

social media language personality

social media

Page 24: Talk of the City: Londoners and Social Media

community deprivation well-being use of words

?

Page 25: Talk of the City: Londoners and Social Media

community deprivation well-being use of words

Page 26: Talk of the City: Londoners and Social Media

community deprivation well-being use of words

Page 27: Talk of the City: Londoners and Social Media

3 match sentiment with (census) deprivation

2 classify sentiment of profiles

1 collect profiles & geo-reference them

Goal

community deprivation well-being use of words

Page 28: Talk of the City: Londoners and Social Media

250K profiles in London (31.5M tweets)

3 seeds: newspaper accounts

1 collect profiles & geo-reference them

1,323 in London neighborhoods 573 in 51 neighborhoods

Page 29: Talk of the City: Londoners and Social Media

Word Count vs. Maximum Entropy

2 classify sentiment of profiles

Page 30: Talk of the City: Londoners and Social Media

Word Count

Page 31: Talk of the City: Londoners and Social Media

social media language personality

Page 32: Talk of the City: Londoners and Social Media

social media language personality

Page 33: Talk of the City: Londoners and Social Media

social media language personality

Page 34: Talk of the City: Londoners and Social Media

Max Entropy

Training? Upon 300K tweets with smiley and frowny faces

Page 35: Talk of the City: Londoners and Social Media

Word Count vs. Max Entropy

Page 36: Talk of the City: Londoners and Social Media

Word Count vs. Max Entropy

Page 37: Talk of the City: Londoners and Social Media

Index of Multiple Deprivation

3 match sentiment with (census) deprivation

Page 38: Talk of the City: Londoners and Social Media

r=.350 word count r=.365 MaxEnt

predicting socioeconomic well-being with twitter

Page 39: Talk of the City: Londoners and Social Media

[CSCW’12] Tracking Gross Community Happiness from Tweets

Page 40: Talk of the City: Londoners and Social Media

Going beyond sentiment … Look at the subject matter of tweets!

Page 41: Talk of the City: Londoners and Social Media

Extract topics from tweets. Easiest way?

Matching Keywords

Page 42: Talk of the City: Londoners and Social Media

Extract topics from tweets. Easiest way?

Matching Keywords

Page 43: Talk of the City: Londoners and Social Media

Dictionary of keywords? A machine learning model? Training?

Page 44: Talk of the City: Londoners and Social Media

Use machine learning model (no training required)

Page 45: Talk of the City: Londoners and Social Media

Latent Dirichlet Allocation (LDA)

Page 46: Talk of the City: Londoners and Social Media
Page 47: Talk of the City: Londoners and Social Media
Page 48: Talk of the City: Londoners and Social Media

read profiles & define topics

create virtual bins (latent topics)assign words to a bin (@ random)for each bin: select pair of words if co-occur more than chance: keep them in the bin else: put them into another bin (@ random)

Page 49: Talk of the City: Londoners and Social Media

read profiles & define topics

create virtual bins (latent topics)assign words to a bin (@ random)for each bin: select pair of words if co-occur more than chance: keep them in the bin else: put them into another bin (@ random)

Facebook Twitter

Page 50: Talk of the City: Londoners and Social Media

read profiles & define topics

create virtual bins (latent topics)assign words to a bin (@ random)for each bin: select pair of words if co-occur more than chance: keep them in the bin else: put them into another bin (@ random)

Facebook Twitter

social

econometrics

Page 51: Talk of the City: Londoners and Social Media

read profiles & define topics

create virtual bins (latent topics)assign words to a bin (@ random)for each bin: select pair of words if co-occur more than chance: keep them in the bin else: put them into another bin (@ random)

Facebook Twitter

social

econometrics

Page 52: Talk of the City: Londoners and Social Media

Latent Dirichlet Allocation (LDA)

Page 53: Talk of the City: Londoners and Social Media

Latent Dirichlet Allocation (LDA)

Page 54: Talk of the City: Londoners and Social Media

social media environment sports health wedding parties

Spanish/Portuguesecelebrity gossips

Page 55: Talk of the City: Londoners and Social Media

Support Vector Regression IMD <- SVR(topics) accuracy: 8.14 in [13.12,46.88]

Page 56: Talk of the City: Londoners and Social Media

Some areas have very few profiles! residents +

Page 57: Talk of the City: Londoners and Social Media

Some areas have very few profiles! residents + visitors

Page 58: Talk of the City: Londoners and Social Media

Analyze geo-referenced tweets(not only residents but also visitors)

Page 59: Talk of the City: Londoners and Social Media
Page 60: Talk of the City: Londoners and Social Media
Page 61: Talk of the City: Londoners and Social Media

Linear Regression R2=.49 (49% of IMD variability explained)

Page 62: Talk of the City: Londoners and Social Media

So what?

Page 63: Talk of the City: Londoners and Social Media

Theoretical Implications

Page 64: Talk of the City: Londoners and Social Media

Practical Implications

Page 65: Talk of the City: Londoners and Social Media

Ads and the City:Considering Geographic Distance Goes a Long Way

Page 66: Talk of the City: Londoners and Social Media
Page 67: Talk of the City: Londoners and Social Media

Problem Statement: Given a venue (new bar/restaurant), suggests guests

Page 68: Talk of the City: Londoners and Social Media

Problem Statement: Given a venue (new bar/restaurant), suggests guests

Page 69: Talk of the City: Londoners and Social Media

Problem Statement: Given a venue (new bar/restaurant), suggests guests

Page 70: Talk of the City: Londoners and Social Media

Web ≠ people move!

Page 71: Talk of the City: Londoners and Social Media

Web ≠ people move!

Page 72: Talk of the City: Londoners and Social Media

On people mobility (from the literature):

1) likes might matter 2) distance matters 3) “power users” are special

Page 73: Talk of the City: Londoners and Social Media

On people mobility (from the literature):

1) likes might matter 2) distance matters 3) “power users” are special

Page 74: Talk of the City: Londoners and Social Media

On people mobility (from the literature):

1) likes might matter 2) distance matters 3) “power users” are special

Page 75: Talk of the City: Londoners and Social Media

The extent one is a power user ;)

Page 76: Talk of the City: Londoners and Social Media
Page 77: Talk of the City: Londoners and Social Media
Page 78: Talk of the City: Londoners and Social Media

HIGH α travel farther

Page 79: Talk of the City: Londoners and Social Media

HIGH α travel farther

Page 80: Talk of the City: Londoners and Social Media
Page 81: Talk of the City: Londoners and Social Media
Page 82: Talk of the City: Londoners and Social Media

1) Naïve Bayesian2) Bayesian3) Linear Regression (learn weights)

Page 83: Talk of the City: Londoners and Social Media

(2)

Page 84: Talk of the City: Londoners and Social Media

(2)

Page 85: Talk of the City: Londoners and Social Media

(2)

Page 86: Talk of the City: Londoners and Social Media

(2)

Page 87: Talk of the City: Londoners and Social Media

(2)

Page 88: Talk of the City: Londoners and Social Media

(2)

Page 89: Talk of the City: Londoners and Social Media

(2)

Page 90: Talk of the City: Londoners and Social Media

Future (well, current & you could help)

Page 91: Talk of the City: Londoners and Social Media

1 complex buildings

Page 92: Talk of the City: Londoners and Social Media

“Who talks to whom”

Page 93: Talk of the City: Londoners and Social Media

Network

Page 94: Talk of the City: Londoners and Social Media

2 tools for topical & sentiment analysis

Page 95: Talk of the City: Londoners and Social Media

3

Page 96: Talk of the City: Londoners and Social Media

3

Page 97: Talk of the City: Londoners and Social Media

3 urbanopticon.org

2 Tools for topical & sentiment analysis

1 Complex Buildings

Page 98: Talk of the City: Londoners and Social Media

@danielequercia