Computers and Technology

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.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 16:20, Aleja9
It policy compliance and emerging technologies respond to the following: propose at least three control measures that organizations need to put in place to ensure that they remain complaint with emerging technologies and in a continually changing it environment. examine the correlation of effective configuration management and change control procedures to remain compliant with emerging technologies and it security changes.
Answers: 2
image
Computers and Technology, 22.06.2019 22:40, nsuleban9524
When you type the pwd command, you notice that your current location on the linux filesystem is the /usr/local directory. answer the following questions, assuming that your current directory is /usr/local for each question. a. which command could you use to change to the /usr directory using an absolute pathname? b. which command could you use to change to the /usr directory using a relative pathname? c. which command could you use to change to the /usr/local/share/info directory using an absolute pathname? d. which command could you use to change to the /usr/local/share/info directory using a relative pathname? e. which command could you use to change to the /etc directory using an absolute pathname? f. which command could you use to change to the /etc directory using a relative pathname?
Answers: 3
image
Computers and Technology, 23.06.2019 14:30, HarryPotter10
Open this link after reading about ana's situation. complete each sentence using the drop-downs. ana would need a minimum of ato work as a translator. according to job outlook information, the number of jobs for translators willin the future.
Answers: 3
image
Computers and Technology, 24.06.2019 03:30, laylay120
Other - a written response, no less than arial 12-point font, to the following: of the following, which would you consider is most important to customer service goals? choose one and explain why. (1) accuracy (2) punctuality and attendance (3) courtesy (4) productivity (5) organization
Answers: 1
Do you know the correct answer?
In this problem, you will build classifiers based on Gaussian discriminant analysis. Unlike Home-wor...

Questions in other subjects:

Konu
Mathematics, 05.05.2020 15:36
Konu
Mathematics, 05.05.2020 15:36