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!