Standardization of KNN Variables
显示 更早的评论
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
采纳的回答
更多回答(1 个)
Mohammad Rajabi
2017-9-13
0 个投票
Would you please explain this parameter, namely "Standardize"? and when is it recommended to be used?
类别
在 帮助中心 和 File Exchange 中查找有关 Nearest Neighbors 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!