Category: Uncategorized

  • LLMs and the environment

    Here’s an interesting recent post about ChatGPT’s impact on the environment, which makes for good food for thought. (Spoiler: the article claims it’s essentially negligible.)

  • Stephen’s neural-nets-in-torch primer posted

    Here’s my primer on using the basic neural net functionality in PyTorch. Enjoy!

  • A penny (+5XP, actually) for your thoughts

    You can earn up to +5XP (or maybe even +10XP if what you write is exceptionally good) by reading and responding to this blog post. You don’t need to do anything to “turn it in” per se; I’ll automatically notice the comment coming in via the comment form. Do use some semblance of either your…

  • Accuracy metrics: the binary vs multiclass case

    One thing I didn’t make sufficiently clear (and which our in-class multiclass XP example unfortunately probably didn’t help) is how metrics are treated differently for binary classification vs. multiclass classification. Here’s the deal. Whenever you perform a classification task, you have one of the following two scenarios: Binary. You have only one “thing” you’re trying…

  • Book version!

    Gah! Somebody just pointed out to me that Dan and Jim, on their website, have a new version of the book available. This is great but the page numbers DO NOT match the ones I’m using! So please keep up with the specified reading pages in the version I have posted in the link above,…

  • Go team!

    Quiz #3 has now been graded and recorded on the scoreboard. You’ll be delighted to know that we had a perfect 21 out of 21 correct Honor Pledges, so everyone has earned the XP I promised. Keep it up!! (Btw, if you still think some part of your quiz was graded in error, please let…

  • Don’t freak out about the quiz answers

    There’s more than one legitimate way to compute some of the things on quiz #3, and I will be awarding credit to any of those legitimate ways. So don’t freak out if your initial quiz score computed by Canvas is lower than you think it should be. I’ll be doing systematic, surgical regrades after everyone…

  • Homework #4 (team assignment) posted!

    Homework #4 has finally been posted, and is due a week from Wednesday. (Hint: DO! NOT! PROCRASTINATE! on this one! There are a lot of moving parts.) As announced in class, this is a team assignment of sorts. If you wish, your whole team of 3 or 4 can turn in just one submission. Or,…

  • Performance metrics code posted

    The code that computes classification performance metrics like accuracy, precision, recall, F-measure (Fβ) and the macro/micro-averaged versions of these, has been posted to the class github repo in the file measures.py.

  • 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…