3. Introduction
• find spatial and temporal criminal
hotspots using a set of real-world
datasets of crimes.
• predict what type of crime might
occur next in a specific location
within a particular time.
8. Data Processing
• Data Cleaning
• Data Reduction
– among the available 19 attributes in
Denver crimes dataset, we just selected four.
– crime vs accidents .
• Data Integration
– Crime_Type,Crime_Date, and Crime_Location .
– Crime_Date = Crime_Month, Crime_Day, and
Crime_Time .
10. Models Building
• Apriori Algorithm
– It scans the dataset to collect all itemsets that
satisfy a predefined minimum support
(optimum choice Denver 0.0012 & Los
Angeles 0.0018).
– List of all crime hotspots.
– Location and time features, without the crime
type feature.
– Restriction, three specific itemsets Location,
Day, Time.
11. • Naïve Bayesian Classifier
– Supervised learning algorithm.
– Statistical model that predicts class membership
probabilities based on Bayes’ theorem.
– P (CrimeType|Location,Day,Month,Time)
– Crime features contain month, day, time,
location.
– Class Label Crime type.
12. • Decision Tree Classifier
– Supervised Learning algorithm.
– Learning simple decision rules implied from the
data features predict class label.
– Best tree entropy & Information gain.
– generated tree was complex restriction ten
maximum leaf nodes.
14. EVALUATION
• Naïve Bayesian and decision tree
classifiers
– crime type prediction
– NBC: 51% Denver- 54% for LA
– DTC: 42% Denver- 43% for LA
– very complex tree
– tree that cannot generalize
17. Crime Frequent Hotspots
• Apriori algorithm
• finding spatial and temporal criminal
hotspots
• Denver : 62 patterns
• Los Angeles : 59 patterns.
18. Crime Prediction
• Bayesian classifier
– Month, Day of the week, Time, Location
– All features in nominal values
19.
20. Crime Hotspots Demographics
Analysis
• Relationship between crime rate and
demographics
– large population and large number of housing
– vacant houses and the dangerous locations
– people’s age and gender
– More man more dangerous
– More female more safe
– ages from 20 to 29