Understanding and Using Common Similarity Measures for Text Analysis

John R. Ladd · The Programming Historian · 2020

This lesson introduces three common measures for determining how similar texts are to one another: city block distance, Euclidean distance, and cosine distance. You will learn the general principles behind similarity, the different advantages of these measures, and how to calculate each of them using the SciPy Python library.

Read the paper · More papers on PaperTik