HOMEWORK (Neural Networks)
Q-1: Consider the following neural network which uses step functions for activation. Give weights for the links, including biases, such that the network estimates the XOR function.
Q-2: Consider the
PyTorch model for classifying images
. Evaluate the model using 10 pictures, and report on the accuracy.
Q-3: Design and implement an NN model for the following data set, and compare your NN model and the decision-tree learner for the dataset on accuracy.
You can start with
the implementation of an NN model in PyTorch for the xor function
.