Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using the already defined RBF SVC model `m`, run two grid searches on the parameters C and gamma, for values [0.05, 0.5, 1, 5, 20,

Using the already defined RBF SVC model `m`, run two grid searches on the parameters C and gamma, for values [0.05, 0.5, 1, 5, 20, 100, 500]. The first grid search should find the model that best optimizes for recall. The second grid search should find the model that best optimizes for precision. How much better is the best recall (found by first grid search) than the best precision you found (result of second grid search)? (Compute the difference between these two as: recall - precision, to 3 decimal places)

(Training data are in X_train, y_train, and use y_test and X_test to compute precision and recall.)

1

2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Microeconomics An Intuitive Approach with Calculus

Authors: Thomas Nechyba

1st edition

978-0538453257

Students also viewed these Mathematics questions