Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
