SlideShare ist ein Scribd-Unternehmen logo
1 von 40
Downloaden Sie, um offline zu lesen
2.0 - Getting Started

340 N 12th St, Suite 402
Philadelphia, PA 19107
215.925.2600
info@azavea.com
www.hunchlab.com
Agenda
•  Technical Overview
–  SaaS
–  Authentication
–  End-user Requirements

•  Setup
–  Required Data
–  Uploading Crime Data
–  Defining Crime Models

•  Additional Data Sets
Places
People
Patterns

}

Prioritization
Places
People
Patterns

}

Prioritization
SaaS Architecture
Software as a Service Model
•  Subscription
– 
– 
– 
– 
– 

Bug fixes
Updates
Hosting / backups / etc.
2nd tier support
Training

•  Amazon Web Services infrastructure
–  High availability
–  Elastic resources
•  User load
•  Model building processes
AWS Infrastructure & Security
•  AWS data centers
–  Data residency
•  US or EU

–  Physical security
•  AWS employees with permission / 2 factor auth

–  Logical access
•  Azavea employees with permission / 2 factor auth

–  Redundant network / power
–  Continuous penetration testing
–  3rd party evaluations

•  Best-of-breed services
Authentication
Authentication
•  Options
–  Standalone
•  HunchLab managed credentials

–  Integrated
•  Active Directory / LDAP compatible
•  Requires SaaS application to contact internal servers

•  Security Considerations
–  CJIS requires 2 factor authentication
–  HunchLab can provide this in standalone mode
Authentication
End-user Requirements
Client Requirements / Browsers
•  Core requirements
–  Modern browser
–  Network connectivity
•  TLS 1.1+

–  HTML5 app
•  Geolocation API (GPS for Sidekick)

•  Browsers
–  Desktop
•  Internet Explorer: last 2 releases
•  Firefox: last 2 rapid releases and extended support release
•  Chrome: last 2 rapid releases

–  Mobile
•  Safari 7 for iOS
•  Chrome current rapid release for Android
Client Requirements / Browsers
Client Requirements / Browsers
•  TLS version support
–  http://en.wikipedia.org/wiki/Transport_Layer_Security#Web_browsers
Client Requirements / Browsers
•  Testing
–  http://test.hunchlab.com
Required Data
Required Data
•  Boundaries
–  ShapeFile format
–  Uploaded in application
–  Types
•  Jurisdiction boundary (required)
•  Organizational layers (divisions, districts, etc.)

•  Event data (crimes, calls for service)
–  CSV format
–  Uploaded via API
Required Data
•  Event data (crimes, calls for service)
–  CSV format
•  First row is headers with names as below

–  Columns
•  datasource (string) - identifies data source
–  example: rms

•  id (string) - unique identifier for event within data source
–  example: 1

•  class (string) - class(es) for event separated by pipe
–  example: agg|1|23

•  pointx (numeric) – longitude
–  example: -105.0255345

•  pointy (numeric) – latitude
–  example: 39.7287494

•  address (string) - street address
–  example: 340 N 12th Street
Required Data
•  Event data (crimes, calls for service)
–  Columns (continued)
•  datetimefrom (ISO8601 datetime) - start time
–  example: 2012-01-01T13:00:00Z

•  datetimeto (ISO8601 datetime) - end time
–  example: 2012-01-01T13:00:00Z

•  report_time (ISO8601 datetime) - report time
–  example: 2012-01-01T13:00:00Z

•  last_updated (ISO8601 datetime) - record update time
–  example: 2012-01-01T13:00:00Z
Required Data
•  Event data (crimes, calls for service)
–  Upload via API
•  Allows automation of upload process
•  Workflow
– 
– 
– 
– 

Query your database for recent changes
Transform into CSV format
POST CSV to HunchLab URL
Check for import to complete

–  Example scripts
•  https://github.com/azavea/azavea-hunchlab-examples
Crime Models
Crime Models
•  Generate predictions
–  Automatically built on a regular basis

•  Represents one or more crime classes
•  Choices to make:
– 
– 
– 
– 

Crime classes
Color
Severity weight
Patrol Efficacy
Crime Models
•  Which crimes to model?
–  Start with serious events
•  Part 1s, etc.

–  Add ‘problem’ crime types for your department

•  How many models?
–  Aim for up to 10 models

•  Single crime type vs. combination?
–  Does the event happen often enough on its own?
•  Example: Homicides as part of Violence

–  Is the strategy the same as related crime types?
•  Example: Homicides vs. Aggravated Assaults
Lincoln Example

# Assaults
x
$87,238

# Burglary
x
$13,096

# MVT
x
$9,079

# Rape
x
$217,866

Sum to Predicted Cost of Crime

# Robbery
x
$67,277
Crime Models
•  Severity weights
–  How important is it to prevent these crimes?
–  RAND cost of crime
•  http://www.rand.org/content/dam/rand/pubs/occasional_papers/
2010/RAND_OP279.pdf

–  NIH publications
•  http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2835847/table/T5/
Crime Models
Crime Models
•  Patrol Efficacy
–  What proportion of these events are preventable via patrol
activities?
•  Example: rape (stranger vs known assailant)

–  How effective is patrol against the preventable events?
•  Example: street crimes vs indoor crimes

–  Expressed as percent (0-100%)
–  Examples:
•  Robbery: 50%
•  Residential Burglary: 20%
•  Rape: 5%
Crime Models
1. 
2. 
3. 
4. 

Define set of models via crime classes
Assign severity weights
Assign patrol efficacy values
Assign colors

•  Overall Goal
–  Craft a set of models that generate predictions for real
opportunities for your officers to prevent crime.
Optional Data
Optional Data
•  Geographic POIs
–  Points, lines, polygons (Shapefile)
–  Examples
•  Schools
•  Transit stops
•  Parks
•  Bars

•  Temporal feeds
–  Schedules (CSV)
–  Examples
•  School calendar
•  Sporting events
Choosing Data Sets
•  Usefulness vs. Complexity
–  How strong do you believe the correlation is?
•  Example: bars vs hospitals

–  How big is the data set?
•  Example: schools vs bus stops

–  How often does the data change?
•  Example: hospitals vs bars

•  Availability
–  Start with what you have
•  Police stations, fire stations, public housing

–  Layer in data from other city departments
•  Schools, bus stops, liquor licenses

–  Fill in gaps (once things are going)
Choosing Data Sets
•  Risk Terrain Modeling
–  Literature reviews
•  http://www.rutgerscps.org/pubs.htm

–  Factors in 5 or more reviews:
•  Drug Activity
•  Bars
•  Nightclubs
•  Schools
•  Transportation Hubs
Agenda
•  Technical Overview
–  SaaS
–  Authentication
–  End-user Requirements

•  Setup
–  Required Data
–  Uploading Crime Data
–  Defining Crime Models

•  Additional Data Sets
Jeremy Heffner
HunchLab Product Manager
jheffner@azavea.com
215.701.7712
Amelia Longo
Business Development Associate
alongo@azavea.com
215.701.7715

340 N 12th St, Suite 402
Philadelphia, PA 19107
215.925.2600
info@azavea.com

www.hunchlab.com

Weitere ähnliche Inhalte

Andere mochten auch

Andere mochten auch (7)

HunchLab 2.0 Preview Webinar - Place
HunchLab 2.0 Preview Webinar - PlaceHunchLab 2.0 Preview Webinar - Place
HunchLab 2.0 Preview Webinar - Place
 
Five Technology Trends Every Nonprofit Needs to Know
Five Technology Trends Every Nonprofit Needs to KnowFive Technology Trends Every Nonprofit Needs to Know
Five Technology Trends Every Nonprofit Needs to Know
 
Fed Geo Day - Applying GeoTrellis at the US Army Corps
Fed Geo Day - Applying GeoTrellis at the US Army CorpsFed Geo Day - Applying GeoTrellis at the US Army Corps
Fed Geo Day - Applying GeoTrellis at the US Army Corps
 
Using New Tools to Analyze and Plan Your Urban Forest
Using New Tools to Analyze and Plan Your Urban Forest Using New Tools to Analyze and Plan Your Urban Forest
Using New Tools to Analyze and Plan Your Urban Forest
 
Forecasting Space-Time Events - Strata + Hadoop World 2015 San Jose
Forecasting Space-Time Events - Strata + Hadoop World 2015 San JoseForecasting Space-Time Events - Strata + Hadoop World 2015 San Jose
Forecasting Space-Time Events - Strata + Hadoop World 2015 San Jose
 
Using Open Data and Citizen Science to Promote Citizen Engagement with Green ...
Using Open Data and Citizen Science to Promote Citizen Engagement with Green ...Using Open Data and Citizen Science to Promote Citizen Engagement with Green ...
Using Open Data and Citizen Science to Promote Citizen Engagement with Green ...
 
Is it a Package or a Wrapper? Designing, Documenting, and Distributing a Pyth...
Is it a Package or a Wrapper? Designing, Documenting, and Distributing a Pyth...Is it a Package or a Wrapper? Designing, Documenting, and Distributing a Pyth...
Is it a Package or a Wrapper? Designing, Documenting, and Distributing a Pyth...
 

Ähnlich wie HunchLab 2.0 Getting Started

Get Started with Data Science by Analyzing Traffic Data from California Highways
Get Started with Data Science by Analyzing Traffic Data from California HighwaysGet Started with Data Science by Analyzing Traffic Data from California Highways
Get Started with Data Science by Analyzing Traffic Data from California Highways
Aerospike, Inc.
 
FOSDEM2014 - Social Network Benchmark (SNB) Graph Generator - Peter Boncz
FOSDEM2014 - Social Network Benchmark (SNB) Graph Generator - Peter BonczFOSDEM2014 - Social Network Benchmark (SNB) Graph Generator - Peter Boncz
FOSDEM2014 - Social Network Benchmark (SNB) Graph Generator - Peter Boncz
Ioan Toma
 
Extracting City Traffic Events from Social Streams
 Extracting City Traffic Events from Social Streams Extracting City Traffic Events from Social Streams
Extracting City Traffic Events from Social Streams
Pramod Anantharam
 

Ähnlich wie HunchLab 2.0 Getting Started (20)

Get Started with Data Science by Analyzing Traffic Data from California Highways
Get Started with Data Science by Analyzing Traffic Data from California HighwaysGet Started with Data Science by Analyzing Traffic Data from California Highways
Get Started with Data Science by Analyzing Traffic Data from California Highways
 
Data mining guest lecture (CSE6331 University of Texas, Arlington) 2004
Data mining guest lecture (CSE6331 University of Texas, Arlington) 2004Data mining guest lecture (CSE6331 University of Texas, Arlington) 2004
Data mining guest lecture (CSE6331 University of Texas, Arlington) 2004
 
Connecting the Next Billion Devices to the Internet - Standards and Protocols
Connecting the Next Billion Devices to the Internet - Standards and ProtocolsConnecting the Next Billion Devices to the Internet - Standards and Protocols
Connecting the Next Billion Devices to the Internet - Standards and Protocols
 
FOSDEM2014 - Social Network Benchmark (SNB) Graph Generator - Peter Boncz
FOSDEM2014 - Social Network Benchmark (SNB) Graph Generator - Peter BonczFOSDEM2014 - Social Network Benchmark (SNB) Graph Generator - Peter Boncz
FOSDEM2014 - Social Network Benchmark (SNB) Graph Generator - Peter Boncz
 
Applied Detection and Analysis with Flow Data - SO Con 2014
Applied Detection and Analysis with Flow Data - SO Con 2014Applied Detection and Analysis with Flow Data - SO Con 2014
Applied Detection and Analysis with Flow Data - SO Con 2014
 
Process.ppt
Process.pptProcess.ppt
Process.ppt
 
MIT lecture - Socrata Open Data Architecture
MIT lecture - Socrata Open Data ArchitectureMIT lecture - Socrata Open Data Architecture
MIT lecture - Socrata Open Data Architecture
 
Cloud Migration
Cloud MigrationCloud Migration
Cloud Migration
 
Extracting City Traffic Events from Social Streams
 Extracting City Traffic Events from Social Streams Extracting City Traffic Events from Social Streams
Extracting City Traffic Events from Social Streams
 
FireModule_UASI_Presentation
FireModule_UASI_PresentationFireModule_UASI_Presentation
FireModule_UASI_Presentation
 
Rent, Rain, and Regulations | Du Phan, Dataiku | DN18
Rent, Rain, and Regulations | Du Phan, Dataiku | DN18Rent, Rain, and Regulations | Du Phan, Dataiku | DN18
Rent, Rain, and Regulations | Du Phan, Dataiku | DN18
 
Tridens automated Testing Solution - tATS
Tridens automated Testing Solution - tATSTridens automated Testing Solution - tATS
Tridens automated Testing Solution - tATS
 
Towards Digital Twin standards following an open source approach
Towards Digital Twin standards following an open source approachTowards Digital Twin standards following an open source approach
Towards Digital Twin standards following an open source approach
 
My Project on Cryptograpghy.2023.ppt
My Project on Cryptograpghy.2023.pptMy Project on Cryptograpghy.2023.ppt
My Project on Cryptograpghy.2023.ppt
 
Igniting Audience Measurement at Time Warner Cable
Igniting Audience Measurement at Time Warner CableIgniting Audience Measurement at Time Warner Cable
Igniting Audience Measurement at Time Warner Cable
 
Toward Semantic Data Stream - Technologies and Applications
Toward Semantic Data Stream - Technologies and ApplicationsToward Semantic Data Stream - Technologies and Applications
Toward Semantic Data Stream - Technologies and Applications
 
Summit EU Machine Learning
Summit EU Machine LearningSummit EU Machine Learning
Summit EU Machine Learning
 
Swift distributed tracing method and tools v2
Swift distributed tracing method and tools v2Swift distributed tracing method and tools v2
Swift distributed tracing method and tools v2
 
HSB15 - Pavel Minarik - INVEATECH
HSB15 - Pavel Minarik - INVEATECHHSB15 - Pavel Minarik - INVEATECH
HSB15 - Pavel Minarik - INVEATECH
 
ArcGIS Space-Time Mining of Crime Data
ArcGIS Space-Time Mining of Crime DataArcGIS Space-Time Mining of Crime Data
ArcGIS Space-Time Mining of Crime Data
 

Mehr von Azavea

OpenTreeMap NCGIS
OpenTreeMap NCGISOpenTreeMap NCGIS
OpenTreeMap NCGIS
Azavea
 

Mehr von Azavea (16)

November 12, 2014 Webinar: Hackers, Beer Geeks, and Arborly Love - Reaching o...
November 12, 2014 Webinar: Hackers, Beer Geeks, and Arborly Love - Reaching o...November 12, 2014 Webinar: Hackers, Beer Geeks, and Arborly Love - Reaching o...
November 12, 2014 Webinar: Hackers, Beer Geeks, and Arborly Love - Reaching o...
 
PhillyHistory.org - Tracking Metrics for a Digital Project
PhillyHistory.org - Tracking Metrics for a Digital ProjectPhillyHistory.org - Tracking Metrics for a Digital Project
PhillyHistory.org - Tracking Metrics for a Digital Project
 
Data Philly Meetup - Big (Geo) Data
Data Philly Meetup - Big (Geo) DataData Philly Meetup - Big (Geo) Data
Data Philly Meetup - Big (Geo) Data
 
Fed Geo Day - GeoTrellis Intro
Fed Geo Day - GeoTrellis IntroFed Geo Day - GeoTrellis Intro
Fed Geo Day - GeoTrellis Intro
 
Fed Geo Day 2013 - Azavea Intro
Fed Geo Day 2013 - Azavea Intro Fed Geo Day 2013 - Azavea Intro
Fed Geo Day 2013 - Azavea Intro
 
Modeling Count-based Raster Data with ArcGIS and R
Modeling Count-based Raster Data with ArcGIS and RModeling Count-based Raster Data with ArcGIS and R
Modeling Count-based Raster Data with ArcGIS and R
 
OpenTreeMap NCGIS
OpenTreeMap NCGISOpenTreeMap NCGIS
OpenTreeMap NCGIS
 
OpenTreeMap Overview
OpenTreeMap OverviewOpenTreeMap Overview
OpenTreeMap Overview
 
How to Conquer your Post-Election Data Chaos with the Cicero API
How to Conquer your Post-Election Data Chaos with the Cicero APIHow to Conquer your Post-Election Data Chaos with the Cicero API
How to Conquer your Post-Election Data Chaos with the Cicero API
 
Exploring Data Preparation and Visualization Tools for Urban Forestry
Exploring Data Preparation and Visualization Tools for Urban ForestryExploring Data Preparation and Visualization Tools for Urban Forestry
Exploring Data Preparation and Visualization Tools for Urban Forestry
 
Exploring Mobile Technology with OpenTreeMap Mobile
Exploring Mobile Technology with OpenTreeMap MobileExploring Mobile Technology with OpenTreeMap Mobile
Exploring Mobile Technology with OpenTreeMap Mobile
 
Exploring Urban Forestry Modeling and Prioritization Tools
Exploring Urban Forestry Modeling and Prioritization ToolsExploring Urban Forestry Modeling and Prioritization Tools
Exploring Urban Forestry Modeling and Prioritization Tools
 
NTEN Webinar - Data Cleaning and Visualization Tools for Nonprofits
NTEN Webinar - Data Cleaning and Visualization Tools for NonprofitsNTEN Webinar - Data Cleaning and Visualization Tools for Nonprofits
NTEN Webinar - Data Cleaning and Visualization Tools for Nonprofits
 
Exploring Community Engagement with OpenTreeMap
Exploring Community Engagement with OpenTreeMapExploring Community Engagement with OpenTreeMap
Exploring Community Engagement with OpenTreeMap
 
Exploring Collaborative Tree Inventory with OpenTreeMap
Exploring Collaborative Tree Inventory with OpenTreeMapExploring Collaborative Tree Inventory with OpenTreeMap
Exploring Collaborative Tree Inventory with OpenTreeMap
 
10 Steps to Optimize Your Crime Analysis
10 Steps to Optimize Your Crime Analysis10 Steps to Optimize Your Crime Analysis
10 Steps to Optimize Your Crime Analysis
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

HunchLab 2.0 Getting Started

  • 1. 2.0 - Getting Started 340 N 12th St, Suite 402 Philadelphia, PA 19107 215.925.2600 info@azavea.com www.hunchlab.com
  • 2. Agenda •  Technical Overview –  SaaS –  Authentication –  End-user Requirements •  Setup –  Required Data –  Uploading Crime Data –  Defining Crime Models •  Additional Data Sets
  • 5.
  • 7. Software as a Service Model •  Subscription –  –  –  –  –  Bug fixes Updates Hosting / backups / etc. 2nd tier support Training •  Amazon Web Services infrastructure –  High availability –  Elastic resources •  User load •  Model building processes
  • 8. AWS Infrastructure & Security •  AWS data centers –  Data residency •  US or EU –  Physical security •  AWS employees with permission / 2 factor auth –  Logical access •  Azavea employees with permission / 2 factor auth –  Redundant network / power –  Continuous penetration testing –  3rd party evaluations •  Best-of-breed services
  • 9.
  • 11. Authentication •  Options –  Standalone •  HunchLab managed credentials –  Integrated •  Active Directory / LDAP compatible •  Requires SaaS application to contact internal servers •  Security Considerations –  CJIS requires 2 factor authentication –  HunchLab can provide this in standalone mode
  • 14. Client Requirements / Browsers •  Core requirements –  Modern browser –  Network connectivity •  TLS 1.1+ –  HTML5 app •  Geolocation API (GPS for Sidekick) •  Browsers –  Desktop •  Internet Explorer: last 2 releases •  Firefox: last 2 rapid releases and extended support release •  Chrome: last 2 rapid releases –  Mobile •  Safari 7 for iOS •  Chrome current rapid release for Android
  • 16. Client Requirements / Browsers •  TLS version support –  http://en.wikipedia.org/wiki/Transport_Layer_Security#Web_browsers
  • 17. Client Requirements / Browsers •  Testing –  http://test.hunchlab.com
  • 19. Required Data •  Boundaries –  ShapeFile format –  Uploaded in application –  Types •  Jurisdiction boundary (required) •  Organizational layers (divisions, districts, etc.) •  Event data (crimes, calls for service) –  CSV format –  Uploaded via API
  • 20. Required Data •  Event data (crimes, calls for service) –  CSV format •  First row is headers with names as below –  Columns •  datasource (string) - identifies data source –  example: rms •  id (string) - unique identifier for event within data source –  example: 1 •  class (string) - class(es) for event separated by pipe –  example: agg|1|23 •  pointx (numeric) – longitude –  example: -105.0255345 •  pointy (numeric) – latitude –  example: 39.7287494 •  address (string) - street address –  example: 340 N 12th Street
  • 21. Required Data •  Event data (crimes, calls for service) –  Columns (continued) •  datetimefrom (ISO8601 datetime) - start time –  example: 2012-01-01T13:00:00Z •  datetimeto (ISO8601 datetime) - end time –  example: 2012-01-01T13:00:00Z •  report_time (ISO8601 datetime) - report time –  example: 2012-01-01T13:00:00Z •  last_updated (ISO8601 datetime) - record update time –  example: 2012-01-01T13:00:00Z
  • 22. Required Data •  Event data (crimes, calls for service) –  Upload via API •  Allows automation of upload process •  Workflow –  –  –  –  Query your database for recent changes Transform into CSV format POST CSV to HunchLab URL Check for import to complete –  Example scripts •  https://github.com/azavea/azavea-hunchlab-examples
  • 24.
  • 25. Crime Models •  Generate predictions –  Automatically built on a regular basis •  Represents one or more crime classes •  Choices to make: –  –  –  –  Crime classes Color Severity weight Patrol Efficacy
  • 26.
  • 27. Crime Models •  Which crimes to model? –  Start with serious events •  Part 1s, etc. –  Add ‘problem’ crime types for your department •  How many models? –  Aim for up to 10 models •  Single crime type vs. combination? –  Does the event happen often enough on its own? •  Example: Homicides as part of Violence –  Is the strategy the same as related crime types? •  Example: Homicides vs. Aggravated Assaults
  • 28.
  • 29. Lincoln Example # Assaults x $87,238 # Burglary x $13,096 # MVT x $9,079 # Rape x $217,866 Sum to Predicted Cost of Crime # Robbery x $67,277
  • 30. Crime Models •  Severity weights –  How important is it to prevent these crimes? –  RAND cost of crime •  http://www.rand.org/content/dam/rand/pubs/occasional_papers/ 2010/RAND_OP279.pdf –  NIH publications •  http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2835847/table/T5/
  • 32. Crime Models •  Patrol Efficacy –  What proportion of these events are preventable via patrol activities? •  Example: rape (stranger vs known assailant) –  How effective is patrol against the preventable events? •  Example: street crimes vs indoor crimes –  Expressed as percent (0-100%) –  Examples: •  Robbery: 50% •  Residential Burglary: 20% •  Rape: 5%
  • 33. Crime Models 1.  2.  3.  4.  Define set of models via crime classes Assign severity weights Assign patrol efficacy values Assign colors •  Overall Goal –  Craft a set of models that generate predictions for real opportunities for your officers to prevent crime.
  • 34.
  • 36. Optional Data •  Geographic POIs –  Points, lines, polygons (Shapefile) –  Examples •  Schools •  Transit stops •  Parks •  Bars •  Temporal feeds –  Schedules (CSV) –  Examples •  School calendar •  Sporting events
  • 37. Choosing Data Sets •  Usefulness vs. Complexity –  How strong do you believe the correlation is? •  Example: bars vs hospitals –  How big is the data set? •  Example: schools vs bus stops –  How often does the data change? •  Example: hospitals vs bars •  Availability –  Start with what you have •  Police stations, fire stations, public housing –  Layer in data from other city departments •  Schools, bus stops, liquor licenses –  Fill in gaps (once things are going)
  • 38. Choosing Data Sets •  Risk Terrain Modeling –  Literature reviews •  http://www.rutgerscps.org/pubs.htm –  Factors in 5 or more reviews: •  Drug Activity •  Bars •  Nightclubs •  Schools •  Transportation Hubs
  • 39. Agenda •  Technical Overview –  SaaS –  Authentication –  End-user Requirements •  Setup –  Required Data –  Uploading Crime Data –  Defining Crime Models •  Additional Data Sets
  • 40. Jeremy Heffner HunchLab Product Manager jheffner@azavea.com 215.701.7712 Amelia Longo Business Development Associate alongo@azavea.com 215.701.7715 340 N 12th St, Suite 402 Philadelphia, PA 19107 215.925.2600 info@azavea.com www.hunchlab.com