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 22:30
The qwerty keyboard is the most common layout of keys on a keyboard
Answers: 3
question
Computers and Technology, 23.06.2019 18:30
Where can page numbers appear? check all that apply. in the header inside tables in the footer at the bottom of columns at the top of columns
Answers: 1
question
Computers and Technology, 24.06.2019 12:00
Match the function to its purpose. fast worth 50pts.
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
In the rgb model, which color is formed by combining the constituent colors? a) black b) brown c) yellow d) white e) blue
Answers: 1
You know the right answer?
In this problem, you will build classifiers based on Gaussian discriminant analysis. Unlike Home-wor...
Questions
question
English, 27.01.2021 16:40
question
Mathematics, 27.01.2021 16:40
question
Mathematics, 27.01.2021 16:40
question
Mathematics, 27.01.2021 16:40
question
Law, 27.01.2021 16:40
Questions on the website: 13722363