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..

回答(0 个)

产品


版本

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by