Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
FindSafeDining
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
ahmad0510
February 11, 2016
Technology
27
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
FindSafeDining
Find safe restaurants near you
ahmad0510
February 11, 2016
More Decks by ahmad0510
See All by ahmad0510
Safe Dining Talk
ahmad0510
0
52
Safe Dining Talk
ahmad0510
0
38
Safe Dining
ahmad0510
1
37
Safe Dining
ahmad0510
0
44
Safe Dining
ahmad0510
0
47
Safe Dining
ahmad0510
0
49
Safe Dining
ahmad0510
1
44
SafeDining
ahmad0510
0
51
SafeDining2
ahmad0510
0
37
Other Decks in Technology
See All in Technology
10年後、Engineering 行為を剥奪されるとして、わたしたちは、どう、何を創ればいいだろうか。 / If Engineering Is Taken Away in 10 Years, How and What Should We Create?
bitkey
PRO
1
190
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
730
JAWSUG TOHOKU 青森支部 「LoGoチャット」のAWS移行で 乗り越えたこと
taketakekaho
0
330
Running Kotlin + Quarkus with Lambda
nealle
1
3.7k
Optunaの最新リリースv5.0について
pfn
PRO
0
120
Claude の新機能を、 出た日に触って社内に届けるまで
rfdnxbro
1
170
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
390
QA4AI 2026-Oct 生成AI時代の品質保証
tokuty
1
860
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
3
1.1k
ブラウザとサーバーから考えるAI時代のフロントエンド監視
shogo4131
3
940
USB PDを使ってスマホを労わりたい
raspython3
0
180
Active Record Connection Adaptersにおける長年の課題に再び取り組む
yahonda
0
140
Featured
See All Featured
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
320
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Navigating Weather and Climate Data
rabernat
0
560
GitHub's CSS Performance
jonrohan
1033
470k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
410
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
820
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
410
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