Page 1 of 1

1. Using an LSI model reduced to 200 dimensions, which pair of texts (Genesis, Inaugural Address, and Monty Python and t

Posted: Thu Jul 14, 2022 2:11 pm
by answerhappygod
1. Using an LSI model reduced to 200 dimensions, which pair oftexts (Genesis, Inaugural Address, and Monty Python and the HolyGrail) are most similar? To answer this question, you'll need tofirst create a bag of words matrix (with or without tf-idf), thenuse an LSI model to reduce the dimensionality of the matrix to 200topics. To run the similarity queries, you will need to map eachtext into the LSI space (see the companion notebooks) beforerunning the query. You should find that each text receives asimilarity score of 1.0 when compared to itself.
Answer with python coding