documentation: nearest neighbors
이전 댓글 표시
Classification using NN: Distance metric definition equations. Impossible to make out exponent of (xs-yt)^? term for Euclidean distance, same for Standard Euclidean and same for Mahalanobis ( Xs - Yt)^ ?, Similar problems with Cosine distance and Correlation distance. I tried zooming to 300 % , still ambiguous.I know what textbooks say these should be and I can check that but wanted to see how Matlab is treating these terms. Suggest you either make these coeff larger, or call then a variable ( like you did for p in other definitions) .
답변 (1개)
Walter Roberson
2018년 4월 30일
0 개 추천
If you are referring to https://www.mathworks.com/help/stats/classification-using-nearest-neighbors.html then there is no exponent for the Euclidean distance given there. The mark given in the documentation is the ' transpose operator.
카테고리
도움말 센터 및 File Exchange에서 Nearest Neighbors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!