Urban Computing with Taxicabs

17
Urban Computing with Taxicabs Yu Zheng Microsoft Research Asia

description

Urban Computing with Taxicabs. Yu Zheng Microsoft Research Asia. Motivation. Urban computing for Urban planning D eveloping countries: Urbanization and city planning Developed countries: Urban reconstruction, city renewal, and sub-urbanization Questions - PowerPoint PPT Presentation

Transcript of Urban Computing with Taxicabs

Page 1: Urban Computing with Taxicabs

Urban Computing with Taxicabs

Yu ZhengMicrosoft Research Asia

Page 2: Urban Computing with Taxicabs

Motivation

Urban computing for Urban planningDeveloping countries: Urbanization and city planning Developed countries: Urban reconstruction, city renewal, and sub-urbanization

Questions What’s wrong with the city configurations?Does a carried out urban planning really works?

Page 3: Urban Computing with Taxicabs

GPS-equipped taxis are mobile sensors

Page 4: Urban Computing with Taxicabs

Rank Cities Country/Region Taxicabs

1 The Mexico city Mexico 103,000+

2 Bangkok Thailand 80,000+

3 Seoul South Korea 73,000+

4 Beijing China 67,000

5 Tokyo Japan 60,000

6 Shanghai China 50,000+

7 New York City USA 48,300

8 buenos aires Argentina 45,000

9 Moscow Russia 40,000 (1000,000)

10 St.Paul Brazil 37,000

11 Tianjin China 35,000

12 Taipei Taiwan 31,000+

13 New Taipei City Taiwan 23,500

14 Singapore Singapore 23,000

15 Osaka Japan 20,000

16 Hong Kong China 18,000+

17 Wuhan China 18,000

18 London England 17,000

19 Harbin China 17,000

20 Guangzhou China 16,000+

21 Shenyang China 15,000+

22 Paris France 15,000

Page 5: Urban Computing with Taxicabs

What We Do

Detect flawed urban planning using taxi trajectoriesEvaluate the carried out city configurationsReminder city planners with the unrecognized problems

Challenges City-wide traffic modelingEmbodying flaws and reveal their relationship

Page 6: Urban Computing with Taxicabs

MethodologyPartition a city into regions with major roads

Page 7: Urban Computing with Taxicabs

Methodology

Partition the trajectory dataset into some portions

Time Work day Rest day

Slot 1 7:00am-10:30am 9:00am-12:30pm

Slot 2 10:30am-4:00pm 12:30pm-7:30pm

Slot 3 4:00pm-7:30pm 7:30pm-9:00am

Slot 4 7:30pm-7:00am

8:0

0

10

:00

12

:00

14

:00

16

:00

18

:00

20

:00

22

:0024

26

28

30

32

34

36

38

40

42

Sp

ee

d (

km

/h)

Time of day

Speed Average Speed

8:0

0

10

:00

12

:00

14

:00

16

:00

18

:00

20

:00

22

:00 --

28

30

32

34

36

38

40

42

44

46

48

Sp

ee

d (

km

/h)

Time of day

Speed Average Speed

Workday Rest day

Page 8: Urban Computing with Taxicabs

Methodology

Project taxi trajectories onto these regionsBuilding a region graph for each time slot

Page 9: Urban Computing with Taxicabs

Methodology

Extracting features from each edge|S|: Number of taxisE(v): Expectation of speed p2

Tr2

Tr1p1

p6

p3

r1

r2

r3p4 p7

p0

p8

r1 r2 r3

r1 r3Tr1:

Tr2:p5)

010

2030

4050

6070

0

200

400

600

800

1000

-1

0

1

23

4

r0 r1 rj rnrn-1r0r1

ri

rn

rn-1

ai,jai,1

an,0

a0,1

a1,0

a0,n

a1,n

an-1,0 an-1,n

ai,nai,0M =

𝑎𝑖𝑗=¿|𝑺|,𝐸 (𝑉 ) ,𝜃>¿

Page 10: Urban Computing with Taxicabs

Methodology

Select edges with |S| above averageDetect Skyline edges according to < >

Select edges with big and small Any point from the skyline is not dominated by other points

ɵ

E(V

)

E(V) ɵ24 1.6

20 2.4

30 2.8

22 2.0

18 1.4

34 2.4

30 2.0

36 3.2

skyline

A) A skyline B) Seeking a skyline

point

1

2

3

4

5

6

7

8

Page 11: Urban Computing with Taxicabs

Methodology

Formulate skyline graphsMining frequent patterns

To avoid false alertDeep understanding

Day 1 Day 2 Day 3

Slo

t 1

Slo

t 2

Sk

ylin

e G

rap

hs

r1 r2 r4

r5r3

r2 r8

r5 r7

r8

r4r9

r1 r2

r3

r8

r4

r9

r5 r7

r3

r1 r2

r4 r5

r2

r5 r8

r8

r4

r3

r6

r1 r2 r5r8

r4

r3 r6

r1 r2

r4 r5

r2

r4 r8

r4

r3

r8

r1 r2

r4

r5

r3

r8

r6S

lot

3

r1 r2 r8 r4

r4 r5

Support=1.0 Support=2/3

r1 r2 r8 r5r4

r3 r8 r4 r3 r6Pat

tern

s

r2

Ste

p (1

)

Step (2)

Bu

ildin

g skylin

e graph

s

Mining skyline patterns

r4

Day 1 Day 2 Day 3

Slo

t 1

Slo

t 2

Sk

ylin

e G

rap

hs

r1 r2 r4

r5r3

r2 r8

r5 r7

r8

r4r9

r1 r2

r3

r8

r4

r9

r5 r7

r3

r1 r2

r4 r5

r2

r5 r8

r8

r4

r3

r6

r1 r2 r5r8

r4

r3 r6

r1 r2

r4 r5

r2

r4 r8

r4

r3

r8

r1 r2

r4

r5

r3

r8

r6S

lot

3

r1 r2 r8 r4

r4 r5

Support=1.0 Support=2/3

r1 r2 r8 r5r4

r3 r8 r4 r3 r6Pat

tern

s

r2

Ste

p (1

)

Step (2)

Bu

ildin

g skylin

e graph

s

Mining skyline patterns

r4

Day 1 Day 2 Day 3

Slo

t 1

Slo

t 2

Sk

ylin

e G

rap

hs

r1 r2 r4

r5r3

r2 r8

r5 r7

r8

r4r9

r1 r2

r3

r8

r4

r9

r5 r7

r3

r1 r2

r4 r5

r2

r5 r8

r8

r4

r3

r6

r1 r2 r5r8

r4

r3 r6

r1 r2

r4 r5

r2

r4 r8

r4

r3

r8

r1 r2

r4

r5

r3

r8

r6

Slo

t 3

r1 r2 r8 r4

r4 r5

Support=1.0 Support=2/3

r1 r2 r8 r5r4

r3 r8 r4 r3 r6Pat

tern

s

r2

Ste

p (1

)

Step (2)

Bu

ildin

g skylin

e graph

s

Mining skyline patterns

r4

Day 1 Day 2 Day 3

Slo

t 1

Slo

t 2

Sk

ylin

e G

rap

hs

r1 r2 r4

r5r3

r2 r8

r5 r7

r8

r4r9

r1 r2

r3

r8

r4

r9

r5 r7

r3

r1 r2

r4 r5

r2

r5 r8

r8

r4

r3

r6

r1 r2 r5r8

r4

r3 r6

r1 r2

r4 r5

r2

r4 r8

r4

r3

r8

r1 r2

r4

r5

r3

r8

r6S

lot

3

r1 r2 r8 r4

r4 r5

Support=1.0 Support=2/3

r1 r2 r8 r5r4

r3 r8 r4 r3 r6Pat

tern

s

r2

Ste

p (1

)

Step (2)

Bu

ildin

g skylin

e graph

s

Mining skyline patterns

r4

Day 1 Day 2 Day 3

Slo

t 1

Slo

t 2

Sk

ylin

e G

rap

hs

r1 r2 r4

r5r3

r2 r8

r5 r7

r8

r4r9

r1 r2

r3

r8

r4

r9

r5 r7

r3

r1 r2

r4 r5

r2

r5 r8

r8

r4

r3

r6

r1 r2 r5r8

r4

r3 r6

r1 r2

r4 r5

r2

r4 r8

r4

r3

r8

r1 r2

r4

r5

r3

r8

r6

Slo

t 3

r1 r2 r8 r4

r4 r5

Support=1.0 Support=2/3

r1 r2 r8 r5r4

r3 r8 r4 r3 r6Pat

tern

s

r2

Ste

p (1

)

Step (2)

Bu

ildin

g skylin

e graph

s

Mining skyline patterns

r4

Page 12: Urban Computing with Taxicabs

EvaluationsDatasets 2009. 3-5 2010.3-6

Number of taxis 29,286 30,121

Effective days 89 116

Number of pointsTotal 679M 1,730M

Per taxi/day 306 528

Distance (KM)Total 310M 600M

Per taxi/day 128 171

Average sampling rate (s) 100 74

Ave. dist. between two points (m) 457 349

Page 13: Urban Computing with Taxicabs

Workdays Rest Days

2009

2010

Page 14: Urban Computing with Taxicabs

Some flaws occurring in 2009 disappearedExample 1: Two roads launched in late 2009

The 4th ring road Entrance

r1r2

r3

r4

Results

Page 15: Urban Computing with Taxicabs

Some flaws occurring in 2009 still exist in 2010Example 1: Subway line 14 and 15

Results

A) overview B) Line 14 and 15 in Wangjing C) Line 14 passing New CBD

Su

bw

ay

li

ne

15

Su

bw

ay

L

ine

14

r2

r1Su

bw

ay

li

ne

14

r3

Page 16: Urban Computing with Taxicabs

Conclusion

Video

Page 17: Urban Computing with Taxicabs

Thanks!

Yu Zhenghttp://research.microsoft.com/en-us/people/yuzheng/

The Released Dataset: T-Drive taxi trajectories

A demo in the demo session on Sept. 20.