Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Data Mining 101

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →

Data Mining 101

How data collection and
aggregation shapes our world

Avatar for anton612

anton612

June 14, 2015

Other Decks in Technology

Transcript

  1. 2011 Nice Ride Data • Subscriber ID • Starting Location

    • Starting Date/Time • Ending Location • Ending Date/Time • Subscriber Type
  2. 2011 Nice Ride Data • Subscriber ID • Starting Location

    • Starting Date/Time • Ending Location • Ending Date/Time • Subscriber Type • Gender • ZIP Code • Date of Birth
  3. Nice Ride Privacy Policy "How is my personal information used

    or shared?" "We may share aggregated demographic information (data that cannot identify any individual person) with our partners and sponsors." -Nice Ride Privacy Policy, (effective as of 03/17/2010)
  4. Data Aggregation: Easy Mode What can we learn with this

    Subscriber ID? • Beginning and ending location and times for all rides • Frequency of use • Subscriber IDs of “friends” who check out and return bikes at the same time as target Most importantly, we can combine the above data with other data sources
  5. Data Aggregation: Hard Mode • Subscriber ID • Starting Location

    • Starting Date/Time • Ending Location • Ending Date/Time • Subscriber Type • Gender • ZIP Code • Date of Birth
  6. Data Aggregation: Hard Mode How many users rode 3 or

    more times on September 7, 2011?
  7. Data Aggregation: Hard Mode How many users rode 3 or

    more times on September 7, 2011? A: 160
  8. Data Aggregation: Hard Mode How many users rode 3 or

    more times on September 7, 2011? A: 160 How could we further narrow this data down?
  9. Data Aggregation: Hard Mode Combine with other tweets which reveal

    info: Confirm/deny potential IDs via public info: - RT probably checked out a bike the day for this event
  10. Data Aggregation: Hard Mode How many users stopped near City

    Hall in the morning (before noon)? How many users stopped near the East Harriet neighborhood in the evening?
  11. Data Aggregation: Hard Mode How many users stopped near City

    Hall in the morning (before noon)? 21 How many users stopped near the East Harriet neighborhood in the evening? 6
  12. Data Aggregation: Hard Mode How many users stopped near City

    Hall in the morning AND near East Harriet in evening? Subscriber ID: PV9KSC9BSY
  13. Privacy problem? • Wrote concise blog post, using data to

    tell a story • Emailed Nice Ride: Response: “We see no problem publishing that” • Tweeted:
  14. Data Aggregation How Target Figured Out A Teen Girl Was

    Pregnant Before Her Father Did 25+ items make up a “pregnancy prediction” score
  15. Data Aggregation How Target Figured Out A Teen Girl Was

    Pregnant Before Her Father Did 25+ items make up a “pregnancy prediction” score “One Target employee I spoke to provided a hypothetical example. Take a fictional Target shopper named Jenny Ward, who is 23, lives in Atlanta and in March bought cocoa-butter lotion, a purse large enough to double as a diaper bag, zinc and magnesium supplements and a bright blue rug. There’s, say, an 87 percent chance that she’s pregnant and that her delivery date is sometime in late August.”
  16. Data Aggregation New data possibilities: Auto Insurance GPS (where you

    go) Rate of speed Time of day you drive Acceleration/deceleration rate
  17. Data accountability Payment rates of friends determines creditworthiness Do you

    read the terms? Using a VPN? Different search results based on browser
  18. A data accountability model Why? People are entitled to some

    degree of privacy Institutions should be held accountable for what data they collect and how they use it
  19. Personal Privacy I'm not doing anything wrong, so I have

    nothing to hide! "The real danger is the gradual erosion of individual liberties through automation, integration, and interconnection of many small, separate record-keeping systems, each of which alone may seem innocuous, even benevolent, and wholly justifiable." -Anon., U. S. Privacy Study Commission, 1977
  20. We’ve been here before Access to data collected about yourself

    Ability to fix or dispute data Some insight into how data is used
  21. Institutional Transparency Publicly available data can be easily found online:

    Minneapolis Open Data Portal Open Twin Cities Data Portal • Crime • GIS • Property Value / Taxes • Snow Emergency Routes • Neighborhood Boundaries • Local Government Finances
  22. Institutional Transparency Publicly available data can be easily found online:

    Minneapolis Open Data Portal Open Twin Cities Data Portal State of Minnesota • Census / Demographic • Air & Water Quality • State Government Finances • Economic Data • Traffic Data (crashes) • Health Data (birth/death, immunizations)
  23. Institutional Transparency Publicly available data can be easily found online:

    Minneapolis Open Data Portal Open Twin Cities Data Portal State of Minnesota United States (data.gov) • Hospital Charge Data • Consumer Complaint Database • Climate Data • Federal Student Loan Data • Small Business Lending Data • Airline On-Time Performance • Over 100K datasets available
  24. Institutional Transparency Non-government data can be easily found online: Quandl

    /r/datasets /r/opendata Amazon DataCite Internet Archive
  25. Where to find data? Much publicly available data can *NOT*

    be easily found online: How? Freedom of Information Act requests (templates via Muckrock) Minnesota Government Data Practices Act requests Court Records Minneapolis day-to-day police reports Minnesota Campaign Finance Disclosure Board
  26. Where to find data? Lots of publicly available data can

    *NOT* be easily found online: This gives you, the amateur data scientist, the advantage if you’re willing to seek data out! Towing Data: Metro Transit Bus Shelter Data: