Practice Problem on k-NN Classification | MATLAB
Problem Statement:
Given the training set:
{{(0, 1),CA}, {(−1,−1),CA}, {(1, 1),CA}, {(−2,−2),CB}, {(2, 2),CB}}
By using the above training set , classify the points (5, 1) and (−1, 4) applying the 3-NN decision rule
Code Link: https://www.matlabcoding.com/p/practice-problem-on-k-nn-classification.html
Given the training set:
{{(0, 1),CA}, {(−1,−1),CA}, {(1, 1),CA}, {(−2,−2),CB}, {(2, 2),CB}}
By using the above training set , classify the points (5, 1) and (−1, 4) applying the 3-NN decision rule
Prerequisite:
KNN Classification | MATLAB
Code Link: https://www.matlabcoding.com/p/practice-problem-on-k-nn-classification.html
No comments