About 53,400 results
Open links in new tab
  1. Why is the cosine distance used to measure the similatiry between …

    Sep 3, 2020 · While computing the similarity between the words, cosine similarity or distance is computed on word vectors. Why aren't other distance metrics such as Euclidean distance …

  2. Clustering with cosine similarity - Data Science Stack Exchange

    Sep 5, 2017 · First, every clustering algorithm is using some sort of distance metric. Which is actually important, because every metric has its own properties and is suitable for different …

  3. Cosine similarity vs The Levenshtein distance - Data Science Stack …

    Nov 18, 2019 · Cosine similarity is a measure of similarity between two non-zero vectors of an inner product space that measures the cosine of the angle between them. The cosine of 0° is …

  4. Cosine similarity versus dot product as distance metrics

    Jul 15, 2014 · It looks like the cosine similarity of two features is just their dot product scaled by the product of their magnitudes. When does cosine similarity make a better distance metric …

  5. machine learning - An old question: Cosine or Euclidean to …

    Aug 19, 2024 · As an experiment: choose a dimensionality . Randomly sample d-dimensional pairs of points from a normal distribution. Measure the euclidean distance and cosine similarity …

  6. When to use cosine simlarity over Euclidean similarity

    In NLP, people tend to use cosine similarity to measure document/text distances. I want to hear what do people think of the following two scenarios, which to pick, cosine similarity or Euclidean?

  7. When would one use Manhattan distance as opposed to Euclidean …

    Jun 30, 2017 · The use of Manhattan distance depends a lot on the kind of co-ordinate system that your dataset is using. While Euclidean distance gives the shortest or minimum distance …

  8. How to use Cosine Distance matrix for Clustering algorithms like …

    Mar 5, 2020 · I first calculated the tf-idf matrix and used it for the cosine distance matrix (cosine similarity). Then I used this distance matrix for K-means and Hierarchical clustering (ward and …

  9. Autoencoder: using cosine distance as loss function

    Sep 10, 2019 · The problem is that the cosine similarity on the validation set between original and reconstructed vectors has a mean of 0.4. I was thinking of using the cosine similarity as loss …

  10. Can I use cosine similarity as a distance metric in a KNN algorithm

    Jan 9, 2018 · Most discussions of KNN mention Euclidean,Manhattan and Hamming distances, but they dont mention cosine similarity metric. Is there a reason for this?