ICP 10 - Murarishetti-Shiva-Kumar/Python-Deep-Learning-Programming GitHub Wiki

DeepLearning Lesson3: Word Embedding

1. In the code provided, there are three mistake which stop the code to get run successfully; find those mistakes and explain why they need to be corrected to be able to get the code run

image image

2. Add embedding layer to the model, did you experience any improvement?

image image image

3. Apply the code on 20_newsgroup data set we worked in the previous classes

image image image image

Bonus question

1. Plot the loss and accuracy using history object

For IMDB Dataset without Embedded layer

image

For IMDB Dataset with Embedded layer

image

For 20_newsgroup data set without Embedded layer

image

For 20_newsgroup data set with Embedded layer

image

2. Predict over one sample of data and check what will be the prediction for that

For IMDB Dataset

image

For 20_newsgroup data set

image