Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a dataset with four negative examples (-2, 0), (0, -2), (1, -1), (-1, 1) and four positive examples (2,0), (1, 1), (0, 2),

Consider a dataset with four negative examples (-2, 0), (0, -2), (1, -1), (-1, 1) and four positive examples

Consider a dataset with four negative examples (-2, 0), (0, -2), (1, -1), (-1, 1) and four positive examples (2,0), (1, 1), (0, 2), (1,1). Recall that perceptron is trained on a sequence of examples. On each example, the weights are updated if perceptron makes a mistake in classifying that example. Starting with w = [00], use the perceptron algorithm to learn on the data points in the above order (from negative examples to positive examples). Provide values of the weights after each iteration of update using each data point. Find an ordering of examples in this dataset on which perceptron make at most two mistakes during training, or explain that no such sequence exists.

Step by Step Solution

3.49 Rating (139 Votes )

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

Discrete Mathematics and Its Applications

Authors: Kenneth H. Rosen

7th edition

0073383090, 978-0073383095

More Books

Students also viewed these Computer Network questions