documentation: nearest neighbors

3 visualizzazioni (ultimi 30 giorni)
Rich Tans
Rich Tans il 30 Apr 2018
Risposto: Walter Roberson il 30 Apr 2018
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) .

Risposte (1)

Walter Roberson
Walter Roberson il 30 Apr 2018
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.

Community Treasure Hunt

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

Start Hunting!

Translated by