initial vault

This commit is contained in:
Nicolay Sukhanovskii
2026-08-16 17:15:36 +03:00
commit 652761fb7b
41 changed files with 21777 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
TF - term frequency. IDF - inverse document frequency
![[Pasted image 20260719155922.png]]
![[Pasted image 20260719155956.png]]
```python
from sklearn.feature_extraction.text import TfidfVectorizer
```
Usage
- keywords extraction
- text clustering (kmeans on tf-idf matrix)
Initially - modification of bag of word, used to filter out useless (less important for meaning words)
Sources:
https://habr.com/ru/companies/otus/articles/755772/
https://www.geeksforgeeks.org/machine-learning/understanding-tf-idf-term-frequency-inverse-document-frequency/