Question: Please solve this using python. Please show the code and explain! Question 2. Adaline Fail ? Unlike the perceptron, adaline does not guarantee that the
Please solve this using python. Please show the code and explain!

Question 2. Adaline Fail ? Unlike the perceptron, adaline does not guarantee that the output will actually separate 2-label data points that are linearly separable. Construct a 2- dimensional data set (i.e. the data points and their labels), with the properties that: (a) the data set is linearly separable (b) the optimal adaline solution does not separate the data. Demonstrate your answer as follows: (i) Plot the data points, as we did above for the iris data set. This will show that your data set is linearly separable. (ii) Calculate the optimal adaline weights using the function exactAdaline from question 1. (iii) Find one point in your data set, and show the calculations that prove that it is misclassified by the optimal adaline. (Please insert cells below for your answers. Clearly id the part of the question you answer) Type Markdown and LaTeX: a2 Question 2. Adaline Fail ? Unlike the perceptron, adaline does not guarantee that the output will actually separate 2-label data points that are linearly separable. Construct a 2- dimensional data set (i.e. the data points and their labels), with the properties that: (a) the data set is linearly separable (b) the optimal adaline solution does not separate the data. Demonstrate your answer as follows: (i) Plot the data points, as we did above for the iris data set. This will show that your data set is linearly separable. (ii) Calculate the optimal adaline weights using the function exactAdaline from question 1. (iii) Find one point in your data set, and show the calculations that prove that it is misclassified by the optimal adaline. (Please insert cells below for your answers. Clearly id the part of the question you answer) Type Markdown and LaTeX: a2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
