Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Safe Dining
Search
ahmad0510
February 15, 2016
Technology
44
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Safe Dining
Finds safe places to eat in your neighborhood
ahmad0510
February 15, 2016
More Decks by ahmad0510
See All by ahmad0510
Safe Dining Talk
ahmad0510
0
52
Safe Dining Talk
ahmad0510
0
38
Safe Dining
ahmad0510
1
37
Safe Dining
ahmad0510
0
44
Safe Dining
ahmad0510
0
47
Safe Dining
ahmad0510
0
49
SafeDining
ahmad0510
0
51
SafeDining2
ahmad0510
0
37
Safedining3
ahmad0510
0
47
Other Decks in Technology
See All in Technology
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
4
1.4k
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
8
2.4k
ウォンテッドリーの最近のプロダクトと技術の紹介
stomk
0
120
継続的なAIコスト最適化
bgpat
1
350
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
4
1.2k
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
3
1.1k
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
640
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
140
大型犬好きによるPugの紹介
yamanoku
1
160
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
630
Metadata - Section 1: HTML Basics
mohab1
0
120
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
1
190
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
4k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
590
Git: the NoSQL Database
bkeepers
PRO
433
67k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
The Limits of Empathy - UXLibs8
cassininazir
2
720
Build your cross-platform service in a week with App Engine
jlugia
234
19k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
360
Producing Creativity
orderedlist
PRO
348
41k
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
Transcript
Ahmad Haider Insight Data Science 2016
Personal Story What if I could find which restaurants are
safe and which are not? Mugged @Parking lot ! L Hungry for Pizza! Closest pizza location
Makes Real-Time Recommendations for Safety Ratings Restaurants in a Neighborhood
SafeDining app
I want to eat Pizza at 2+ rated restaurant within
3 miles of my location
I want to eat Pizza at 2+ rated restaurant within
3 miles of my location
I want to eat Pizza at 2+ rated restaurant within
3 miles of my location
I want to eat Pizza at 3+ rated restaurant within
2 miles of my location p1 p2 p3 p4 p5 p1 p2 p3 p4 p1 p2 p1 p2 p3 p4 p5 p6 p7 p8 p1 Crime Location Crime Probability
I want to eat Pizza at 2+ rated restaurant within
3 miles of my location p1 p2 p3 p4 p5 p1 p2 p3 p4 p1 p2 p1 p2 p3 p4 p5 p6 p7 p8 p1 Crime Location Crime Probability 1. pRest 1. pRest 1. pRest 1. pRest pRest Crime Probability at restaurant
I want to eat Pizza at 2+ rated restaurant within
3 miles of my location p1 p2 p3 p4 p5 p1 p2 p3 p4 p1 p2 p1 p2 p3 p4 p5 p6 p7 p8 p1 Crime Location Crime Probability 1. pRest 1. pRest 1. pRest 1. pRest pRest Crime Probability at restaurant pRest pRest pRest pRest pRest pRest pRest
I want to eat Pizza at 2+ rated restaurant within
3 miles of my location p1 p2 p3 p4 p5 p1 p2 p3 p4 p1 p2 p1 p2 p3 p4 p5 p6 p7 p8 p1 Crime Location Crime Probability 1. pRest 1. pRest 1. pRest 1. pRest pRest Crime Probability at restaurant pRest pRest pRest pRest pRest pRest pRest 2. Relative Safety Index 2. Relative Safety Index 2. Relative Safety Index 2. Relative Safety Index
Workflow Crime dataset Yelp dataset Preprocessing Defining classification problem Feature
Engineering Choosing a model Validation Python Pandas Regular expr. Multiclass 24 classes (hour of day) Standardization PCA Logistic Regression scikit-learn 10-fold cross validation Log loss score APD: 2009-2015 Yelp search API
Multiclass Classification Predict the hour at which crime happens
at given location Features: Location (Lat., Long.) , Time (dd, wk, mm, yyyy) Labels: 24 classes (hour of day) Logistic Regression Cross entropy loss measure = 2.95 Algorithm
Theft Residential Burglary Robbery Assault Source: mylocalcrime.com Validation My analysis
Independent source
• Ahmad Haider • PhD in “Measurement of energy landscapes
of biological interactions using boltzmann sampling” • Georgia Tech • Love hiking and reading fiction/non-fiction About Me
None