Yes, it kind of makes sense if I understand you correctly. But the question is:
Use the method presented in the previous slide to predict which is the country whose capital is Ankara.
In the lecture video when we try to predict capital of Russia we go from country to capital - that is USA->DC and Russia->? - so we calculate the difference vector from country to capital ([5, -1] in that case, 5 to the right, and 1 down.).
When we try to find country from capital, we should try to estimate DC->USA and Ankara->?
So, we should try to find vector pointing TO a country we want to find (from the reference point of Ankara):
USA - Washington = [-5, 1] # (5 to the left, and 1 up)
Unknown_country - Ankara = [?, ?]
So we plug in DC->USA vector to find this country:
Unknown_country - Ankara = [-5, 1] # (what country is 5 to the left, and 1 up?)
which should be:
Unknown_country = Ankara - Washington + USA
Unknown_country = [4, 2] # here cosine similarity would be 1, but there is no country here.
So we find cosine similarity to Japan and Turkey (calculations above) and I think this is what the question asks.
Now, to your question:
What you are calculating is something different:
usa_wdc_vec = usa - wdc # [-5, 1]
jpn_ank_vec = jpn - ank # [-5, 2] (cos_sim = 0.9833)
tur_ank_vec = tur - ank # [-6, 0] (cos_sim = 0.9806)
You are searching which vector of differences is most similar to the usa-dc difference. So yeah, it is the case that â5 to left, and 2 upâ is more cosine similar than â6 to the left and 0 up/downâ. But this is not what the method in the slide presented and Iâm not sure I understand why this method would be superior? Why would you say:
While taking USA-DC and X-Ankara, no matter where the reference point is, the result would be the same.
In particular, if you change any point (USA, DC, JPN, TUR, ANK) the results would be different in both methods?
If you are saying that you would transform the space (move [0, 0] or transform it any other way like skewing, rotating etc.) then my answer would be that the whole point of this space is to be exactly how it is and it makes a huge difference.