commit 22b4ca88b254449b52ac3736b99fe229bdce2199
parent ec879b2e4dd9dc35ee269af3c44e1cd0f9495296
Author: Andrew Laack <andrew@laack.co>
Date: Thu, 1 Jan 2026 04:04:01 -0600
Fixed formatting
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/TF-IDF.md b/docs/TF-IDF.md
@@ -9,7 +9,7 @@ Intuitively, this value describes how different the usage of a given term is in
## Calculation
1. Calculate TF(word)
- - # of times word appears in document / total number of terms in the document
+ - \# of times word appears in document / total number of terms in the document
- Probability of a random term in the document being the word
2. Calculate IDF(word)
- Inverse document frequency of the word is the log of the # of documents / number of documents with the word