Consider the following neural network: input x₁ = 0.5 is connected to node A with weight 0.5; input x₂ = 0.6 is connected to node A with weight −0.8; input x₃ = 0.8 is connected to node A with weight 1; node A also receives a bias input of 0.5. Node A computes the net input y_in, which is then passed through node B (the activation function) to produce the final output y.
What will be the net input y_in and final output 'y' of this neural network given that the activation function is a threshold function defined as follows:
f(x) = 1 if x ≥ 1; f(x) = 0 if x < 1
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: C. y_in = 1.07, y = 1
Explanation
The net input is the weighted sum of the inputs plus the bias: y_in = (0.5 × 0.5) + (0.6 × −0.8) + (0.8 × 1) + 0.5 = 0.25 − 0.48 + 0.8 + 0.5 = 1.07. Applying the threshold activation function, since y_in = 1.07 ≥ 1, the output is f(y_in) = 1. Therefore y_in = 1.07, y = 1.More Artificial Intelligence (AI) questions
- A doctor knows that the disease Meningitis causes a patient to have a stiff neck say 70% of time. The doctor also knows some unconditional…
- Which of the following deals with the interaction between computers and humans using natural language?
- Classifying email as spam, labeling web pages based on their context, voice recognition are examples of which of the following?
- Consider the following statements regarding Agent systems A. Agent system comprises of an agent and an environment on which it acts B. The…
- Consider the following steps used by a knowledge base designer to represent a world A. Selects atoms to represent propositions B. Ask quest…
- Match List I (GA termination criteria) with List II (description)List I List II A. Worst Individual I. At least half of the individuals wil…