Assignment 6 – RNN, LSTM and GRU

Original price was: $35.00.Current price is: $30.00.

Rate this product

CS-5007 Deep Learning
Assignment 6 – RNN, LSTM and GRU
• This is a text classication task using RNN, LSTM and GRU.
• The main goal is to classify the movie reviews(in the form of a sentence) into postitive
or negative.
1. Dataset 1:
• Contains reviews and associated labels(0 for negative and 1 for positive) in a single
2. Dataset 2:
• Contains positive and negative reviews in .pos and .neg les respectively.
Task 1 (4 marks)
Perform the following tasks for both datasets.
1. Clean the data and do necessary pre-processing steps.
2. Split the dataset into training and testing sets and do all comparison using the performance on test data.
3. Use some method to perform word embedding.
4. Implement RNN from scratch.
5. Using necessary dense layers along with the RNN, classify the movie reviews into positive
or negative, note the accuracy.
6. Implement inbuilt RNN in tensorow and add the same dense layers as above, compare
the accuracy with above model. Do a reasoning for the changes if any.
7. Implement inbuilt LSTM in tensorow and add the same layers as above.
8. Implement inbuilt GRU in tensorow and add the same layers as above.
9. Compare accuracy for the above models and do a reasoning.
Task 2 (1 mark)
1. Combine the above two datasets to form a larger one.
2. Implement RNN, LSTM and GRU from tensorow and tabulate the results.


There are no reviews yet.

Be the first to review “Assignment 6 – RNN, LSTM and GRU”

Your email address will not be published. Required fields are marked *

Scroll to Top