Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Matlab programming a.Generate two data sets X1 and X'1 of N=200 two-dimensional vectors each. The first half of the vectors stem from the normal distribution

Matlab programming

a.Generate two data sets X1 and X'1 of N=200 two-dimensional vectors each. The first half of the vectors stem from the normal distribution with m1=[-5,0]T and S1=I, while the second half of the vectors stem form the normal distribution with m1=[5,0]T and S1=I, where i is the identity 2*2 matrix. Append each vector of both X1 and X'1 by inserting an additional coordinate, which is set equal to 1.

b.....

please see the attachment for the rest of the questions

image text in transcribed
3.1 a. Generate two data sets X1 and X of N = 200 two-dimensional vectors each. The first half of the vectors stem from the normal distribution with m1 = [-5, 0] and $1 = 1, while the second half of the vectors stem from the normal distribution with m1 = [5, 0] and $1 = 1, where / is the identity 2 X 2 matrix. Append each vector of both X1 and X, by inserting an additional coordinate, which is set equal to 1. b. Apply the perceptron algorithm, the sum of error squares classifier, and the LMS algorithm on the previous data set, using various initial values for the parameter vector (where necessary). c. Measure the performance of each one of the above methods on both X1 and X1 . d. Plot the data sets X1 and X1 as well as the line corresponding to the parameter vector w. 3.2 Repeat experiment 1 using now the sets X2 and X2 whose first half of their vectors stem from the normal distribution with ml = [-2, 0] and $1 = 1, while the second half of their vectors stem from the normal distribution with m1 = [2, 0] and $1 = 1. 3.3 Repeat experiment 3.1 using now the sets X3 and X3 whose first half of the vectors stem from the normal distribution with m1 = [-1, 0] and $1 = 1, while the second half of the vectors stem from the normal distribution with m1 = [1, 0] and $1 = 1. 3.4 Discuss the results obtained by the previous experiments

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

More Books

Students also viewed these Mathematics questions