{"id":439,"date":"2025-10-22T11:17:41","date_gmt":"2025-10-22T15:17:41","guid":{"rendered":"http:\/\/stephendavies.org\/nlp\/?p=439"},"modified":"2025-10-22T11:17:41","modified_gmt":"2025-10-22T15:17:41","slug":"tf-idf-binary-classifier-code-posted","status":"publish","type":"post","link":"http:\/\/stephendavies.org\/nlp\/index.php\/2025\/10\/22\/tf-idf-binary-classifier-code-posted\/","title":{"rendered":"TF-IDF binary classifier code posted"},"content":{"rendered":"<p>I have posted to <a href=\"https:\/\/github.com\/divilian\/data470\">the class repo<\/a> the IMDB movie review classification code from the last few days in class:<\/p>\n<ul>\n<li><tt>wordcount_encoder.py<\/tt><\/li>\n<li><tt>train_movies.py<\/tt><\/li>\n<li><tt>eval_movies.py<\/tt><\/li>\n<li><tt>interact_movies.py<\/tt><\/li>\n<\/ul>\n<p>These four files work together to accomplish all the wonderful things we wrote and demo&#8217;d together in class. They are also a key starting point for your upcoming homework #4, should you choose to use them.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;d together in class. They are also a key starting point for your upcoming homework #4, should [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[1],"tags":[],"class_list":["post-439","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/stephendavies.org\/nlp\/index.php\/wp-json\/wp\/v2\/posts\/439","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/stephendavies.org\/nlp\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/stephendavies.org\/nlp\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/stephendavies.org\/nlp\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/stephendavies.org\/nlp\/index.php\/wp-json\/wp\/v2\/comments?post=439"}],"version-history":[{"count":1,"href":"http:\/\/stephendavies.org\/nlp\/index.php\/wp-json\/wp\/v2\/posts\/439\/revisions"}],"predecessor-version":[{"id":440,"href":"http:\/\/stephendavies.org\/nlp\/index.php\/wp-json\/wp\/v2\/posts\/439\/revisions\/440"}],"wp:attachment":[{"href":"http:\/\/stephendavies.org\/nlp\/index.php\/wp-json\/wp\/v2\/media?parent=439"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/stephendavies.org\/nlp\/index.php\/wp-json\/wp\/v2\/categories?post=439"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/stephendavies.org\/nlp\/index.php\/wp-json\/wp\/v2\/tags?post=439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}