Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

If we explicitly apply the cubic polynomial svm to the original 7 8 4 - dimensional raw pixel features, the resulting representation would be of

If we explicitly apply the cubic polynomial svm to the original 784-dimensional raw pixel features, the resulting representation would be of massive dimensionality. Instead, we will apply the cubic polynomial svm to the 10-dimensional PCA representation of our training data which we will have to calculate just as we calculated the 18-dimensional representation in the previous problem. Use the sklearn package and build the SVM model on your local machine. Use random_state =0, kernel = 'poly', degree =3, and default values for other parameters.
If you have done everything correctly, cubic polynomial svm should perform better (on the test set) using these features than either the 18-dimensional principal components or raw pixels. The error on the test set using the cubic polynomial svm should only be around 0.06, demonstrating the power of nonlinear classification models.
Error rate for 10-dimensional PCA features using cubic polynomial svm =

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

Data And Information Quality Dimensions, Principles And Techniques

Authors: Carlo Batini, Monica Scannapieco

1st Edition

3319241060, 9783319241067

More Books

Students also viewed these Databases questions

Question

How does the concept of hegemony relate to culture?

Answered: 1 week ago

Question

=+Which associations exist?

Answered: 1 week ago