How to change the distance into manhattan or hamming?
2 次查看(过去 30 天)
显示 更早的评论
i'm using fitcknn to classify my image, but the default distance used is euclidean... i want to test it with manhattan and hamming distance, but idk how to change it.. i'll attach my code, maybe it'll help..
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/808714/image.png)
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Hamming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!