8 Week 8: Supervised Learning I

Slides

  • 9 SML Intro (link or in Perusall)
  • 10 SVM and Bi-LSTM (link or in Perusall)

8.1 Setup

I will not be providing code to run SVM or Bi-LSTM. However, if you are interested in good tutorials, please check out the following links:

8.2 Homework 3:

In this week’s lecture, we learned a framework for Supervised Machine Learning models. This framework includes creating a training set.

  1. Think of a dataset (corpus) and a classification task. Ideally, both the corpus and the classification task can be used in your final paper. However, it’s ok if this is done for this assignment (you will still need to get a corpus). You can choose whatever task, except for sentiment classification.
  2. Decide the number of categories that you will be predicting.
  3. Decide the number of observations you will code per category.
  4. Create a codebook (draft) to guide coders who will (hypothetically) label your training set.
  5. Label a sample of your data (N=75; decide how you will sample the data and explain your decision). Have a classmate label the same sample. Estimate inter-coder reliability and evaluate the results.
  6. How difficult/easy was the task? What problems did you run into? What would you change from your codebook to improve it? What other lessons did you learn from this exercise?

Note: We will be using the codebook and training set for the last assignment (and for an optional assignment).