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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 16:30, vxdsvsfdds
Which type of computing device is best suited to having a digital pen as an input device? a. personal computer b. personal digital assistant c. smart television d. laptop e. mobile phone
Answers: 3
image
Computers and Technology, 22.06.2019 02:30, amaliabarrera9
The can be used to paste text in any order
Answers: 1
image
Computers and Technology, 22.06.2019 08:00, dustysorrells74
Someone with this coz i don’t really know what i can choose, just pick whatever u want. homework - you need to choose a website that you like or use frequently. you must visit the website and discuss 6 different features/parts/aspects of the website that you think makes it good. (100 words)
Answers: 2
image
Computers and Technology, 23.06.2019 04:31, mjweed3381
Cloud computing service providers manage different computing resources based on the services they offer. which resources do iaas and paas providers not manage? iaas providers do not manage the for the client, whereas paas providers usually do not manage the for their clients. iaas- storage server operating system network paas- applications interafce storage vertualiation
Answers: 2
You know the right answer?
In this problem, you will build classifiers based on Gaussian discriminant analysis. Unlike Home-wor...

Questions in other subjects: