Skip to content

M2 ICP3

Tarik Salay edited this page Dec 11, 2019 · 1 revision

to discuss types of ANNs and Recurrent Neural Network.

Use Case Description:

  1. Sentiment Analysis on the imdb dataset

Source Code: https://umkc.box.com/s/3so2s3dx7cjp4hwnurjx6t3it161ptey

In class programming:

  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
  2. Add embedding layer to the model, did you experience any improvement?
  3. Apply the code on 20_newsgroup data set we worked in the previous classes from sklearn.datasets import fetch_20newsgroups newsgroups_train = fetch_20newsgroups(subset='train', shuffle=True, categories=categories,)
  4. Plot the loss and accuracy using history object
  5. Predict over one sample of data and check what will be the prediction for that
  6. Plot loss and accuracy in Tensorboard

Clone this wiki locally