documentation: nearest neighbors
17 ビュー (過去 30 日間)
古いコメントを表示
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) .
0 件のコメント
回答 (1 件)
Walter Roberson
2018 年 4 月 30 日
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.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!