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

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  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.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  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.

  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.

  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.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

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