Learning Example Initial Values: $\eta = 0.2$ $\mathbf{w} = \begin{pmatrix} 0\\1\\0.5 \end{pmatrix}$ $0 = w_0 + w_1x_1 + w_2x_2$ $= 0 + x_1 + 0.5x_2$ $\implies x_2 = -2x_1$
Added by Kristine T.
Close
Step 1
Initialize the weights vector with zeros: w = [0, 0, 0]. Show more…
Show all steps
Your feedback will help us improve your experience
Crystal Wang and 71 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Perceptron: Following training samples are given: x1 x2 Class 1 1 +1 -1 -1 -1 0 0.5 -1 0.1 0.5 -1 0.2 0.2 +1 0.9 0.5 +1 Assuming weight vector of initial decision boundary wTx = 0 as w = [1, 1], solve the following: 1. In how many steps will the perceptron learning algorithm converge? 2. What will be the final decision boundary? Show step-wise update of weight vector using computation as well as hand-drawn plot.
Supreeta N.
(a) Find the weights required to perform the following classification using a perceptron network. The vectors (1, 1, 1, 1) and (-1, 1, -1, -1) belong to the class (s0). They have target value vectors (1, 1, 1, -1) and (1, -1, -1, 1) respectively. The vectors (1, -1, -1, 1) do not belong to the class (so) and have target value 0. Assume the learning rate and initial weights as 0.
Ishana K.
Use Kohonen SOM to cluster 4 vectors. The maximum number of clusters to be formed is 2. The learning rate (or gain term) η(t) = 0.8. Do the training for 5 epochs and compute the final weights. η(t+1) = η(t)/2 Vectors: 2 1 0 0 0 0 0 0 3 1 1 1 0 0 0 0 0 0 0 2 Initial Weight Matrix is: 0.7 0.3 0.9 0.1 0.2 0.2 0.1 0.7 0.3 0.8 (Use the direction of the arrow in each epoch and divide the learning rate by 2 after each epoch. Do not forget to normalize the vectors.)
Madhur L.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD