stat628 module 3 slides2 · business name state topic 1 place rank topic 2 service rank topic 3...

17

Upload: others

Post on 21-Aug-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: stat628 module 3 slides2 · Business Name State Topic 1 Place Rank Topic 2 Service Rank Topic 3 Menu Rank Sparrow QC 66% 55% 71% Words Category Topic 1 table, wait, minutes, ask,
Page 2: stat628 module 3 slides2 · Business Name State Topic 1 Place Rank Topic 2 Service Rank Topic 3 Menu Rank Sparrow QC 66% 55% 71% Words Category Topic 1 table, wait, minutes, ask,
Page 3: stat628 module 3 slides2 · Business Name State Topic 1 Place Rank Topic 2 Service Rank Topic 3 Menu Rank Sparrow QC 66% 55% 71% Words Category Topic 1 table, wait, minutes, ask,
Page 4: stat628 module 3 slides2 · Business Name State Topic 1 Place Rank Topic 2 Service Rank Topic 3 Menu Rank Sparrow QC 66% 55% 71% Words Category Topic 1 table, wait, minutes, ask,
Page 5: stat628 module 3 slides2 · Business Name State Topic 1 Place Rank Topic 2 Service Rank Topic 3 Menu Rank Sparrow QC 66% 55% 71% Words Category Topic 1 table, wait, minutes, ask,

01

02

Page 6: stat628 module 3 slides2 · Business Name State Topic 1 Place Rank Topic 2 Service Rank Topic 3 Menu Rank Sparrow QC 66% 55% 71% Words Category Topic 1 table, wait, minutes, ask,
Page 7: stat628 module 3 slides2 · Business Name State Topic 1 Place Rank Topic 2 Service Rank Topic 3 Menu Rank Sparrow QC 66% 55% 71% Words Category Topic 1 table, wait, minutes, ask,
Page 8: stat628 module 3 slides2 · Business Name State Topic 1 Place Rank Topic 2 Service Rank Topic 3 Menu Rank Sparrow QC 66% 55% 71% Words Category Topic 1 table, wait, minutes, ask,

Suggestion

Page 9: stat628 module 3 slides2 · Business Name State Topic 1 Place Rank Topic 2 Service Rank Topic 3 Menu Rank Sparrow QC 66% 55% 71% Words Category Topic 1 table, wait, minutes, ask,

Missing Value in Business Attributes

> 50% Removal

<=50% Imputation

Normalized root mean squared error (NRMSE)

mean((X − X̂ )2 )var(X )

Page 10: stat628 module 3 slides2 · Business Name State Topic 1 Place Rank Topic 2 Service Rank Topic 3 Menu Rank Sparrow QC 66% 55% 71% Words Category Topic 1 table, wait, minutes, ask,

Business Attributes

Page 11: stat628 module 3 slides2 · Business Name State Topic 1 Place Rank Topic 2 Service Rank Topic 3 Menu Rank Sparrow QC 66% 55% 71% Words Category Topic 1 table, wait, minutes, ask,

K=3 K=5

Ontario in Canada

Page 12: stat628 module 3 slides2 · Business Name State Topic 1 Place Rank Topic 2 Service Rank Topic 3 Menu Rank Sparrow QC 66% 55% 71% Words Category Topic 1 table, wait, minutes, ask,

Positive Topic WordsEnvironment drink, bar, night, beer, table, look, menu

Service time, service, amaze, experience, staff, friendly, recommendFood dish, fry, sauce, chicken, taste, menu, delicious

Negative Topic WordsTable Availability table, wait, minutes, seat, sit, host, ask

Service Time time, service, wait, experience, staff, slow, longFood Flavor fry, taste, chicken, dish, menu, wing, sauce

Bartender Proficiency drink, bar, beer, night, look, friends, bartenderService Quality ask, server, tell, bill, manager, leave, waitress

Page 13: stat628 module 3 slides2 · Business Name State Topic 1 Place Rank Topic 2 Service Rank Topic 3 Menu Rank Sparrow QC 66% 55% 71% Words Category Topic 1 table, wait, minutes, ask,

Elite Years User Weight0 11 1.12 1.23 1.34 1.45 1.56 1.67 1.78 1.89 1.910 2.011 2.112 2.2

Frequency of Elite Years

years_elite

Frequency

0 2 4 6 8 10 12 14

05000

10000

15000

20000

Page 14: stat628 module 3 slides2 · Business Name State Topic 1 Place Rank Topic 2 Service Rank Topic 3 Menu Rank Sparrow QC 66% 55% 71% Words Category Topic 1 table, wait, minutes, ask,

Business topic j score =Wuseri

*Scoretopici

j

j=1

m

∑i=1

n

Wuserii=1

n

Business

Review 1𝑢":𝑤"

topic 1 S""

topic 2 𝑆"'

topic j 𝑆"(

Review i𝑢): 𝑤* topic j 𝑆)(

Page 15: stat628 module 3 slides2 · Business Name State Topic 1 Place Rank Topic 2 Service Rank Topic 3 Menu Rank Sparrow QC 66% 55% 71% Words Category Topic 1 table, wait, minutes, ask,

Business Name State Topic 1 PlaceRank

Topic 2 ServiceRank

Topic 3 MenuRank

Sparrow QC 66% 55% 71%

Words CategoryTopic 1 table, wait, minutes, ask, time, service, minutes, waitress PlaceTopic 2 drink, bar, night, beer, bartender, pay, leave ServiceTopic 3 fry, taste, chicken, dish, menu, service, burger Menu

Page 16: stat628 module 3 slides2 · Business Name State Topic 1 Place Rank Topic 2 Service Rank Topic 3 Menu Rank Sparrow QC 66% 55% 71% Words Category Topic 1 table, wait, minutes, ask,

https://ylingbfcalculator.shinyapps.io/Yelp_data_analysis/

Page 17: stat628 module 3 slides2 · Business Name State Topic 1 Place Rank Topic 2 Service Rank Topic 3 Menu Rank Sparrow QC 66% 55% 71% Words Category Topic 1 table, wait, minutes, ask,