This is a short companion page to our internal reading group of the book “Hands-on Machine Learning with Scikit-Learn, Keras, and TensorFlow, 2nd Edition”. However I unashamedly used a lot of PyTorch examples.
Understanding LSTM
Input and Output
- one to many: image -> caption sentence
- many to one: sentence -> sentiment (positive / negative label)
- many to many: a sentence in English -> a sentence in Turkish
- the other many to many: frames of video -> coordinates of bounding boxes around an object