[SOLVED] CS564 -Foundations of Machine Learning - End  Semester Examination

30.00 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

5/5 - (1 vote)

Q1.    15 points

Please refer to the Assignment-4, on document classification. It talks about implementation of a Feed Forward Neural Network with a set of specifications.

For the same document classification problem, implement the following algorithms:

  1. Vanilla RNN (Consider two hidden layers, and also use the other specifications as mentioned in Assignment-4 )
  2. Re-implement the Feed Forward Neural Network (FFN) of Assignment-4 by initializing the weights to the (near) optimal weights of the FFN of Assignment-4 (only tanh as the activation layer, and take the weights after the model converges).
  • You have three models now: FFN of Assignment-4 with tanh as the activation function, FFN of (ii) above and the Vanilla RNN of (i) above. Form an ensemble by combining the decisions of all these models by majority voting. Create another version of the ensemble model by weighted voting, where weights can be the accuracy value of these models on the validation data (i.e. 10% of the data).
Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.