Hello,
I was trying to implement an RNN for series forecasting by reading your very well written article (https://www.analyticsvidhya.com/blog/2019/01/fundamentals-deep-learning-recurrent-neural-networks-scratch-python/) and noticed that there is a possible error in Step 2.1 in line:
loss = loss / float(y.shape[0])
where I believe it should have been:
loss = loss / float(Y.shape[0])
also in Step 2.2 line:
val_loss = val_loss / float(y.shape[0])
I believe should have been:
val_loss = val_loss / float(Y_val.shape[0])
I hope I got it right!
Respectfully yours,
Mars
1 post - 1 participant