MLS-C01 · Question #1
An interactive online dictionary wants to add a widget that displays words used in similar contexts. A Machine Learning Specialist is asked to provide word features for the downstream nearest…
The correct answer is D. Download word embeddings pre-trained on a large corpus. The widget needs to find words used in similar contexts - a semantic similarity task. Pre-trained word embeddings (e.g., Word2Vec, GloVe, FastText) are dense vector representations learned from large corpora that encode semantic and syntactic relationships; words used in…
Question
An interactive online dictionary wants to add a widget that displays words used in similar contexts. A Machine Learning Specialist is asked to provide word features for the downstream nearest neighbor model powering the widget. What should the Specialist do to meet these requirements?
Options
- ACreate one-hot word encoding vectors.
- BProduce a set of synonyms for every word using Amazon Mechanical Turk.
- CCreate word embedding vectors that store edit distance with every other word.
- DDownload word embeddings pre-trained on a large corpus.
How the community answered
(36 responses)- A3% (1)
- B6% (2)
- C14% (5)
- D78% (28)
Explanation
The widget needs to find words used in similar contexts - a semantic similarity task. Pre-trained word embeddings (e.g., Word2Vec, GloVe, FastText) are dense vector representations learned from large corpora that encode semantic and syntactic relationships; words used in similar contexts end up with similar vectors, making them ideal input features for a nearest neighbor model. One-hot vectors (A) are sparse and encode no semantic relationships. Mechanical Turk synonyms (B) are brittle, don't scale, and don't produce numeric features. Edit distance (C) measures character-level string differences, not contextual or semantic similarity.
Topics
Community Discussion
No community discussion yet for this question.