classnotes RTX 4070 Ti SUPER · faster-whisper · DeepSeek

6103 - Advanced ML

← 6103 - Advanced ML

Advance Machine Learning-20261017_092546-Meeting Recording

Date 2026-10-17 Words 10,994 Segments 1,208
⤓ Download transcript (.txt with timestamps) ⤓ Plain transcript (.txt) ⤓ Transcript (.md)

Summary


session: "6103-advanced-ml/2026-10-17 0925 Advance Machine Learning"

title: "Advance Machine Learning"

date: "2026-10-17 09:25"

duration: "--"

language: "en"

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

parts: 3

transcript_chars: 56636

generated: "2026-11-23T00:36:19+05:30"


Advanced Machine Learning

Overview

This class introduced foundational concepts in Natural Language Processing (NLP), focusing on text data preprocessing. It covered the importance of transforming raw text into a standardized format for machine learning models. Key techniques discussed included tokenization, stemming, and lemmatization, along with their practical trade-offs. The session also touched on subsequent steps like stop word removal and Named Entity Recognition (NER), positioning text normalization as a critical first step in the NLP pipeline before applying models like CNNs or Transformers.

Learning outcomes

Core concepts

Natural Language Processing (NLP)

A field of AI dealing with the interaction between computers and human language, specifically text data. It matters because most real-world data exists in textual form, and preprocessing is essential to make this data usable for machine learning models.

Text Normalization

A set of techniques to transform text data into a consistent, canonical form. It is a part of data transformation and matters because it reduces vocabulary size and improves model consistency by grouping similar words (e.g., "running", "ran", "runs" → "run").

Tokenization

The process of splitting a text into individual words or sentences. It is the first preprocessing technique and matters because it converts continuous text into discrete units (tokens) that can be processed by algorithms.

Stemming

A normalization technique that removes prefixes and suffixes using rules or heuristics to arrive at a root form (stem). It is fast and computationally lightweight but may produce non-valid words. It connects to lemmatization as a faster but less accurate alternative.

Lemmatization

A normalization technique that uses vocabulary and morphological analysis to find the dictionary base form (lemma) of a word. It considers part of speech and linguistic context, making it more precise but slower than stemming. It connects to the need for accurate word representation in downstream tasks.

Stop Word Removal

The process of filtering out common, low-information words (e.g., "the", "is", "to"). It matters because it reduces noise and data dimensionality, focusing the model on meaningful words.

Named Entity Recognition (NER)

Identifies and classifies named entities (e.g., persons, locations, organizations) in text. It matters for extracting structured information from unstructured text and connects to POS tagging.

Bag-of-Words (B-O-W)

A text representation model that counts word frequencies in a document after preprocessing. It matters as a simple, foundational method for converting text into numerical vectors for machine learning models.

Formulas and maths

(No explicit formulas or equations were presented in this part.)

Worked examples

Normalization Example

Words like "connected," "connecting," "connection" are normalized to the root word "connect."

Stemming Examples (using Porter Stemmer)

Lemmatization Examples

Tokenization Example

Stop Word Removal & Processing Pipeline Example

Sentence: "Ram has given the 10 books to sita."

1. Lowercase conversion.

2. Remove non-alphabetic characters (dots, commas). "10" would be removed if numerical.

3. Remove stop words (e.g., "the", "is", "to").

4. Apply lemmatization.

5. Count words (Bag of Words).

6. Perform NER (e.g., "Ram" tagged as NNP - proper noun).

Library Implementation Example

To use NLTK:

1. pip install nltk

2. Download WordNet data.

3. Import modules: from nltk.stem import PorterStemmer, WordNetLemmatizer.

Questions asked in class

Key takeaways

Exam-style questions

1. Compare and contrast stemming and lemmatization. When would you choose one over the other?

2. Describe the step-by-step preprocessing pipeline for the sentence: "The 3 cats are running quickly." Assume you are applying lowercase conversion, alphabetic filtering, stop word removal, and lemmatization (with verb POS for 'running').

3. Explain why Part-of-Speech (POS) information is critical for lemmatization. Provide an example where the lemma changes based on POS.

Glossary

Follow-ups

Transcript

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

loading…