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
33
Safe Dining
ahmad0510
1
32
Safe Dining
ahmad0510
0
40
Safe Dining
ahmad0510
0
44
Safe Dining
ahmad0510
0
43
Safe Dining
ahmad0510
1
39
SafeDining
ahmad0510
0
48
SafeDining2
ahmad0510
0
32
Other Decks in Technology
See All in Technology
「タコピーの原罪」から学ぶ間違った”支援” / the bad support of Takopii
piyonakajima
0
140
ViteとTypeScriptのProject Referencesで 大規模モノレポのUIカタログのリリースサイクルを高速化する
shuta13
3
180
MCP ✖️ Apps SDKを触ってみた
hisuzuya
0
330
Data Hubグループ 紹介資料
sansan33
PRO
0
2.2k
あなたの知らない Linuxカーネル脆弱性の世界
recruitengineers
PRO
3
150
SQLAlchemy の select(User).where(User.id =="123") を理解してみる/sqlalchemy deep dive
3l4l5
3
320
Digitization部 紹介資料
sansan33
PRO
1
5.7k
知覚とデザイン
rinchoku
1
470
[2025年10月版] Databricks Data + AI Boot Camp
databricksjapan
1
250
Dify on AWS 環境構築手順
yosse95ai
0
120
初めてのDatabricks Apps開発
taka_aki
1
270
AWS DMS で SQL Server を移行してみた/aws-dms-sql-server-migration
emiki
0
160
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Designing Experiences People Love
moore
142
24k
Typedesign – Prime Four
hannesfritz
42
2.8k
Code Reviewing Like a Champion
maltzj
526
40k
The Cost Of JavaScript in 2023
addyosmani
55
9.1k
Become a Pro
speakerdeck
PRO
29
5.6k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Reflections from 52 weeks, 52 projects
jeffersonlam
353
21k
Producing Creativity
orderedlist
PRO
347
40k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
It's Worth the Effort
3n
187
28k
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