Z3003 · BS Core · Odd Semester 2026-27
Data Mining: Scaling to Large Data
Methods for scaling machine learning and pattern discovery to large datasets, co-taught with Dr. Mahendran V (IIT Tirupati): Weeks 1–6 core foundations and Part 1 modules (KDD, similarity, PCA, OLAP, Apriori/FP-Growth, Bayesian/tree classification, ensembles, and scalable clustering) under Dr. Innocent Nyalala, followed by Weeks 7–15 advanced topics under Dr. Mahendran V.
Full Course Syllabus (BS Core · Co-Taught)
| Topic Area | Key Concepts | Weeks | Lead |
|---|---|---|---|
| ML Basics & Data Exploration | KDD process; Bayesian Decision Theory; Maximum Likelihood Estimation (MLE); Feature Selection (Information Gain); PCA & LDA; Data Quality, Cleaning & Warehousing | 1–2 | Dr. Nyalala |
| Class Imbalance, Trees & Ensembles | Differential loss functions; Sampling & SMOTE; Decision Trees & Pruning; Naive Bayes; Bagging, Random Forests, AdaBoost & Gradient Boosting | 3 | Dr. Nyalala |
| Scaling Up (OLAP, MapReduce, LSH) | Data Cubes & Star Schemas; MapReduce model; PySpark RDDs; Locality-Sensitive Hashing (MinHash); PageRank on large graphs | 4–5 | Dr. Nyalala |
| Frequent Patterns & Stream Mining | Apriori Algorithm; FP-Growth, PCY & SON; Null-invariant measures; Stream data model; Bloom Filters; Counting in streams | 6 | Dr. Nyalala |
| Clustering (Part 1 Bridge & Advanced) | k-Means, Hierarchical clustering, DBSCAN, BIRCH, CURE, Non-Euclidean spaces, Spectral clustering | 7–9 | Dr. Mahendran V |
| Advanced Stream Mining | Sliding windows; DGIM; Reservoir sampling; Approximate counting at scale | 10–11 | Dr. Mahendran V |
| Advanced Topics | Recommender systems; Matrix factorization; Dimensionality reduction; Graph mining | 12–15 | Dr. Mahendran V |
Classroom Lecture Slides & LaTeX Summaries (Dr. Nyalala · Part 1)
Verified Google Classroom slide decks (Weeks 1–9) paired with compiled LaTeX Lecture Summaries (PDF) and Zanzibar agricultural teaching datasets (Data Dictionary · 500-Farm Sample CSV).
| Week | Module & Dates | Lecture Slides, LaTeX Summaries & Handouts |
|---|---|---|
| Week 1 | KDD Process, Data Types & Summary Statistics Sep 16–18 · Han Ch. 1–2; MMDS Ch. 1 |
Wed: Course Intro & What Is Data MiningSlides PDF
Thu: DM Tasks & Attribute TypesSlides PDF
Fri: Central Tendency & DispersionSlides PDF
Week 1 Summary & Tutorial 1 HandoutSummary PDFHandout PDFStarter (.ipynb)
|
| Week 2 | Correlation, Distance Measures & Data Quality Sep 23–25 · Han Ch. 2–3 |
Wed: Covariance, Correlation & GraphicsSlides PDF
Thu: Similarity & Distance MeasuresSlides PDF
Fri: Data Quality, Cleaning & IntegrationSlides PDF
Week 2 Summary & Tutorial 2 HandoutSummary PDFHandout PDFStarter (.ipynb)
|
| Week 3 | Normalization, Discretization, Sampling, PCA & Warehousing Sep 30–Oct 2 · Han Ch. 3–4; ESL Ch. 3 |
Wed: Normalization & DiscretizationSlides PDF
Thu: Data Reduction, Sampling & PCASlides PDF
Fri: Data Warehousing ArchitectureSlides PDF
Week 3 Summary & Tutorial 3 HandoutSummary PDFHandout PDFStarter (.ipynb)
|
| Week 4 | Data Cubes, Star Schemas, OLAP & Iceberg Cubes Oct 7–9 · Han Ch. 4–5 |
Wed: Data Cube & Multidimensional ModelSlides PDF
Thu: OLAP Operations & Bitmap IndexingSlides PDF
Fri: Cube Computation to Pattern MiningSlides PDF
Week 4 Summary & Tutorial 4 HandoutSummary PDFHandout PDFStarter (.ipynb)
|
| Week 5 | Frequent Pattern Mining: Apriori, FP-Growth & Evaluation Oct 14–16 · Han Ch. 6; MMDS Ch. 6 |
Wed: Apriori Frequent ItemsetsSlides PDF
Thu: FP-Growth & Limited-Pass AlgorithmsSlides PDF
Fri: Null-Invariant Pattern EvaluationSlides PDF
Week 5 Lecture SummarySummary PDF
|
| Week 6 | Classification: Decision Trees, Naive Bayes & Pruning Oct 28–Nov 3 · Han Ch. 8; Bishop PRML |
Mon: Naive Bayes & Laplace SmoothingSlides PDF
Wed: Decision Trees (Gini & Entropy)Slides PDF
Tue: Overfitting, Pruning & Scaling TreesSlides PDF
Week 6 Lecture SummarySummary PDF
|
| Week 7 | Imbalanced Evaluation, Cross-Validation & Ensembles Nov 4–5 · ESL Ch. 10 · Transition Module |
Wed: Evaluating Classifiers Beyond AccuracySlides PDF
Thu: Cross-Validation, Bias & VarianceSlides PDF
Ensembles: Bagging, Random Forests & BoostingSlides PDF
Week 7 Lecture SummarySummary PDF
|
| Week 8 | Clustering: k-Means & Hierarchical Methods Nov 9–10 · MMDS Ch. 7 |
Mon: k-Means & Silhouette EvaluationSlides PDF
Tue: Hierarchical Clustering & DendrogramsSlides PDF
Week 8 Lecture SummarySummary PDF
|
| Week 9 | Clustering at Scale, Pipeline Synthesis & Part 2 Handover Nov 11–13 · Mini-Batch k-Means, BIRCH, DBSCAN |
Wed: Clustering at Scale (BIRCH & DBSCAN)Slides PDF
Thu: End-to-End Pipeline SynthesisSlides PDF
Fri: Wrap-Up & Handover to Dr. Mahendran VSlides PDF
Week 9 Lecture SummarySummary PDF
|
| Weeks 10–15 | Part 2 Advanced Topics (Dr. Mahendran V · IIT Tirupati) Recommender Systems (SVD), PageRank & HITS, Streaming Sketches (FM, AMS, DGIM) |
Weeks 10–11: Recommender Systems & SVDSummary PDFPython (.py)Notebook (.ipynb)
Weeks 12–13: Link Analysis, PageRank & HITSSummary PDFPython (.py)Notebook (.ipynb)
Weeks 14–15: Data Streams (FM, AMS & DGIM)Summary PDFPython (.py)Notebook (.ipynb)
|
Python Reference Modules & Runnable Colab Notebooks
Each module pairs an assertion-tested Python script (code/) with an interactive Google Colab notebook (labs/), alongside the Lab Explorer & Part 2 Code Previews and the PySpark Lab 1 HTML Walkthrough.
| Module | Core Techniques | Code & Notebooks |
|---|---|---|
| Module 1 | Bayesian Classification, Bernoulli/Gaussian MLE & Naive Bayes | Python (.py) Notebook (.ipynb) Colab ↗ |
| Module 2 | Information Gain Feature Selection, PCA & Fisher LDA | Python (.py) Notebook (.ipynb) Colab ↗ |
| Module 3 | Class Imbalance, SMOTE Interpolation & Ensembles (RF, AdaBoost, GBDT) | Python (.py) Notebook (.ipynb) Colab ↗ |
| Module 4 | MapReduce Foundations & PySpark RDD Log/OLAP Pipelines (HTML Lab 1) | Python (.py) Notebook (.ipynb) Colab ↗ |
| Module 5 | k-Shingling, Jaccard, MinHash Signatures & LSH Banding | Python (.py) Notebook (.ipynb) Colab ↗ |
| Module 6 | Apriori Frequent Patterns, Kulczynski/IR & Bloom Filters | Python (.py) Notebook (.ipynb) Colab ↗ |
Weekly Tutorials (T1–T6)
Submit one Python file per week named dm[TT]t[RR].py, where TT is the tutorial number (01–06) and RR is the last two digits of your roll number (for example, dm01t23.py).
| Tutorial | Topic | Libraries | Handout / Starter |
|---|---|---|---|
| Tutorial 1 | Simulating Random Variables | numpy · scipy.stats | Handout PDF · Notebook |
| Tutorial 2 | Feature Selection & PCA | sklearn · numpy · matplotlib | Handout PDF · Notebook |
| Tutorial 3 | Ensemble Methods | sklearn · AdaBoost · RandomForest | Handout PDF · Notebook |
| Tutorial 4 | MapReduce with PySpark | pyspark · RDD · transformations | Handout PDF · Notebook |
| Tutorial 5 | MinHash & LSH | datasketch · numpy · sets | Online specification |
| Tutorial 6 | Apriori & Bloom Filters | mlxtend · bitarray · numpy | Online specification |
Learning Outcomes
- Apply Bayesian Decision Theory and Maximum Likelihood Estimation to classification problems under uncertainty.
- Select informative features using Information Gain and reduce dimensionality using PCA and LDA without data leakage.
- Handle class imbalance using sampling and threshold tuning, and build ensemble classifiers (AdaBoost, Gradient Boosting, Random Forest).
- Explain the MapReduce model and write PySpark pipelines using RDD transformations and actions on real datasets.
- Apply Locality-Sensitive Hashing to find approximate nearest neighbors in large collections, and compute PageRank using power iteration.
- Implement the Apriori algorithm for frequent itemset mining and use Bloom Filters for approximate membership testing in data streams.
Course Resources & Mini-Project
Assessment
| Component | Weight | Details |
|---|---|---|
| Weekly Tutorials (6) | 30% | One .py submission per week. Auto-graded and manually reviewed. Naming: dm[TT]t[RR].py. |
| Quiz 1 | 15% | After Part 1 foundations. Covers data preparation, pattern mining, classification, and validation. |
| Quiz 2 | 15% | During Part 2 under Dr. Mahendran V. Covers clustering at scale, LSH, PageRank, and streams. |
| Mini-Project | 20% | Apply Weeks 1–6 techniques to an approved public dataset in groups of 2–3. Reproducible notebook + 1-page summary. |
| End-Semester Exam | 20% | Covers the full 15-week syllabus jointly set by both instructors. |
Software Stack: numpy · pandas · scipy · scikit-learn · matplotlib · pyspark · mlxtend · datasketch · jupyter.