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_2

Step: 3

blur-text-image_3

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

Relational Database And Transact SQL

Authors: Lucy Scott

1st Edition

1974679985, 978-1974679980

More Books

Students also viewed these Databases questions

Question

6. Identify characteristics of whiteness.

Answered: 1 week ago