subject

In this problem, you will build classifiers based on Gaussian discriminant analysis. Unlike Home-work 1, you are NOT allowed to use any libraries for out-of-the-box classification (e. g.sklearn).You may use anything innumpyandscipy. The training and test data can be found on in the post corresponding to this homework. Don’t usethe training/test data from Homework 1, as they have changed for this homework. Submit yourpredicted class labels for the test data on the Kaggle competition website and be sure to includeyour Kaggle display name and scores in your writeup. Also be sure to include an appendix of yourcode at the end of your writeup.(a) Taking pixel values as features (no new features yet, please), fit a Gaussian distribution toeach digit class using maximum likelihood estimation. This involves computing a mean and acovariance matrix for each digit class, as discussed in lecture. Hint:You may, and probably should, contrast-normalize the images before using their pixelvalues. One way to normalize is to divide the pixel values of an image by thel2-norm of itspixel values.(b) (Written answer) Visualize the covariance matrix for a particular class (digit). How do thediagonal terms compare with the off-diagonal terms? What do you conclude from this?(c) Classify the digits in the test set on the basis of posterior probabilities with two different ap-proaches.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:30
Singing in the rain: this first part of the film shows the early history of motion picture. how accurate do you think the portrayal of the early motion picture industry is? why? is historical accuracy important in films and theater productions? explain.
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
Martha is designing a single-player game. her manager suggests that she plan the design to incorporate future modifications. which principle of game design relates to planning for future modifications?
Answers: 1
question
Computers and Technology, 23.06.2019 20:30
Column a of irma’s spreadsheet contains titles for each row, but her document is too big and will be printed three pages across. she wants to be sure that every page will be understood. what can irma do to with this problem?
Answers: 3
question
Computers and Technology, 24.06.2019 17:00
Aman travel 200m towards east< br /> from his house then takes left< br /> to turn and moves 200 m north< br /> find the displacement & distance.< br />
Answers: 3
You know the right answer?
In this problem, you will build classifiers based on Gaussian discriminant analysis. Unlike Home-wor...
Questions
question
Mathematics, 05.05.2020 19:02
question
Physics, 05.05.2020 19:02
Questions on the website: 13722362