Question: KNN Development o You need to write your own distance comparison function. o Use the train set as the training data, and use the dev
KNN Development
o You need to write your own distance comparison function.
o Use the train set as the training data, and use the dev set to determine the best K
and best distance metric.
You may need to test multiple K values and distance metrics to select the
optimal ones.
Test the Model
o After the optimal K value and distance metric are selected, test the model using
the test set.
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
