Save this video free

CSci574 / AI 520 Machine Learning: Classroom Session 09/10/2026

Derek Harter · 57:30 · Watch on YouTube

Part of East Texas A&M University CSCI 574. See all 20 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Derek Harter explains Assignment 2 implementation requirements for linear regression and binary logistic classification using scikit-learn and statsmodels, including weather-feature encoding, mean imputation, and plotting a learned decision boundary. He then introduces classification evaluation with MNIST examples, five-fold concepts for cross-validation, class-imbalance baselines, confusion matrices, precision and recall, and ROC or precision-recall curves.

Key takeaways

Chapters

0:00 Assignment 2 Linear Regression with scikit-learn and statsmodels
5:49 Function Commits and the Weather Classification Task
8:00 Encode RainTomorrow and Impute Missing Weather Features
12:23 Plot Weather Classes and Derive the Logistic Decision Boundary
23:30 MNIST Images and the Ten-Class Digit Prediction Problem
26:03 Multiclass Support, Dataset Shuffling, and Class Imbalance
30:51 Train an SGD Five Detector and Check Its Predictions
35:39 Cross-Validation and a Majority-Class Accuracy Baseline
42:04 Read Binary and Multiclass Confusion Matrices
47:53 Use Precision and Recall to Measure Different Classification Errors
51:03 Choose Error Tradeoffs with ROC and Precision-Recall Curves

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:06 Hey. Uh, well, I'm back. My computer's responsive again. So, let's try this again here. Uh, let me share my screen. All right. Um, well, so just jumping back to where I was. Um, I was just mostly talking about, you know, the high stuff. Um, so let me know. Don't know if

0:55 everybody got back on here or not. I got a lot of people uh online at the moment. So um but again I encourage you you know if you have questions I'm mostly just doing this to see if anybody wants to ask a question about uh anything. So uh but um um in general on this assignment basically you have to implement uh like a linear regression first of all. So you're going to put that in your scikit into the task one sklearn linear regression function uh which will be in the same place that you had to do stuff on the first assignment. So when you're uh source assignment tasks uh you should have uh all these functions here. Um,

1:49 so I think I must have had a solution there for for the uh the the um for the scikitle learn one. Uh I don't know why that one's in there, but um um and then you know I pretty much ask you to do the same thing uh but using stats model. Uh so you know you might have to go through and look um uh you know so you might need to do some of these you might be able to reuse like scikitle learn stuff uh you have to create the model using stats model for the second part but um uh how you pull out the information like what the resulting intercept and slope were uh will be different you'll have to get

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Derek Harter.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.