Traffic Flow Forecast using Time Series Analysis based on Machine Learning Algorithm
Prof.Divya Bharathi, KARTHIKEY JAYACHANDRA. V, KARTHIK YADAV. T, KARTHIKEYA. M, SHAMVITHA. K, KARTHIK REDDY. CH, KARTHIK REDDY. J
School of Enigineering
Computer Science (AI&ML)
Malla Reddy University, India
ABSTRACT--- Time series forecasting plays a critical role in predicting future trends and making informed decisions across various domains. In this research paper, we present a multi-model approach to improve the accuracy and robustness of time series forecasting. Our methodology involves integrating two powerful models, Long Short-Term Memory (LSTM) and Seasonal Autoregressive Integrated Moving Average (SARIMA), to capture complex temporal patterns and seasonality in the data.
We leverage real-world traffic data from different junctions and employ a comprehensive pipeline for data preprocessing, including data selection, resampling, and sequence generation. Our study focuses on four junctions, and for each junction, we individually train LSTM models, followed by SARIMA models for comparison.
The LSTM models are designed to capture long-term dependencies in the time series data, while the SARIMA models are tailored to handle seasonality and autocorrelation. We implement a custom sequence generation process and split the dataset into training and testing sets for model evaluation. The LSTM models are trained using Pytorch, optimizing them for accurate short-term predictions.
Our results show that the combination of LSTM and SARIMA models yields superior forecasting performance compared to using each model individually. We present a detailed analysis of the forecasted results, including Root Mean Square Error (RMSE) calculations and visualizations to demonstrate the effectiveness of our multi-model approach.
This research contributes to the field of time series forecasting by showcasing the benefits of combining deep learning and classical statistical methods. The proposed approach provides a flexible and robust framework applicable to various time series prediction tasks, offering improved accuracy and reliability in forecasting future trends.