Professional Documents
Culture Documents
Research Paper TARP Final Upload
Research Paper TARP Final Upload
Research Paper TARP Final Upload
(LSTM MODEL)
Rohith Anil Kumar Sai Anirudh Guduru Thodunupuru Sahithi
Computer Science and Engineering Computer Science and Engineering Computer Science and Engineering
specializing in Information Security Vellore Institute of Technology, Vellore Institute of Technology,
Vellore Institute of Technology, Vellore Vellore
Vellore
Abstract—The prediction of time series data is very mainly introduced to handle situations where RNN’s fail.
difficult. Due to the various environmental factors such as RNN’s fail to store information for a longer period of
global warming the temperature, pressure and various time. At times, a reference to certain information stored
components of the planet is found to increase every year. quite a long time ago is required to predict the current
Based on certain features, we can predict the temperature of
a time in future. Therefore, we can make the necessary
output. But RNN’s are absolutely incapable of handling
changes and take enough precautions to reduce the such “long-term dependencies” Another problem of RNN
temperature and other components of the Earth. To ensure is that they do not have control over which part of the
this, we can create some sort of a time series forecasting context needs to be carried forward and how much of the
machine learning model, that will allow us to predict the past needs to be forgotten. One of the most prominent
temperature and other components of the earth in future. issues with RNNs are exploding and vanishing gradients
The traditional recurrent neural network RNN wants to which occur during the training process of a network
remember all the knowledge whether it is useful or not, so through backtracking. The problem with CNN is that for
there may be problems such as gradient disappearance and smaller datasets the accuracy of prediction is found to be
gradient explosion.
low. While model fitting the CNN model was required to
Keywords—recurrent neural networks, long short-term need more epochs, and hence its performance reduced for
memory model (LSTM model), root mean square error, smaller datasets.
preprocessing, dataset, training
IV. RESULTS
• When the univariate LSTM model is used to
predict the temperature by only taking the
temperature as a feature, the RMSE value is
found to be 0.625. The orange color plotted in
the graph shows the actual value and the blue
color plotted in the graph shows the predicted
value of the model. The X axis shows the index
number of the temperatures and the Y axis shows
the temperature values. The RMSE value is
calculated based on the 5086 rows and 2
columns. The graph plot shows the actual and
predicted values of the temperature for the first
100 instances.