Question: , 1 5 points. 1 . 5 h r s . KNN ( K nearest neighbor ) for Salmon / Sea Bass classification. Use the

,15 points. 1.5hrs. KNN (K nearest neighbor) for Salmon/Sea Bass classification.
Use the salmon vs. sea bass dataset "salmon_seabass.csv" provided in the shared folder. For each (xi,yi) data
point do the following:
Assume you do not know whether this point (xi,yi) is a salmon or sea bass, but you know the label of all
other points.
Use KNN with K=3 to classify this point (xi,yi). Plot correctly classified salmon as a red circle,
incorrectly classified salmon as a red "X", correctly classified sea bass as a blue triangle, and incorrectly
classified sea bass as a blue "X". Sorry I can't put csv file but it has two features 'lightness' and 'width' with label 'species' 0 and 1.
 ,15 points. 1.5hrs. KNN (K nearest neighbor) for Salmon/Sea Bass classification.

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 Databases Questions!