2
$\begingroup$

This question is from a homework in the Sequence Models course taught by Andrew Ng on Coursera (this is not related to a homework problem per se, just for general edification).

See the screenshot below where the homework was describing cosine similarity. I was a little confused about the example to the right, where "France - Paris" and "Rome - Italy" were taken to be nearly opposites because one is country-city and the other is city-country.

Can an embedding really encode two different concepts with an "ordering" like this, or is this just a very contrived example?

enter image description here

$\endgroup$

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.