UNIT – II (B)
Artificial Neural Networks
- Introduction
- Neural Network Representation
- Appropriate Problems for Neural Network Learning
- Perceptron’s
- Multilayer Networks
- The Back-Propagation Algorithm
UNIT – II (B)
Artificial Neural Networks
- Introduction
- Neural Network Representation
- Appropriate Problems for Neural Network Learning
- Perceptron’s
- Multilayer Networks
- The Back-Propagation Algorithm
Q1. Complete the code
For the above code implementation of forward and backward
propagation for the sigmoid function, complete the backward pass [????]
to compute analytical gradients.
Note: grad in backward is
actually the output error gradients.
Choose the correct answer from below:
A. grad_input = self.sig * (1-self.sig) * grad
B. grad_input = self.sig / (1-self.sig) * grad
C. grad_input = self.sig / (1-self.sig) + grad
D. grad_input = self.sig + (1-self.sig) - grad
Ans: A
Correct Answer : grad_input = self.sig *
(1-self.sig) * grad
Explanation : The grad_input will be given by :
where σ(x) represents the sigmoid function.
Q2. Trained Perceptron
A perceptron was trained to distinguish between two classes,
"+1" and "-1". The result is shown in the plot given below.
Which of the following might be the reason for poor performance of the trained
perceptron?
Choose the correct answer from below:
A. The perceptron can not separate linearly separated data
B. The perceptron works only if the two classes are linearly separable which is not the case here.
C. The smaller learning rate with less number of epochs of perceptron could have restricted it from producing good results.
D. The "-1" class dominates the dataset, thereby pulling the decision boundary closer to itself.
Ans:C
Correct option: The smaller learning rate with
less number of epochs of perceptron could have restricted it from producing
good results.
Explanation:
Q3. Identify the Function
Mark the correct option for the below-mentioned statements:
(a) It is possible for a perceptron that it adds
up all the weighted inputs it receives, and if the sum exceeds a specific
value, it outputs a 1. Otherwise, it just outputs a 0.
(b) Both artificial and biological neural
networks learn from past experiences.
Choose the correct answer from below:
A. Both the mentioned statements are true.
B. Both the mentioned statements are false.
C. Only statement (a) is true.
D. Only statement (b) is true.
Ans: A
Correct option: Both the statements are true.
Explanation :
Implementation of statement (a) is called step function and
yes it is possible.
Both of artificial and biological neural networks learn from
past experiences.
The artificial networks are trained on data to make predictions. The weights
assigned to each neuron continuously
changes during the training process to reduce the error.
Q4. Find the Value of 'a'
Given below is a neural network with one neuron that takes
two float numbers as inputs.
If the model uses the sigmoid activation function, What will be the value of 'a' for the given x1 and x2 _____(rounded off to 2 decimal places)?
Choose the correct answer from below:
A. 0.57
B. 0.22
C. 0.94
D. 0.75
Ans: A
Correct option :
Explanation :
The value of z will be :
The value of a will be :
Welcome! Your Hub for AI, Machine Learning, and Emerging Technologies In today’s rapidly evolving tech landscape, staying updated with the ...