Skip to content

Crime and Incarceration in the United States contain data on crimes that are committed, and the prisoner counts in every 50 states, for which the data is analyzed using various analytical methods.

Notifications You must be signed in to change notification settings

rrambhia22/Crimes_Incarceration_Analysis

Repository files navigation

Crimes_Incarceration_Analysis

The crimes and incarceration in the United States contains data on crimes that are committed and the prisoner count in every 50 states, covering from 2001-2016 where the most interest crime types in the data are violent crime total, murder manslaughter, and aggravated assaults.

The data was analyzed using exploratory data analysis and data visualization to gain further insights about the dataset and understand the relationship between the various independent variables that can be considered in the implementation of the machine learning model.

This analysis was helpful in understanding the crimes that are estimated and the prisoner count in each state based on the various crimes that are committed and to recommend the alertness and strictness in those particular crimes that are increasing the prisoner count.

The Data Analysis Workflow followed for this project is as shown below.

  1. Data Collection & Preparation

  2. Exploratory Data Analysis

  3. Data Cleaning

  4. Data Visualization

  5. Pre-Modeling Steps

    a. Feature Selection & Extraction

    b. Correlation Plot

    c. Label Encoding

  6. Model Building

    a. Linear Regression Model

    b. Decision Tree Regressor Model

    c. Random Forest Regressor Model

  7. Recommendations & Findings