Question: Task 2 b - More understanding of Semantic Matching ( 1 5 points ) . Which terms does LSI find similar? To understand why the
Task b More understanding of Semantic Matching points
Which terms does LSI find similar?
To understand why the LSIexpanded vectors get the results they do we're going to look at what the operator
does to text. In particular, the termterm matrix
tells us the term expansion behavior of this LSI model. Think of the termterm matrix like an operator that first maps a term to the latent space
using
then back again from
to term space using
transpose The
entry of
is a kind of association weight between term
and term
Write a function to get the most related terms according to LSI for the word "economy". To do this:
Compute the termterm matrix from the matrix U the reducedtermmatrix variable
Use the termterm matrix to get the association weights of all words related to the term "economy"
Sort by descending weight value.
Your function should return the top words and their weights as a list of string float tuples.
Do the related terms match your subjective similarity judgment?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
