Skip to content

Commit

Permalink
Alternate Way for KFold
Browse files Browse the repository at this point in the history
  • Loading branch information
ozlemkorpe committed Jul 6, 2020
1 parent 36a6fa7 commit 80af9de
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions Kfold_Validation.m
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
%---------------------K-Nearest Neighbour Algorithm------------------------

% 1- Choose the number of k neighbours.

% 2- Compute the k neighbors of the new data point according to some
% distance measure such as Euclidean.

% 3- Count the number of data points from each category among the
% neighbours computed in step 2.

% 4- The new datapoint is assigned to the category whit most neighbours.
%---------------------Validation Methods------------------------

data = readtable('Datasets\Social_Network_Ads.csv');

Expand Down

0 comments on commit 80af9de

Please sign in to comment.