Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(Machine Learning) Use SVM from sklearn to classify non-linearly sperable datasets. Refer to the example in sklearn http://scikit-learn.org/stable/auto_examples/svm/plot_iris.html, you can use this code or part

(Machine Learning) Use SVM from sklearn to classify non-linearly sperable datasets. Refer to the example in sklearn http://scikit-learn.org/stable/auto_examples/svm/plot_iris.html, you can use this code or part of it in your solutions. Load (using load_breast_cancer) datasets from sklearn (datasets.load_breast_cancer()):

a. select and evalute the "best kernal SVM" and the "worse kernel SVM" model could fit this dataset (you can empirically select the hyperparameters values), justify your answer.

b. report the cross validation accuracy for the "best kernel SVM" and the "worse kernel SVM" classifier.

c. Using random search, what is the optimimum hyperparameter values for the "optimum model" ?

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

Graph Databases New Opportunities For Connected Data

Authors: Ian Robinson, Jim Webber, Emil Eifrem

2nd Edition

1491930896, 978-1491930892

More Books

Students also viewed these Databases questions