36
The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows

dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

The Eric & Wendy Schmidt Data Science for Social GoodSummer Fellowship 2015

dssg.uchicago.edu @datascifellows

Page 2: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

The Eric & Wendy Schmidt Data Science for Social GoodSummer Fellowship 2015

dssg.uchicago.edu @datascifellows

Legislative Influence DetectorSunlight Foundation

Page 3: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

State laws matter

states spend more than $1.5 trillion on

programs and services

pass 75 times more bills than Congress

Page 4: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative
Page 5: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative
Page 6: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative
Page 7: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative
Page 8: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative
Page 9: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative
Page 10: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative
Page 11: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative
Page 12: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative
Page 13: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative
Page 14: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative
Page 15: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative
Page 16: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative
Page 17: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative
Page 18: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative
Page 19: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative
Page 20: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

Number of Introduced Bills drafted by ALICE

2010-2015

Number of Introduced Bills drafted by ALEC

2010-2015

Total: 960 Total: 1816

841

Number of Bills

2 163

Number of Bills

Page 21: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

Pipeline

Page 22: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

(A) the federal

land manager of

each such area

shall develop a

plan for evaluating

visibility

the federal

federal land

land manager

the federal land

federal land manager

the federal land manager

federal land manager of

Indexing Bills

ElasticSearch

Page 23: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

Definition of Alignment

“I like the Knicks”“I love the New

York Knicks”

Page 24: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

An Optimal Alignment

Scoring of alignment:match score

mismatch score

gap score

Goal:given two texts, find the alignment of two

subsequences that has the optimal score.

Page 25: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

This is my example text

This is an an example of text matching

ExampleMatch Score: 2

Mismatch Score: -2

Gap score: -.5

0 I like the Knicks

0 0 0 0 0 0

I 0 ?

love 0

the 0

New 0

York 0

Knicks 0

Page 26: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

This is my example text

This is an an example of text matching

ExampleMatch Score: 2

Mismatch Score: -2

Gap score: -.5

0 I like the Knicks

0 0 0 0 0 0

I 0 2

love 0

the 0

New 0

York 0

Knicks 0

Page 27: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

This is my example text

This is an an example of text matching

ExampleMatch Score: 2

Mismatch Score: -2

Gap score: -.5

0 I like the Knicks

0 0 0 0 0 0

I 0 2 ?

love 0

the 0

New 0

York 0

Knicks 0

Page 28: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

This is my example text

This is an an example of text matching

ExampleMatch Score: 2

Mismatch Score: -2

Gap score: -.5

0 I like the Knicks

0 0 0 0 0 0

I 0 2 1.5

love 0

the 0

New 0

York 0

Knicks 0

Page 29: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

This is my example text

This is an an example of text matching

ExampleMatch Score: 2

Mismatch Score: -2

Gap score: -.5

0 I like the Knicks

0 0 0 0 0 0

I 0 2 1.5 ?

love 0

the 0

New 0

York 0

Knicks 0

Page 30: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

This is my example text

This is an an example of text matching

ExampleMatch Score: 2

Mismatch Score: -2

Gap score: -.5

0 I like the Knicks

0 0 0 0 0 0

I 0 2 1.5 1

love 0

the 0

New 0

York 0

Knicks 0

Page 31: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

This is my example text

This is an an example of text matching

ExampleMatch Score: 2

Mismatch Score: -2

Gap score: -.5

0 I like the Knicks

0 0 0 0 0 0

I 0 2 1.5 1 0.5

love 0 1.5 1 0.5 0

the 0 1 0.5 3 2.5

New 0 0.5 0 2.5 2

York 0 0 0 2 1.5

Knicks 0 0 0 1.5 4

Page 32: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

This is my example text

This is an an example of text matching

ExampleMatch Score: 2

Mismatch Score: -2

Gap score: -.5

0 I like the Knicks

0 0 0 0 0 0

I 0 2 1.5 1 0.5

love 0 1.5 1 0.5 0

the 0 1 0.5 3 2.5

New 0 0.5 0 2.5 2

York 0 0 0 2 1.5

Knicks 0 0 0 1.5 4

Page 33: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

Is LID useful for Social Science?

a new tool for measuring legislative influence

variable in a regression?

networks of legislators?

limitations

Page 34: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

How can computer science help SS?

well known quantitative tools of SS:econometrics

statistics

less well known quantitative tools of SS:algorithms and machine learning

Page 35: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

Advice for learning more

Online courses

Projects

Page 36: dssg.uchicago.edu @datascifellows The Eric & Wendy …...The Eric & Wendy Schmidt Data Science for Social Good Summer Fellowship 2015 dssg.uchicago.edu @datascifellows Legislative

Thank you