-
Notifications
You must be signed in to change notification settings - Fork 2
M2 ICP3
Tarik Salay edited this page Dec 11, 2019
·
1 revision
to discuss types of ANNs and Recurrent Neural Network.
Use Case Description:
- Sentiment Analysis on the imdb dataset
Source Code: https://umkc.box.com/s/3so2s3dx7cjp4hwnurjx6t3it161ptey
In class programming:
- 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
- Add embedding layer to the model, did you experience any improvement?
- 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,)
- Plot the loss and accuracy using history object
- Predict over one sample of data and check what will be the prediction for that
- Plot loss and accuracy in Tensorboard