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
1. Using an LSI model reduced to 200 dimensions, which pair of texts (Genesis, Inaugural Address, and Monty Python and t
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
1. Using an LSI model reduced to 200 dimensions, which pair of texts (Genesis, Inaugural Address, and Monty Python and t
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!