Hello,
I am trying to reproduce the example in chapter 11 of Kotu and Deshpande's book Data Science Concepts and Practice. In particular, I am checking the results in Table 11.6 and they seem all wrong! they are doing centered cosine distances with respect to 2001: a space Odyssey.
My numbers are
0.25 |
1.00 |
-0.52 |
-0.73 |
-0.01 |
and they say it should be

Can anyone please double-check?
Best,
Bernardo