Consider the following table defining the sample inputs and corresponding target values for a perceptron model. What shall be the value of the updated weights after applying all the samples S1 to S4 (in the order S1, S2, S3, S4) to this model? Given that the initial weights w1 = 0, w2 = 0, learning rate = 0.1 and no bias is involved in the perceptron. The activation function is: y_observed = 1 if y_in > 0; 0 if y_in < 0.
| Sample | x1 | x2 | target |
|---|---|---|---|
| S1 | 0 | 0 | 0 |
| S2 | 0 | 1 | 1 |
| S3 | 1 | 0 | 1 |
| S4 | 1 | 1 | 1 |
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. w1 = 0.1, w2 = 0.1
Explanation
Use w = w + η(t − y)x, taking output 0 when y_in = 0. S1 (0,0), t = 0: y_in = 0 → y = 0, no change. S2 (0,1), t = 1: y_in = 0 → y = 0, error 1, w2 = 0 + 0.1×1 = 0.1. S3 (1,0), t = 1: y_in = 0 → y = 0, w1 = 0.1. S4 (1,1), t = 1: y_in = 0.2 > 0 → y = 1, no change. Final w1 = 0.1, w2 = 0.1.More Artificial Intelligence (AI) questions
- Consider the following steps involved in the application of a Genetic algorithm for a problem A. Select a pair of parents from the populati…
- Which of the following is NOT a parent selection technique used in genetic algorithm implementations?
- Match List I (Operations on Fuzzy Sets) with List II (Description)List I List II A. Intersection I. μA(x) + μB(x) − μA(x)·μB(x) B. Bounded…
- Which of the following is NOT a valid property over two fuzzy relations R̃ and S̃ which must be obeyed for performing λ-cut defuzzification?
- Given that η refers to the learning rate and xᵢ refers to the iᵗʰ input to the neuron, which of the following most suitably describes the w…
- Consider the following statements regarding the STRIPS representation of a Planning problem A. STRIPS is a Feature-centric representation B…