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
FindSafeDining
Search
ahmad0510
February 11, 2016
Technology
0
24
FindSafeDining
Find safe restaurants near you
ahmad0510
February 11, 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
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
Other Decks in Technology
See All in Technology
Webhook best practices for rock solid and resilient deployments
glaforge
1
290
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
450
Greatest Disaster Hits in Web Performance
guaca
0
240
Digitization部 紹介資料
sansan33
PRO
1
6.8k
仕様書駆動AI開発の実践: Issue→Skill→PRテンプレで 再現性を作る
knishioka
2
660
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
140
ブロックテーマでサイトをリニューアルした話 / 2026-01-31 Kansai WordPress Meetup
torounit
0
470
超初心者からでも大丈夫!オープンソース半導体の楽しみ方〜今こそ!オレオレチップをつくろう〜
keropiyo
0
110
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
1.9k
20260208_第66回 コンピュータビジョン勉強会
keiichiito1978
0
130
AWS Network Firewall Proxyを触ってみた
nagisa53
1
230
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
1
360
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Skip the Path - Find Your Career Trail
mkilby
0
56
How GitHub (no longer) Works
holman
316
140k
Agile that works and the tools we love
rasmusluckow
331
21k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
94
Context Engineering - Making Every Token Count
addyosmani
9
660
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
120
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
Bash Introduction
62gerente
615
210k
Transcript
Ahmad Haider Insight Data Science 2016
Personal Story 11 pm@ Nov 2013: Preparing for final
exams Hungry. Pizza cravings! Drive with friends to the nearest Papa Johns Mugged at Papa Johns parking lot. Car stolen L Insight project: Can I predict the safety rating of restaurants?
Provide real time location safety ratings of restaurants SafeDining
I want to eat Pizza at 2+ rated restaurant within
2 miles of my location
I want to eat Pizza at 2+ rated restaurant within
2 miles of my location
I want to eat Pizza at 2+ rated restaurant within
2 miles of my location
I want to eat Pizza at 2+ 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
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 1. pRest 1. pRest 1. pRest 1. pRest pRest Crime Probability at restaurant
I want to eat Pizza at 2+ 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 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
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 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 2009-2015 Yelp search API
Multiclass Classification Predict the hour at which crime
happens at given location Features: Location (lat., long.), Address, Day, Week, Month, Year Labels: 24 classes (hour of day) Logistic Regression Cross entropy loss measure = 2.95 Algorithm
Theft Residential Burglary Robbery Assault Source: mylocalcrime.com Validation
• 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