Data Science Asked by Mei Lie on January 3, 2021
I’m new to Recurrent Neural Network but I want to train my data with LSTM but I’m having a trouble to understand LSTM Many-to-One architecture.
Suppose the size of my data is time_step x num_features
say 2 x 2
and I have to use many-to-one LSTM architecture because I want to do classification. So in the last time_step I have to add dense (a) which contain sigmoid activation function to predict the sequence class which is 0 or 1.
My questions are,
The derivation for h1 is highly recommended. Thank you 🙂
While training, a set of training examples will be provided in a batch. At end of each batch, weights for all layers are updated (Dense and LSTM).
https://adventuresinmachinelearning.com/keras-lstm-tutorial/
Answered by Shamit Verma on January 3, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP