Categories: Uncategorized

Assignment 6 — detecting topics.

Assignment 6 — detecting topics.

  • DueMar 26 by 12:00pm
  • Submittinga text entry box or a file upload

In this assignment, you will perform topic modeling of all of Wikipedia.

Step 1

Don't use plagiarized sources. Get Your Custom Essay on
Assignment 6 — detecting topics.
For $10/Page 0nly
Order Essay

Complete the gensim tutorial: https://radimrehurek.com/gensim/tutorial.html (Links to an external site.).

As part of the tutorial, you will use Latent Dirichlet Allocation to create a topic model of Wikipedia.

Step 2

Download a dump of Wikipedia. I recommend using this torrent:

http://itorrents.org/torrent/D567CE8E2EC4792A99197FB61DEAEBD70ADD97C0.torrent (Links to an external site.)

You can also download it directly from a mirror. The file you’re looking for is enwiki-20170820-pages-articles.xml.bz2. A more recent dump is okay, just make sure that it’s the English Wikipedia and that you’re getting the bzipped XML of all article pages (-pages-articles.xml.bz2).

NOTE: You may also use the “Simple English Wikipedia” (simplewiki) instead of the full English Wikipedia. The benefit is that it’s ~100 times smaller and so will be much quicker to process. The downside is that it is 100x smaller and thus not quite as good an example of large-scale topic modeling of the kind you might want to do in the future.

Step 3

Run LDA on all of Wikipedia, using 20 topics.

Step 4

View the words that are weighted heavily in each topic and give each topic a name.

Step 5

Visit 3 random Wikipedia pages by following this link three times:

http://en.wikipedia.org/wiki/Special:Randompage (Links to an external site.)

For each page, copy all the text into a text file. Then use the model you have trained to determine that document’s topics.

Step 6

Write 1 page that includes the names of the topics from Step 4, links to the three articles from Step 5, and the names of the topics assigned to those 3 articles. Include at least 1 paragraph describing the results and anything important or interesting you notice.

 

admin

Recent Posts

Economic Debate #3- Progressive Income Tax – The Homework Helper

Economic Debate- Progressive Income Tax For this Economic Debate, we are going to discuss the…

2 years ago

MKT 6120 – Marketing Management – Davis Learning Engagement #7

TOPIC: Going Global Discussion Thread 1 (initial post due Wednesday for full credit) Please note:…

4 years ago

jvjvjhvjhvhjvj

Assignment Topic This week will culminate in the creation of a narrated PowerPoint to create…

4 years ago

Students are supposed to select a technological organization of their choice.

The Assignment must be submitted on Blackboard (WORD format only) via allocated folder. Assignments submitted…

4 years ago

Increases the risk of wildfires

you need to post your 2-page information flier to share with your Final Project Group.…

4 years ago

Statistics for Technology management

discussion: Discuss the methods used at your company to measure and ensure quality products and…

4 years ago