• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 5 pages
Exam (elaborations)

Cs-7643 Quiz 4 Questions And Verified Correct Answers Graded A+Latest - Guaranteed Pass.docx

Document preview thumbnail
Preview 2 out of 5 pages

Cs-7643 Quiz 4 Questions And Verified Correct Answers Graded A+Latest - Guaranteed P

Content preview

CS-7643 Quiz 4 questions and
verified correct answers 100%
guaranteed pass latest 2026-2027


Collobert & Weston Vectors - CORRECT ANSWER-a word and its context is a positive example, a
negative example is placing a random word in the context of the original words. Similar to SVM,
the algorithm uses margin loss to increase the margin between positive and negative examples.



Word2Vec - CORRECT ANSWER-is an algorithm and tool to learn word embeddings by trying to
use a word to predict their context words. context being fixed window of size 2,. Two different
objectives can be used to learn these embeddings: The Skip-Gram objective tries to predict a
context from on a word



Skip-Gram Objective - CORRECT ANSWER-- For each position t=1,...,T predict context words
within a window of fixed size m, given context word w_j.

- Objective function is the avg negative likelihood



How to calculate probability of context word wrt to center word? - CORRECT ANSWER--take the
inner product of U and V to measure how likely word w appears with context word o.

-U when w is a center word

-V when o is a context word

-taking probability is expensive



What are alternatives to probability of context words? - CORRECT ANSWER-1.) Hierarchical
Softmax

, 2.) Negative Sampling



Negative Sampling - CORRECT ANSWER-- idea: for each (w,c) pair, we sample k negative pairs
(w,c')

- maximize the probability that real outside word appears, minimize the probability that random
word appear around the center word

- makes less frequent words to be sampled more often



Connection between Negative Sampling and Collobert & Weston Algorithm? - CORRECT
ANSWER-- NS is similar to collobert and weston's algorithm by training network to distinguish
"good" word context pairs from bad ones

- Collobert & Weston uses margin loss and NS uses probabilistic optimization



Uses of Word Embedding - CORRECT ANSWER-1.). features in down stream ML models

2.) initialization for neural net models for NLP like RNN and SLTM



Other word embeddings - CORRECT ANSWER-1.) GloVe: Global Vectors

2.) fastText: sub-word embeddings

3.) contextualized embedding: elmo and bret



How to evaluate word embedding? - CORRECT ANSWER-1.) Intrinsic Evaluation

2.) Extrinsic Evaluation



Intrinsic Evaluation for word embedding? - CORRECT ANSWER-e.g. Word Analogy Task

1.) evaluate specific/intermediate task

2.) fast to compute

3.) helps to understand system

Document information

Uploaded on
October 21, 2026
Number of pages
5
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$17.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
examhandler01
4.5
(10)
Sold
67
Followers
7
Items
3299
Last sold
23 hours ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions