TF-IDF binary classifier code posted


I have posted to the class repo the IMDB movie review classification code from the last few days in class:

  • wordcount_encoder.py
  • train_movies.py
  • eval_movies.py
  • interact_movies.py

These four files work together to accomplish all the wonderful things we wrote and demo’d together in class. They are also a key starting point for your upcoming homework #4, should you choose to use them.


Leave a Reply

Your email address will not be published. Required fields are marked *

DATA 470D3 – Natural Language Processing

stephendavies.org