intro-to-dh

Tuesday + Thursday, 9:30-10:45, 243 Kauke // Dr. Jacob Heil, 158D Andrews Library

View on GitHub

Home. // Assignments/Grading. // Schedule. // Policies.

Topic Modeling with jsLDA

Machines “reading” IS Abstracts

The Gist

So, we’ve been working with our Independent Study Abstracts of five majors: Soc/Anthro, History, Communications, Econ, and English. After prepping the dataset for this project, it now has 451 SOAN abstracts, 210 HIST, 194 COMM, 157 ECON, and 122 ENGL. It also includes one file to contain them all, which has 1134 abstracts.

We will run some topic models on these abstract datasets, make note of our observations, and articulate the affordances of topic models in exploring this dataset.

Ingredients

Process

Part One

  1. From our Moodle site, select and download one of the singular topic I.S. abstract datasets (so, not all-abstracts, which we’ll get to below). To download, you may have to right-click and “save link as”; be sure to save it somewhere you can find it easily in step 3!
  2. From the jsLDA site, choose “Run a Model”
  3. In the menu header at the top of the jsLDA page, select “choose file” next to “Document Upload” and select the file you’ve just downloaded.
  4. On the far right of that top border, select “Load” to run your model. Notice how the topics (on the left margin) align after just uploading.
  5. On the far left of the top margin, select “Run 50 Iterations” on your model. Notice how the topics shift around.
  6. Explore the sections with the “Topic Correlations” matrix and the “Time Series” sparklines for trends over time.
  7. Navigate into the “Time Series” area and “Run 50 Iterations” again. Notice how the sparklines shift as you iterate.
  8. Repeat steps 5-7 until you see less shifting around of the topics (probably 300-500 iterations).
Questions
  1. What do you notice about the identified topic groupings as you iterate?
  2. Identify an interesting correlation in your discipline’s abstracts using the “Toic Correlations” matrix.
  3. Do you notice any interesting trends over time in your discipline? Given what you know of history, does this make sense to you?

Part Two

  1. Now download that all_abstracts.txt file.
  2. Repeat steps 3-8 using this file and answer the questions below.
Questions
  1. What groupings do you notice in the disciplines?
  2. Can you identify correlations or changes over time that might prompt further exploration?

Booking Meetings


Course Archive: 2017

Creative Commons License
An Introduction to Digital Humanities by Jacob Heil is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.