All mock tests are FREE till 31 December — register to save your progress
Unit 10 · Artificial Intelligence (AI) Paper 2 CS · December 2023

In a feed-forward neural network with the following specifications : The input layer has 4 neurons, hidden layer has 3 neurons, and output layer has 2 neurons using the sigmoid activation function for given input values [0.5,0.8,0.2,0.6] as well as the initial weights for the connections. W1: [0.1,0.3,0.5,0.2] W2: [0.2,0.4,0.6,0.2] W3: [0.3,0.5,0.7,0.2] Input layer to hidden layer weights W4 : [0.4,0.1,0.3] W5 : [0.5,0.2,0.4] Hidden layer to output layer weights What is the output of the output layer when the given input values are passed through neural network? Round the answer to two decimal places:

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. [0.62,0.68]

Explanation

Hidden nets: 0.51, 0.66, 0.81 → sigmoid 0.625, 0.659, 0.692. Output nets: 0.4(0.625) + 0.1(0.659) + 0.3(0.692) ≈ 0.524 and 0.5(0.625) + 0.2(0.659) + 0.4(0.692) ≈ 0.721 → sigmoid ≈ 0.63 and 0.67, closest to [0.62, 0.68].

More Artificial Intelligence (AI) questions