Bird
0
0

If 'king' - 'man' + 'woman' = 'queen' analogy holds, which vector operation represents this?

medium📝 Predict Output Q5 of 15
NLP - Word Embeddings
If 'king' - 'man' + 'woman' = 'queen' analogy holds, which vector operation represents this?
Aqueen_vec = king_vec + man_vec - woman_vec
Bqueen_vec = king_vec - man_vec + woman_vec
Cqueen_vec = man_vec - king_vec + woman_vec
Dqueen_vec = woman_vec - man_vec + king_vec
Step-by-Step Solution
Solution:
  1. Step 1: Understand analogy vector formula

    Analogy uses vector arithmetic: target = base - source + target replacement.
  2. Step 2: Match formula to options

    Correct formula is queen_vec = king_vec - man_vec + woman_vec.
  3. Final Answer:

    queen_vec = king_vec - man_vec + woman_vec -> Option B
  4. Quick Check:

    Analogy vector = king - man + woman [OK]
Quick Trick: Analogy: target = base - source + replacement [OK]
Common Mistakes:
MISTAKES
  • Swapping subtraction order
  • Adding instead of subtracting source
  • Confusing vector roles

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More NLP Quizzes