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

  Q1there has been tremendous development in the arid west of

q1there has been tremendous development in the arid west of the united states over the past few decades creating

  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.

  The function should return the day name (''su'',''mo''..etc)

Write the function day(d,m) where m is an integer from 1 through 12 expressing a month, and d is an integer from 1 through 31 expressing the day part of a date in 2014.

  Write a function comp(d1,u1,d2,u2)

Write a function comp(d1,u1,d2,u2)

  Input a temperature as a floating point

Your program should input a temperature as a floating point number with an appended unit letter. It should then print the temperature in all four of the units above

  Write a program that will input the name of five students

Write clearly with documentations where necessary as you write the program to solve the following problem.

  Define three types of programming errors

Define three types of programming errors and explain with examples

  We would like to implement the lexical order

We would like to implement the lexical order for lists. For simplicity, we only consider lists of numbers, where , >= have their usual meaning.

  Code for the haunted house game

Improve the game by adding more features, for example you can examine more items, more props etc. You may implement this using more lists regarding items and props, remember, you should check if the object is being carried or in the location of th..

  Specializes in solving the equations ax=b by doolittle''s dec

Write a  program that specializes in solving the equations Ax=b by Doolittle's decomposition method, where a is the HIbber matrix of arbitrary size nxn

  Most popular name would be the one with the biggest number

the program will ask you to insert the year that the user is interested in, then ask the gender that the user is interested in, and print out the most popular names corresponding to the year and gender. FYI, the number on the right represents how man..

  Program to do the enciphering

Write a program to do the enciphering. It should prompt the user for a message, and print out both the entered message and its corresponding ciphertext.

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