You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

504 B

Exercise 3 Embeddings 2

The goal of this exercise is to learn to use SpaCy embedding on a document.

  1. Compute the embedding of all the words in this sentence. The language model considered is en_core_web_md
"laptop computer coffee tea water liquid dog cat kitty"
  1. Plot the pairwise cosine distances between all the words in a HeatMap.

alt text

https://medium.com/datadriveninvestor/cosine-similarity-cosine-distance-6571387f9bf8