This project focuses on analyzing the monthly robbery incidents in Boston from 1966 to 1974 using a manually configured ARIMA model. The aim is to identify patterns and make future predictions based on historical data.
The project model is saved at models/
.
The dataset consists of monthly records of robbery incidents in Boston between 1966 and 1974. The data is sourced from and is stored in the file data/Robberies.csv
.
The project is organized into the following directories and files:
.pickle_files/
data/
nb_data/
Robberies.csv
armed_robberies.zip
images/
model/
notebook/
README.md
Clone the repository:
git clone https://github.com/kanish-h-h/monthly_armed_robbery.git
cd monthly_armed_robbery
model.pkl can be found at folder .pickle_files/
for storing the model as pkl.
- Data Preparation: Start by running the
Armed_Robberies_in_Boston.ipynb
notebook to clean and prepare the dataset and converts those intodatasets.csv
,validation.csv
andstationary.csv
. - ARIMA Modeling: Use the
Armed_Robberies_in_Boston.ipynb
notebook to configure and train the ARIMA model on the prepared data over manually configured. - Fine Tuning: Fine tuning is done via Grid Search method for finding the optimal
p
,d
andq
, for the ARIMA.
The results of the analysis, including time series plots and ARIMA model diagnostics, are saved in the images/
directory.
The ARIMA model provides a robust framework for analyzing and predicting time series data. This project demonstrates how to manually configure and apply an ARIMA model to real-world data, yielding insights into the patterns of robbery incidents in Boston over the observed period.