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
ahmad0510
February 15, 2016
Technology
1
38
Safe Dining
Finds safe places to eat in your neighborhood
ahmad0510
February 15, 2016
Tweet
Share
More Decks by ahmad0510
See All by ahmad0510
Safe Dining Talk
ahmad0510
0
48
Safe Dining Talk
ahmad0510
0
32
Safe Dining
ahmad0510
1
31
Safe Dining
ahmad0510
0
39
Safe Dining
ahmad0510
0
43
Safe Dining
ahmad0510
0
42
SafeDining
ahmad0510
0
46
SafeDining2
ahmad0510
0
31
Safedining3
ahmad0510
0
40
Other Decks in Technology
See All in Technology
伴走から自律へ: 形式知へと導くSREイネーブリングによる プロダクトチームの信頼性オーナーシップ向上 / SRE NEXT 2025
visional_engineering_and_design
3
230
Delta airlines Customer®️ USA Contact Numbers: Complete 2025 Support Guide
deltahelp
0
1.1k
話題の MCP と巡る OCI RAG ソリューションの旅 - Select AI with RAG と Generative AI Agents ディープダイブ
oracle4engineer
PRO
5
110
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
55
22k
United Airlines Customer Service– Call 1-833-341-3142 Now!
airhelp
0
180
セキュアな社内Dify運用と外部連携の両立 ~AIによるAPIリスク評価~
zozotech
PRO
0
100
オーティファイ会社紹介資料 / Autify Company Deck
autifyhq
10
130k
american airlines®️ USA Contact Numbers: Complete 2025 Support Guide
supportflight
1
120
推し書籍📚 / Books and a QA Engineer
ak1210
0
120
NewSQLや分散データベースを支えるRaftの仕組み - 仕組みを理解して知る得意不得意
hacomono
PRO
3
230
20250707-AI活用の個人差を埋めるチームづくり
shnjtk
6
4.1k
ソフトウェアテストのAI活用_ver1.25
fumisuke
1
560
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Unsuck your backbone
ammeep
671
58k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Thoughts on Productivity
jonyablonski
69
4.7k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
How STYLIGHT went responsive
nonsquared
100
5.6k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
54k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
KATA
mclloyd
30
14k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
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