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
45
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
52
SafeDining2
ahmad0510
0
39
Safedining3
ahmad0510
0
47
Other Decks in Technology
See All in Technology
生成AI時代のIAMのマニアックな話
takuros
6
2.9k
並列度を下げたら速くなった — go build の重複コンパイルを実測で見る
tomoaki25
2
1k
超⼩型・多⾔語検索モデル Bekko Embedding
hotchpotch
1
140
なぜ東京にいる私が、新潟の技術コミュニティを運営するのか by 八雲慎之助
yakumo
0
230
Reticulum, le réseau cypherpunk dont vous avez besoin !
rlifchitz
0
120
SREのためのFinOps入門
muziyoshiz
2
1.1k
続・ソフトウェアアーキテクトのための意思決定術: Decision Readiness, Revisited — When AI Changes the Economics of Software Architecture
snoozer05
PRO
9
2.8k
Bots in Kiro Crew (One point of contact for ongoing work) | Kiro: Zero to Hero 12
inariku
PRO
1
110
The future of architectural work
ufried
0
190
Context Ontology Accelerator 入門 (業務データの意味を、AI エージェントに渡す)
inariku
PRO
3
610
長い仕事を任せる (Workflows、クラウドセッション、Kiro Web) | 目指せ Kiro マスター 10
inariku
PRO
3
160
AI時代における医療情報システムのセキュリティ / Security of Healthcare IT Systems in the AI Era
henryofficial
0
130
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
560
Documentation Writing (for coders)
carmenintech
77
5.6k
Designing for Performance
lara
612
70k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
30 Presentation Tips
portentint
PRO
1
460
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
980
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
670
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
60k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.8k
What the history of the web can teach us about the future of AI
inesmontani
PRO
3
800
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.9k
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