classnotes RTX 4070 Ti SUPER · faster-whisper · DeepSeek

6103 - Advanced ML

← 6103 - Advanced ML

Advance Machine Learning-20260915_183006-Meeting Recording

Date 2026-09-15 Length 1h 29m Words 9,106 Segments 781
⤓ Download transcript (.txt with timestamps) ⤓ Plain transcript (.txt) ⤓ Transcript (.md)

Summary


session: "6103-advanced-ml/2026-09-15 1830 Advance Machine Learning"

title: "Advance Machine Learning"

date: "2026-09-15 18:30"

duration: "1h 28m"

language: "en"

model: "deepseek-ai/DeepSeek-V3.2"

parts: 2

transcript_chars: 49157

generated: "2026-11-23T01:49:46+05:30"


Advanced Machine Learning

Overview

This class introduced logistic regression as a core classification algorithm within supervised learning. It covered the model's structure, which combines a linear equation with a sigmoid function to produce probabilistic outputs, and explained the training process aimed at finding an optimal decision boundary. The session also introduced key evaluation metrics for classification, specifically the confusion matrix and accuracy, and touched on model robustness and the distinction between linear and polynomial decision boundaries. This lecture serves as a bridge from fundamental classification concepts to more advanced topics like deep learning.

Learning outcomes

Core concepts

Logistic Regression for Classification

A supervised learning method for predicting categorical outcomes. It uses the sigmoid function to map a linear combination of inputs to a probability between 0 and 1. It matters because it provides probabilistic interpretations for binary decisions, forming a foundation for more complex models.

Sigmoid (Logistic) Function

An S-shaped function that converts any real number into a value between 0 and 1. It is crucial because it allows the linear model's output to be interpreted as a probability, enabling classification.

Decision Boundary

The line, plane, or curve that separates different classes in the feature space. In logistic regression, it is defined where the predicted probability equals 0.5. It connects to training, as the goal is to adjust weights to position this boundary to minimize misclassifications.

Confusion Matrix

A table used to evaluate the performance of a classification model by comparing predicted and actual classes. It matters because it provides a detailed breakdown of correct and incorrect predictions, enabling the calculation of metrics like accuracy, precision, and recall.

Model Robustness and Retraining

A robust model performs well on new data from the same statistical distribution as the training data. Retraining involves updating model weights with new data, which erases the previous model's "memory." This connects to the practical challenge of maintaining model performance over time as data evolves.

Formulas and maths

Worked examples

1. Probability Calculation:

2. Training Visualization:

3. Confusion Matrix & Accuracy:

Questions asked in class

Key takeaways

Exam-style questions

1. **Given a trained logistic regression model P = 1 / (1 + e^(-(-2 + 0.5*x1 + 1.5*x2))) and a data point with x1=3, x2=1, calculate the predicted probability and the class label using a 0.5 threshold.**

2. From a confusion matrix with TP=80, TN=60, FP=15, FN=10, calculate the accuracy and misclassification rate.

3. Explain the difference between a linearly separable and a linearly inseparable dataset in the context of logistic regression. What model extension can address inseparability?

4. Describe what happens during the retraining of a logistic regression model. Does the model "remember" its previous state?

Glossary

Follow-ups

Exam verification — corrections & additions

Transcript

One line per segment, [hh:mm:ss] timestamp first.

loading…