How to change the distance into manhattan or hamming?
2 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Hamming 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!