Calculate the accuracy of your linear classifier

Assignment Help Python Programming
Reference no: EM13847090

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.

Reference no: EM13847090

Questions Cloud

How many shares of common stock does jlf have : How many shares of common stock does JLF have outstanding at December 31, 2011? Prepare a schedule to support your answer.
What is the firms investment in accounts receivable : Tauscher Textiles Corporation has an inventory conversion period of 45 days, a receivables collection period of 47 days, and a payables deferral period of 35 days. If Tauscher's sales are $3,309,028 and all sales are on credit, what is the firm's inv..
Should the company lease or buy the car : The lease would be for four years and requires a $7,500 payment. The company also has an initial cost of $2,500 for transporting the car. At the end of the lease, the van will return to the leasing company. The cost of capital is 8%. Should the compa..
Use time value of money : A town has to resurface a section of its roads. There are two options: gravel or going through another company that uses another surfacing technique. The gravel has an initial cost of $200,000 to put down and it costs $15,000 to grade the road on an ..
Calculate the accuracy of your linear classifier : 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. Calculate the accuracy of your linear classifier.
What is your experience with flowcharting : Does your organization emphasize learning curves? If so, which of the eight guidelines does it leverage to improve the curve? What is your experience with flowcharting? Can you share examples
Dso and accounts receivable : Harrelson Inc. currently has $715,000 in accounts receivable, and its days sales outstanding (DSO) is 71 days. It wants to reduce its DSO to 35 days by pressuring more of its customers to pay their bills on time. If this policy is adopted, the compan..
Interests were affected by hidden obsolete inventroy : Before finalizing these plans, two stores were remodeled as a test. Lisa Lee, assistant controller, was asked to oversee the financial reporting for these test stores, and she and other management personnel were offered bonuses based on the sales gro..
What was its charge for depreciation and amortization : Pearson Brothers recently reported an EBITDA of $10.5 million and net income of $2.1 million. It had $2.0 million of interest expense, and its corporate tax rate was 30%. What was its charge for depreciation and amortization?

Reviews

Write a Review

Python Programming Questions & Answers

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Project title email spam filterabstractanalyze the emails

project title email spam filterabstractanalyze the emails and predict whether the mail is a spam or not a spam.to work

  What is the purpose of variable fragnum

What is the purpose of variable fragNum in rdt1.0 sender code and how is the segmented message merged back in receiver? Which operation justifies it?

  Q1if we knew all the ecological social and competitive

q1if we knew all the ecological social and competitive forces that regulate populations and in reality we couldnt what

  In this assignment you will write a program that does

in this assignment you will write a program that does simple packet routing. your program will take three command-line

  A stack data structure that uses a linked list for storing

In Python, implement a stack data structure that uses a linked list for storing its elements. In particular, you will need to implement the following three functions: 1. top(): This function returns the element that is at the top of the stack, but it..

  Write a python program that performs simple encryption

You are required to write a Python program that performs simple encryption and decryption on strings entered by the user. To do so, you are to use one of the simplest and most widely known encryption techniques known as the Caesar Cipher

  Design a function that accepts an integer

Design a function that accepts an integer argument and returns the sum of all the integers from 1 up to the number passed as an argument. For example, if 50 is passed as an argument, the function will return the sum of 1, 2, 3, 4, . . . 50. Use recur..

  Write a program using the requetinteger function

write a program using the 'requetInteger' function that will ask the user to type a value that will draw a line from one point on a picture to another.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd