Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Part 4 : Automating the Parameter Search On the previous problem we were able to choose some OK parameters just by hand - tuning. But
Part : Automating the Parameter Search
On the previous problem we were able to choose some OK parameters just by handtuning. But in real life where time is money it would be better to do something a little more automated. One common thing to do is a gridsearch over a predefined range of the parameters. In this case you will loop over all possible combinations of parameters, estimate the accuracy of your model using KFolds crossvalidation, and then choose the parameter combination that produces the highest validation accuracy.
Part A: Below is an experiment where we search over a logarithmic range between
and
for
and a range between
and
for
For the accuracy measure we use KFolds CV with
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started