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
23
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
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
Safe Dining
ahmad0510
1
38
SafeDining
ahmad0510
0
46
SafeDining2
ahmad0510
0
31
Other Decks in Technology
See All in Technology
Lakebaseを使ったAIエージェントを実装してみる
kameitomohiro
0
190
インフラ寄りSREの生存戦略
sansantech
PRO
9
3.5k
オーティファイ会社紹介資料 / Autify Company Deck
autifyhq
10
130k
安定した基盤システムのためのライブラリ選定
kakehashi
PRO
3
120
How to Quickly Call American Airlines®️ U.S. Customer Care : Full Guide
flyaahelpguide
0
240
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
13k
TLSから見るSREの未来
atpons
2
270
SREのためのeBPF活用ステップアップガイド
egmc
2
1k
american airlines®️ USA Contact Numbers: Complete 2025 Support Guide
supportflight
1
120
20250708オープンエンドな探索と知識発見
sakana_ai
PRO
4
940
united airlines ™®️ USA Contact Numbers: Complete 2025 Support Guide
flyunitedhelp
1
470
microCMSではじめるAIライティング
himaratsu
0
130
Featured
See All Featured
Making Projects Easy
brettharned
116
6.3k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
510
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
970
Adopting Sorbet at Scale
ufuk
77
9.5k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
The Invisible Side of Design
smashingmag
301
51k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.6k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
It's Worth the Effort
3n
185
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