Introduction to Linear Algebra, Gilbert Strang, 2016 (Wellesley-Cambridge Press) - Explains the fundamental concepts of vectors, dot products, and their geometric interpretations, which are essential for understanding cosine similarity.
Pattern Recognition and Machine Learning, Christopher M. Bishop, 2006 (Springer)DOI: 10.1007/b100721 - Provides a comprehensive treatment of machine learning, including discussions on distance and similarity measures within the context of data analysis and pattern recognition.