6103 - Advanced ML
session: "6103-advanced-ml/2026-08-18 1930 Advance Machine Learning"
title: "Advance Machine Learning"
date: "2026-08-18 19:30"
duration: "1h 33m"
language: "en"
model: "deepseek-ai/DeepSeek-V3.2"
parts: 2
transcript_chars: 52119
generated: "2026-11-23T01:22:47+05:30"
This class introduced the course structure and the fundamental distinction between conventional and machine learning (ML) programming. The instructor assessed student backgrounds and outlined the syllabus, which spans Basic ML, Deep Learning, and basic NLP. The session established that ML is a system's ability to learn from data without explicit programming, contrasting it with rule-based approaches. This foundational lecture sets the stage for understanding when and why ML is necessary, positioning it within the broader curriculum of advanced topics.
Conventional programming relies on explicit human-written logic (e.g., if-else rules) to produce outputs from inputs. ML programming feeds data (inputs and corresponding outputs) to an algorithm, which learns implicit patterns to map new inputs to outputs. This distinction matters because it defines the problems each approach can solve: conventional programming for well-defined logical tasks, ML for tasks where rules are unknown or too complex to codify.
Data is the mandatory raw material for ML. An ML model learns by iteratively scanning datasets comprised of features (input attributes) and a target variable (the correct output). Without sufficient and representative data, ML modeling cannot occur. This concept is central because it shifts the focus from writing logic to curating and preparing data.
Explicit programming involves manually specifying all solution steps. Implicit programming, characteristic of ML, involves providing a system with examples (data) from which it automatically infers the solution rules. This shift enables solving problems that lack a clear algorithmic solution, connecting to the core promise of ML: learning from experience.
(No formulas were presented in this part.)
Conventional Approach:
A programmer writes a function with explicit rules (e.g., check for '@', no spaces, dot not at the start). The code directly encodes the validation logic.
ML Approach:
1. Require a dataset of, for example, 10,000 email IDs.
2. Each row contains features (the email string, possibly decomposed) and a class label/target variable ("yes" for valid, "no" for invalid).
3. An ML algorithm scans this dataset multiple times to learn patterns distinguishing valid from invalid emails.
4. A change in rules (e.g., allowing spaces) requires a new dataset with examples of the new rule and complete retraining of the model, whereas in conventional programming, only one if-else statement needs modification.
A: Conventional programming gives correct answers always, assuming the logic is correct; ML may give wrong answers as it learns probabilistic patterns.
A: Conventional programming (change one if-else statement). ML requires new data and retraining.
A: ML is used when a mathematical or logical solution does not exist (e.g., recognizing cats and dogs). In such cases, ML finds solutions from data where conventional programming cannot.
A: Not necessarily; it can increase effort because creating large, accurate datasets is laborious. ML does not replace conventional programming but solves a different class of problems.
A: No. Unlike conventional programming, the same ML code can be used for entirely different tasks (e.g., cat/dog or laptop/mobile recognition) depending on the data provided.
1. Describe a problem where machine learning is necessary, and justify why conventional programming would not be suitable.
Outline: Choose a problem like image recognition or sentiment analysis. Argue that no explicit set of rules can reliably define all variations (e.g., of a cat's appearance or positive sentiment). State that ML learns these complex, implicit patterns from data.
2. A rule for validating user IDs changes. Compare the steps required to update a conventional program versus an ML model.
Outline: Conventional: Locate and modify the specific conditional statement in the code. ML: 1) Collect new data reflecting the updated rule, 2) Re-label the dataset if necessary, 3) Retrain the model on the new dataset from scratch or via fine-tuning.
3. Explain the statement: "In ML, the purpose of the algorithm is determined by the data, not the code." Provide an example.
Outline: ML algorithms are general-purpose pattern learners. Example: The same neural network code trained on cat/dog data becomes a pet classifier; trained on laptop/mobile data, it becomes an electronics classifier. The code remains constant; the data defines the task.
One line per segment, [hh:mm:ss] timestamp first.
loading…