New answers tagged

0 votes

Is there a rule of thumb (or actual numbers) for the minimal number of words in a document for TFiDF to work?

The answer to questions like this is nearly always some combination of "It depends" and "Try it and see". To your point about face recognition: 16 pixels is plenty if I only need ...
user avatar
  • 229
-1 votes

How to justify logarithmically scaled frequency for tf in tf-idf?

That means that both documents contain the same instances of the searched word, while having more or less unrelated words doesn't make it more or less relevant than the other document.
user avatar
  • 99
1 vote

When is the input of a transformer a matrix?

X is a matrix as every token in the input sentence is encoded in a vector. For example, if the input sentence is "I like trains" each token (assume each word is a token) gets transformed to ...
user avatar
  • 31

Top 50 recent answers are included