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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
45
Safe Dining
ahmad0510
1
41
SafeDining
ahmad0510
0
48
SafeDining2
ahmad0510
0
34
Other Decks in Technology
See All in Technology
SSoT(Single Source of Truth)で「壊して再生」する設計
kawauso
2
370
やさしいとこから始めるGitHubリポジトリのセキュリティ
tsubakimoto_s
2
1.8k
事例から紐解くSHIFT流QA支援 ~大規模プロジェクトの品質管理支援、QA組織立ち上げ~ / 20260320 Nozomu Koketsu
shift_evolve
PRO
0
140
QA組織のAI戦略とAIテスト設計システムAITASの実践
sansantech
PRO
1
170
Phase03_ドキュメント管理
overflowinc
0
2.7k
スピンアウト講座06_認証系(API-OAuth-MCP)入門
overflowinc
0
1.3k
「AIエージェントで変わる開発プロセス―レビューボトルネックからの脱却」
lycorptech_jp
PRO
0
150
ハーネスエンジニアリング×AI適応開発
aictokamiya
0
110
20260323_データ分析基盤でGeminiを使う話
1210yuichi0
0
190
【PHPerKaigi2026】OpenTelemetry SDKを使ってPHPでAPMを自作する
fendo181
1
300
Phase10_組織浸透_データ活用
overflowinc
0
1.8k
AIエージェント×GitHubで実現するQAナレッジの資産化と業務活用 / QA Knowledge as Assets with AI Agents & GitHub
tknw_hitsuji
0
250
Featured
See All Featured
Designing for Performance
lara
611
70k
Building Applications with DynamoDB
mza
96
7k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
110
Building Adaptive Systems
keathley
44
3k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Bash Introduction
62gerente
615
210k
Designing Experiences People Love
moore
143
24k
Marketing to machines
jonoalderson
1
5.1k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
160
Amusing Abliteration
ianozsvald
0
140
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
300
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
310
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