Skip to content
narhirep edited this page Apr 10, 2021 · 3 revisions

Welcome to the In Class Programming 10:

Description: In this ICP we will be discussing and working on types of ANNs and Recurrent Neural Network.

Objective: To learn and implement artificial neural network (ANN) techniques. Then calculate the loss and accuracy for the given data.

Implementation:

1.In the code provided, there are three mistakes 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.

CODE:

OUTPUT:

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

CODE:

OUTPUT:

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

CODE:

OUTPUT:

4.Plot the loss and accuracy using history object

CODE:

OUTPUT:

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

CODE:

OUTPUT:

Video: ICP10

Conclusion: In this ICP we have learnt Artificial Neural Network and Recurrent Neural Network.

Clone this wiki locally