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

  Same directory as your program

In the same directory as your program, create a file FF1, and write into it Hello (with a space at teh end). Similarly, create a file FF2, and write into it world! (with a new line, i.e., an ENTER at the end). And create a file DD and write into i..

  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.

  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..

  Programmer does not have to use the def statement

Unlike Z+-, the programmer does not have to use the DEF statement to create a variable. Instead, the programmer can simply use the variable. The first use of the variable creates it and initializes it to 0.

  You will define an operation on positive integers called

you will define an operation on positive integers called twiddle which consists of summing the squares of the digits of

  You are tasked with improving the code for the haunted

you are tasked with improving the code for the haunted house game. please read the associated hand-out and the code

  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.

  When we sort a list of items, we need a basis

When we sort a list of items, we need a basis on which to compare the items to see whether one is bigger than another. If it's a list of numbers, Python just compares the numeric values; if it's a list of strings, Python compares the strings alpha..

  Fill in the python code

Fill in the Python code to play Tic Tac Toe. I won't award points unless it runs succesfully. # Tic-Tac-Toe Game def drawBoard(board): # Draws the board using the list of numbers print(" ") print(" ",board[0]," | ",board[1]," | ", board[2]) print("--..

  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..

  Output the starting position and length

X Strings: Input a string. Output the starting position and length of the first occurrence of the longest substring of capital Xs in that string. The first letter is in position 1.

  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.

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