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, 23.06.2019 04:31
Jennifer has to set up a network in a factory with an environment that has a lot of electrical interference. which cable would she prefer to use? jennifer would prefer to use because its metal sheath reduces interference.
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
Technician a says that with self-adjusting clutch systems, the release bearing constantly rotates. technician b says that the ball bearing portion of the release bearing should be lubricated with high-temperature grease during routine maintenance. which technician is correct?
Answers: 2
question
Computers and Technology, 23.06.2019 17:00
The camera still is bad even with the new iphone xr and especially in low light it is even worst because you can see the pixels more if its in low light. if all you apple customers want apple to fix this then lets fill there feedback with complaints about the
Answers: 1
question
Computers and Technology, 25.06.2019 05:00
Which of the following statements best deceive the relationship between carrying capacity and population size
Answers: 1
You know the right answer?
In this problem, you will build classifiers based on Gaussian discriminant analysis. Unlike Home-wor...
Questions
question
Mathematics, 28.03.2020 21:16
question
Mathematics, 28.03.2020 21:16
Questions on the website: 13722360