12

Crime project (Big Data Certification Course #6)

Embed Size (px)

Citation preview

Page 1: Crime project (Big Data Certification Course #6)
Page 2: Crime project (Big Data Certification Course #6)

Evaluation Model

Model AnalysisData

PreparationData

UnderstandingBusiness Case

Page 3: Crime project (Big Data Certification Course #6)

• Explore potential determinant of arrest rate

• Predict probability of arrest

• To provide insights on arresting performance

• Prediction model of arrest

Page 4: Crime project (Big Data Certification Course #6)

Column Name Description

DateDate when the incident occurred. this is sometimes a best

estimate.

Primary Type The primary description of the crime

Description The secondary description of the crime,

Location

DescriptionDescription of the location where the incident occurred.

Arrest Indicates whether an arrest was made.

Domestic Indicates whether the incident was domestic-related

Beat Indicates the beat where the incident occurred.

District Indicates the police district where the incident occurred.

Ward The ward (City Council district) where the incident occurred.

Community Area Indicates the community area where the incident occurred.

Year Year the incident occurred.

Updated On Date and time the record was last updated.

Latitude The latitude of the location where the incident occurred.

Longitude The longitude of the location where the incident occurred.

Location The location where the incident occurred

*Data source : CSV file

*Data Characteristics: Volumes

(6 million records)*Data format : Structure / Batch

Page 5: Crime project (Big Data Certification Course #6)

• Define day of week in crime

• Split data 80:20

• Transform data of arrest to ratio of arrest

• Transformation categorical variable to numerical one

( Primary Type, Location )

• Index label of arrest rate

Page 6: Crime project (Big Data Certification Course #6)

• Feature

• Day of week

• Primary Type

• Location Description

• Label

• Arrest

Decision TreeData

AlgorithmClassificationCategory

• Confusion matrix for model evaluation

Page 7: Crime project (Big Data Certification Course #6)

Presentation

• Relation of factor crime

• Danger & Safe Zone

• Prediction Model

Proportion

• Arrest

• Planning day for safety

• Location analysis

Page 8: Crime project (Big Data Certification Course #6)
Page 9: Crime project (Big Data Certification Course #6)
Page 10: Crime project (Big Data Certification Course #6)

Location

DescriptionMap

Page 11: Crime project (Big Data Certification Course #6)

Location

DescriptionType

Page 12: Crime project (Big Data Certification Course #6)