Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Testing PCAMotivation Bookmark this page Exercises due Jul 1 7 , 2 0 2 4 1 7 : 2 9 IST Review: True or False

Testing PCAMotivation
Bookmark this page
Exercises due Jul 17,202417:29 IST
Review: True or False
2 points possible (graded)
Consider the classification decision rule
hat(y)=sign(*(x))
where xinRd represent input data and yin{1,-1} is the corresponding predicted labels, and we have
omitted the bias/offset term for simplicity.
Given the model above, determine if the following statements are True or False.
The feature map is function from Rd to Rd.
If (x)inRD, then the classification parameter is also a vector in RD.(Answer based on the model
as written.)
0.0/1.0 point (graded)
Use
to compute a 18-dimensional PCA representation of the MNIST training and test
datasets, as illustrated in
Retrain your softmax regression model (using the original labels) on the MNIST training dataset and report its
error on the test data, this time using these 18-dimensional PCA-representations rather than the raw pixel
values.
If your PCA implementation is correct, the model should perform nearly as well when only given 18 numbers
encoding each image as compared to the 784 in the original data (error on the test set using PCA features
should be around 0.15). This is because PCA ensures these 18 feature values capture the maximal amount of
variation from the original 784-dimensional data.
Error rate for 18-dimensional PCA features =
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Accounting And Auditing Research And Databases Practitioner's Desk Reference

Authors: Thomas R. Weirich, Natalie Tatiana Churyk, Thomas C. Pearson

1st Edition

1118334426, 978-1118334423

More Books

Students also viewed these Databases questions

Question

4. When is it appropriate to show grace toward others?

Answered: 1 week ago