Plot xy and the decision boundary make sure that you use a


Rules

• Use basic Python, numpy and matplotlib modules. Any other modules need my approval.

• Produce a LATEX-generated PDF of your report.

• Ask plenty of questions to ensure you have a good understanding of the project.

• The code (and reports) should look vastly different for different groups. Very similar code will incur a hefty penalty.

• Everyone should participate...no excuses, no exceptions.

Part 1

1. Generate 20 points of159_eq1.png. Store this dataset in a file.

2. Using Fisher's Linear Discriminant Analysis, find the decision boundary.

3. Plot X,Y and the decision boundary. Make sure that you use a good plotting technique so that it is easy to distinguish which datapoint is X and which is Y .

4. Calculate the accuracy of your linear classifier.

Part 2
In this part we will investigate the effects of mean for jointly Gaussian random variables on accuracy.

1. Generate 20 points of 58_eq2.png.

2. Using Fisher's Linear Discriminant Analysis, calculate the decision boundary and plot accuracy vs µ1 ∈ [0, 3] and µ2 ∈ [0, 3]. Note that this is a 3D plot.

Part 3

1. Generate 20 points of 2175_eq3.png.

2. Using Fisher's Linear Discriminant Analysis, calculate the decision boundary and plot accuracy vs σ1 ∈ [1, 5] and σ2 ∈ [1, 5]. Note, as in the previous part this is a 3D plot.

Solution Preview :

Prepared by a verified Expert
Python Programming: Plot xy and the decision boundary make sure that you use a
Reference No:- TGS01127282

Now Priced at $40 (50% Discount)

Recommended (90%)

Rated (4.3/5)