Question: ### Q 6 . Use cross validation to select k from the range [ 2 , 2 0 ] ( 2 points ) Use the

### Q6. Use cross validation to select k from the range [2,20](2 points)
Use the proper command to select k from the indicated range with 5-fold cross validation. Note that you will use the unsplit dataset (X,y) for cross validation. Your goal is to find the k in this range that gives the best accuracy score.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!