I have been reading about Machine Learning extensively and discussing it with my friend who is doing M.Tech in IIT Kanpur.
Wondering What LSTM is? I am posting definition from wiki–
Long short-term memory (LSTM) is a recurrent neural network (RNN) architecture that remembers values over arbitrary intervals. Stored values are not modified as learning proceeds. RNNs allow forward and backward connections between neurons.
An LSTM is well-suited to classify, process and predict time series given time lags of unknown size and duration between important events. Relative insensitivity to gap length gives an advantage to LSTM over alternative RNNs, hidden Markov models and other sequence learning methods in numerous applications
The output for the code is as follows –
— Test with temperature of 1.2 —
— Test with temperature of 1.0 —
— Test with temperature of 0.5 —