Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please explain! Question 0. Manual Perceptron Training Below you can see the first 5 data points of the data set, all labeled as 'setosa'. Let's

Please explain!image text in transcribed

Question 0. Manual Perceptron Training Below you can see the first 5 data points of the data set, all labeled as 'setosa'. Let's set the numerical value for 'setosa' to 1. (i.e. y = 1) In [5]: x[0:5], y[0:5] Out[5]: (array([[5.1, 1.4], [4.9, 1.4), [4.7, 1.3], [4.6, 1.5], [5. , 1.4]]), array([-1, -1, -1, -1, -1])) Suppose the initial weights of the perceptron are w0=0.1,w1=-0.2, W2=0.1 In the following space (Double click this text), write the weights after processing data points 0,1,2, and show your calculations (with n = 0.1): Addendum: If it is the case that all points are classified correctly, just flip all labels to the other class, so that they are all classified incorrectly, and then do the updates. (I think y = 1 for all labels should do that). Question 0. Manual Perceptron Training Below you can see the first 5 data points of the data set, all labeled as 'setosa'. Let's set the numerical value for 'setosa' to 1. (i.e. y = 1) In [5]: x[0:5], y[0:5] Out[5]: (array([[5.1, 1.4], [4.9, 1.4), [4.7, 1.3], [4.6, 1.5], [5. , 1.4]]), array([-1, -1, -1, -1, -1])) Suppose the initial weights of the perceptron are w0=0.1,w1=-0.2, W2=0.1 In the following space (Double click this text), write the weights after processing data points 0,1,2, and show your calculations (with n = 0.1): Addendum: If it is the case that all points are classified correctly, just flip all labels to the other class, so that they are all classified incorrectly, and then do the updates. (I think y = 1 for all labels should do that)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

More Books

Students also viewed these Databases questions