Standardization of KNN Variables
Show older comments
When I try to follow the API for fitting data to a KNN model (<http://uk.mathworks.com/help/stats/fitcknn.html)>, it uses the code "Mdl = fitcknn(X,Y,'NumNeighbors',5,'Standardize',1)" but "'Standardize',1" is apparently not a valid parameter name. Can anyone shed some light on this?
Kind regards Jason
Accepted Answer
More Answers (1)
Mohammad Rajabi
on 13 Sep 2017
0 votes
Would you please explain this parameter, namely "Standardize"? and when is it recommended to be used?
Categories
Find more on Nearest Neighbors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!