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 Talk
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
ahmad0510
February 17, 2016
Technology
0
34
Safe Dining Talk
Recommender for safe eating places in your neighborhood
ahmad0510
February 17, 2016
Tweet
Share
More Decks by ahmad0510
See All by ahmad0510
Safe Dining Talk
ahmad0510
0
49
Safe Dining
ahmad0510
1
33
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
ブロックテーマ、WordPress でウェブサイトをつくるということ / 2026.02.07 Gifu WordPress Meetup
torounit
0
180
変化するコーディングエージェントとの現実的な付き合い方 〜Cursor安定択説と、ツールに依存しない「資産」〜
empitsu
4
1.4k
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
4
1.3k
配列に見る bash と zsh の違い
kazzpapa3
1
140
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
1
360
GitLab Duo Agent Platform × AGENTS.md で実現するSpec-Driven Development / GitLab Duo Agent Platform × AGENTS.md
n11sh1
0
130
小さく始めるBCP ― 多プロダクト環境で始める最初の一歩
kekke_n
1
410
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.1k
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
4
200
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
3
340
What happened to RubyGems and what can we learn?
mikemcquaid
0
290
【Oracle Cloud ウェビナー】[Oracle AI Database + AWS] Oracle Database@AWSで広がるクラウドの新たな選択肢とAI時代のデータ戦略
oracle4engineer
PRO
2
140
Featured
See All Featured
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
190
Crafting Experiences
bethany
1
48
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
Prompt Engineering for Job Search
mfonobong
0
160
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
Code Review Best Practice
trishagee
74
20k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
120
Abbi's Birthday
coloredviolet
1
4.7k
Color Theory Basics | Prateek | Gurzu
gurzu
0
200
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
440
Build your cross-platform service in a week with App Engine
jlugia
234
18k
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 Under the hood…
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 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 API Preprocessing + Cleaning Defining classification
problem Feature Engineering Choosing a model Validation 10-fold cross validation Cross entropy loss measure
Multiclass Classification Predict the probability of crime at any
hour at any given location Features: 35 -- Location (Lat., Long. etc.) , 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