Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Safe Dining
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
ahmad0510
February 16, 2016
Technology
1
33
Safe Dining
Finds safe dining places in your neighborhood
ahmad0510
February 16, 2016
Tweet
Share
More Decks by ahmad0510
See All by ahmad0510
Safe Dining Talk
ahmad0510
0
49
Safe Dining Talk
ahmad0510
0
34
Safe Dining
ahmad0510
0
40
Safe Dining
ahmad0510
0
44
Safe Dining
ahmad0510
0
44
Safe Dining
ahmad0510
1
40
SafeDining
ahmad0510
0
48
SafeDining2
ahmad0510
0
33
Safedining3
ahmad0510
0
41
Other Decks in Technology
See All in Technology
Introduction to Bill One Development Engineer
sansan33
PRO
0
360
会社紹介資料 / Sansan Company Profile
sansan33
PRO
15
400k
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
Webhook best practices for rock solid and resilient deployments
glaforge
1
290
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
4
1.3k
セキュリティについて学ぶ会 / 2026 01 25 Takamatsu WordPress Meetup
rocketmartue
1
300
顧客との商談議事録をみんなで読んで顧客解像度を上げよう
shibayu36
0
220
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
190
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.6k
FinTech SREのAWSサービス活用/Leveraging AWS Services in FinTech SRE
maaaato
0
130
プロポーザルに込める段取り八分
shoheimitani
1
230
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
430
Featured
See All Featured
Game over? The fight for quality and originality in the time of robots
wayneb77
1
120
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
WENDY [Excerpt]
tessaabrams
9
36k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
3.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Faster Mobile Websites
deanohume
310
31k
Mobile First: as difficult as doing things right
swwweet
225
10k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
290
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
99
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
320
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 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 API Preprocessing Defining classification problem Feature
Engineering Choosing a model Validation 10-fold cross validation Cross entropy loss measure
Multiclass Classification Predict the hour at which crime happens
at given location Features: 35 -- 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
mylocalcrime.com
• Ahmad Haider • PhD thesis: “Measurement of energy landscapes
of biological interactions using Boltzmann sampling” • Georgia Tech • Love hiking About Me
None