Bird
0
0

Which parameter in Gensim's Word2Vec controls the size of the context window used to train the model?

easy📝 Conceptual Q2 of 15
NLP - Word Embeddings
Which parameter in Gensim's Word2Vec controls the size of the context window used to train the model?
Awindow
Bmin_count
Cworkers
Dsg
Step-by-Step Solution
Solution:
  1. Step 1: Identify the context window parameter

    The window parameter sets how many words before and after the target word are considered as context during training.
  2. Step 2: Clarify other parameters

    min_count filters rare words, workers sets parallel threads, and sg chooses training algorithm (CBOW or Skip-gram).
  3. Final Answer:

    window -> Option A
  4. Quick Check:

    Context window = window = D [OK]
Quick Trick: Window sets context size around each word [OK]
Common Mistakes:
MISTAKES
  • Confusing window with min_count
  • Thinking workers affect context size
  • Mixing sg with window

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More NLP Quizzes