Artificial Intelligence - Artificial Neural Networks

Avatto > > UGC NET COMPUTER SCIENCE > > PRACTICE QUESTIONS > > Artificial Intelligence > > Artificial Neural Networks

31. In supervised learning, training set of data includes

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


32. Consider the feedforward neural network in the figure shown below which has one in the layer, two hidden layers, and one output layer. The input x to this network ∈ R3 and number of neurons in the two hidden layers and the output layer are 4, 3, 5 respectively. Each layer is fully connected to the next layer, i.e., there is a weight connecting every neuron in layer i to every neuron in layer i + 1. further every neuron in the hidden output layers also has a bias connected to it. What is the total number of parameters in this feedforward neural network?

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


33. Consider the function f(θ) = f(x, y, z) = x2 + y2 + z 2 - 8. Suppose you start with θ0 = {1, -1, 1} and rund one step of gradient descent with the learning rate η = 1. What will be the updated value of θ

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


34. Consider the vector a = [1.2,-2.5,2.4,3]. What will the following line of code do?
import numpy as np
a = np.asarray ([1.2, -2.5, 2.4, 3])
a = np.exp(a)
a = a/np.sum(a)
1. It will compute the softmax of a
2. It will compute the element-wise sigmoid of a
3. It will compute the e-th power of each element of a

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


35. Consider a box which contains 100 balls of which 30 are red, 50 are green and 20 blue. Your friend peeps into the box and estimates the number of red, green and blue balls as 50, 25, 25. What is the cross entropy between the true distribution over colors in the box and the distribution predicted by your friend?

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *