Indian Institute of Information Technology, Allahabad

Introduction to Machine Learning

July-Dec 2026 Semester


Course Information

Course Description: In this course, students learn the concepts of machine learning and practice them in python.

Course Outline:

  • Unit 1: Unit I — Regression and Generalized Linear Models: Introduction to Machine Learning, Learning Paradigms and the ML Workflow. Linear Regression - Least-Squares Cost, Normal Equations and Probabilistic Interpretation. Gradient Descent - Batch, Stochastic and Mini-Batch Gradient Descent. Locally Weighted Regression. Logistic Regression - Sigmoid Function, Log-Likelihood and Newton’s Method. The Exponential Family and Generalized Linear Models - Linear, Logistic and Softmax Regression. Regularization Techniques - Ridge and Lasso Regression. Model Evaluation - Overfitting, Bias-Variance Tradeoff, Cross-Validation and Regression Metrics including MSE, MAE and R2
  • Unit II — Generative Learning, SVMs, and Ensemble Methods: Generative and Discriminative Learning Approaches. Gaussian Discriminant Analysis. Maximum Likelihood Estimation (MLE) and Maximum A Posteriori (MAP) Estimation, Bayesian Priors. Näıve Bayes Classification. Support Vector Machines. k-Nearest Neighbors. Decision Trees - Entropy, Information Gain and Pruning. Ensemble Methods - Bagging, Random Forests and AdaBoost. Classification Evaluation Metrics - Confusion Matrix, Precision, Recall, F1-Score, ROC and AUC.
  • Unit III — Artificial Neural Networks and Introduction to Deep Learning: Perceptron and Its Limitations, Multi-Layer Perceptron, Activation Functions - Sigmoid, Tanh, ReLU and Softmax. Forward Propagation and Backpropagation Algorithm using Chain Rule. Loss Functions and Softmax Cross-Entropy Loss. Weight Initialization Techniques, Optimization using SGD, Momentum and Adam Optimizer. Regularization Techniques - Dropout, Early Stopping and Weight Decay. Introduction to Deep Learning - Overview of Convolutional Neural Networks including Convolution, Pooling, Basic CNN Architecture and Applications in Computer Vision.
  • Unit IV — Unsupervised Learning and Dimensionality Reduction: k-Means Clustering and Its Objective Function. Gaussian Mixture Models and Expectation-Maximization (EM) Algorithm with Intuitive Treatment. Principal Component Analysis (PCA) using Eigenvalue Decomposition and Singular Value Decomposition (SVD) for Compression and Visualization. Introduction to Reinforcement Learning: Agent, Environment, States, Actions, Rewards, Exploration versus Exploitation, Markov Decision Process Concepts and Q-Learning. Applications in Games, Robotics and Autonomous Systems.

Course Instructor

Dr. Shiv Ram Dubey

TAs

  • Vivek Singh - RSI2026001
  • Priyam Pandey - RSI2022510
  • S Gokul Raj - PMM2024002
  • Preyesh Nandkumar Parab - MML2025007
  • Sambhav Goel - MHC2025002
Class Schedule (Section C)
Class: Thursday 11:00 am - 01:00 pm and Friday 02:30 pm - 03:30 pm, Lab: Thursday 02:30 pm - 04:30 pm
Course Ethics
  • Students are strictly advised to avoid the unethical practices in the course including tests and practice components.
  • It is best to try to solve problems on your own, since problem solving is an important component of the course.
  • You are allowed to discuss class material, problems, and general solution strategies with your classmates. But, when it comes to formulating or writing solutions you must work/implement by yourself.
  • You are not allowed to take the codes from any source, including online, books, your classmate, etc. in the assignments and exams.
  • You may use free and publicly available sources (at idea level only), such as books, journal and conference publications, web pages, AI Tools as research material for your answers with proper credit.
  • You may not use any paid service and you must clearly and explicitly cite all outside sources and materials that you made use of.
  • Students are not allowed to post the code/report/any other material of course assignment/project in public domain or share with any one else without written permission from course instructors.
  • We consider the use of uncited external sources as portraying someone else's work as your own, and as such it is a violation of the Institute's policies on academic dishonesty.
  • Instances will be dealt with harshly and typically result in a failing course grade.
  • Cheating cases will attract severe penalties.

Schedule

Lecture Topic Class Material
L01 Introduction Slide
L02 Maximum Likelihood Estimation Slide
L03 Linear Regression Slide
L04 Gradient Descent Slide
L05 Train Test Split and Cross-Validation Slide
L06 Bias Variance and Regularization Slide
L07 Bayesian Classification Slide
L08 Logistic Regression and Linear Classification Slide
L09 Support Vector Machine Slide
L10 k-Nearest Neighbors Slide
L11 Decision Trees Slide
L12 Ensemble Methods Slide
L13 Neural Networks Slide
L14 Activation Functions Slide
L15 Weight Initialization Slide
L16 Optimization Slide
L17 Regularization Slide
L18 Convolutional Neural Networks Slide
L19 k-Means Clustering Slide
L20 Gaussian Mixture Model Slide
L21 Principal Component Analysis Slide
L22 Reinforcement Learning Slide

Computational Projects Added to Teaching Laboratories

Project ID Team Project Title
IML26-P01 Samir Kumar IIT2024274, Shaurya Bhardwaj IIT2024251, Piyush Patel IIT2024268, Gunda Purna Chandra Sekhar IIT2024257 Frozen CNN Features for Four-Class Chest X-Ray Classification: A 100-Run Comparison of Backbones, Activations and Optimizers
IML26-P02 Joshith IIT2024237, G Mani Koushik IIT2024260, K Shiva Krishna IIT2024222, Ashish Bairwa IIT2024261 Explainable AI-Generated Image Detection Using Multi-Branch CNNs and Grad-CAM++
IML26-P03 Aniket Gautam IIT2024253, Arghya Shubhshiv IIT2024236, Krish Garg IIT2024238, Adarsh Tiwari IIT2024256 Character Transformers versus Kneser–Ney n-grams for Restoring Ancient Texts Across Writing Systems
IML26-P04 Het Patel IIT2024229, Vraj Chalodiya IIT2024241, Aadi Gosrani IIB2024005, Shikhar Gautam IIT2024220 Stock Price Movement Prediction: An Analysis of News Sentiment and Time-Lag Effects
IML26-P05 Manas Singh IIB2024014, Jalendu Pandey IIB2024034, Himansh Arora IIB2024025, Priti Yadav IIT2024219 Comparing Classical Machine Learning, Transfer Learning, and a Custom CNN for Multi-Label Spinal Lesion Recognition in Radiographs
IML26-P06 Neel Ghule IIT2024266, Chandan Sapkale IIT2024258, Paras Pandey IIT2024235, Kavyan Hembrom IIT2024245 Pothole Detection for Road Auditing: Hand-Crafted and Deep Features Across Countries
IML26-P07 Devansh Rai IIB2024006, Swijal Gedam IIB2024040, Ujwal B.S. IIB2024045, Aryan Kumar IIB2023030 Explainable Music Genre and Mood Classification Using Audio Features
IML26-P08 Adith N Reganti IIT2024249, Anubhav Sharma IIT2024234, Soham Donode IIT2024259, Aryan Degama IIB2024023 Classical Machine Learning for Cross-Subject Human Activity Recognition on the HARTH Accelerometer Dataset
IML26-P09 Shivam Yogesh Mishra IIT2024215, Aditya Tiwari IIT2024255, Rehan Farishta IIT2024267, Aryan Srivastava IIT2024501 When ML Models Go Wrong: Detecting and Adapting to Distribution Shift in Real-World Data
IML26-P10 Aviral Awasti IIB2024019, Abhilasha Sharma IIB2024501, Gauri Joshi IIB2024003, Malhar Udmale IIB2024020 Exploring Fine-Tuning beyond LoRA. Introduction to Null Space Projection for Large Language Models
IML26-P11 Paras Bansal IIT2024221, Chunit Bansal IIT2024233, Agam Ghotra IIT2024226, Jashan Goyal IIT2024223 VeriVox: Precision Acoustic Forensics and Synthetic Speech Detection via Attention-Augmented CRNN and Multi-Model Baselines
IML26-P12 Archee Jaiswal IIB2024022, Mode Rithwika Naidu IIB2024021, Geethika Gorakala IIB2024024, Mogal Saith Sumayya IIB2024032 Multi-Level Driver Drowsiness Detection Using Hybrid Facial Features and Machine Learning
IML26-P13 Banavathu Sravanthi IIT2024254, B. Kavya Sri IIB2024007, B. Bhargavi IIB2024011, Pranathi Kotha IIB2024044 ICU Patient Risk Scoring with Gradient-Based Counterfactual Recourse
IML26-P14 Mridankan Mandal IIB2024017, Aditya Pachauri IIB2024001, Dhannu Ram Meena IIB2024033, Ankit Ekka IIB2024012 MicroBiConvLSTM: A Lightweight Efficient Model for Human Activity Recognition on Resource Constrained Devices
IML26-P15 Baby Bhavya IIT2024271, Ramkumar IIT2024270, Shivani IIT2024275, Rakhi Chauhan IIT2024269 Explainable Machine Learning for Urban Heat Island Mitigation and Tree-Canopy Prioritization in Prayagraj
IML26-P16 Haneesh IIB2024026, Praneel IIB2024029, Vikas IIB2024036, Priyanshu IIB2024037 CivicFix: Pothole Segmentation, Depth-Aware Severity Estimation and Municipal Repair Prioritization from Citizen Photos
IML26-P17 Saransh Gupta IIB2024030, Sridhar Adabala IIT2024218, Ayush Anand IIT2024246, Sayan Samajpati IIB2024013 Auditing Fairness and Bias in Classical Machine Learning Models for Income Prediction
IML26-P18 Tanish IIB2024035, Saksham IIB2024042, Touqeer IIB2024015, Bendram Anjan Shiva Reddy IIT2024265 Pose-Aware Learned Score Fusion for Face Verification under Pose Variation
IML26-P19 Krish Dhaked IIB2024008, Himanshu Vitthalani IIB2024009, Mayank Kumar Jha IIB2024010, Abhishek Prasad IIB2024002 Reading the Alphabet by Hand: Sign Language Recognition with a Convolutional Network Built from Scratch in C
IML26-P20 Arshiya Mahammad IIT2024273, Shravani Math IIT2024216, Sathvik IIT2024263, Chauhan Palchhin IIB2024028 Cross-Country Recession Early Warning: A Leakage-Safe Walk-Forward Evaluation Framework
IML26-P21 Sahil Saini IIB2024041, Sourabh Singh Rawat IIB2024018, Bhupender IIB2024027, Kostubh Birla IIB2024043 IQRO: An Offline-First, Intent-Preserving Machine-Learning System for Search Query Enhancement
IML26-P22 Mohammad Afzal IIB2024031, Shaurya Raj Mallick IIT2024250, Khushi Shorey IIT2024244, Abdul Azeem Ansari IIT2024243 ParkSight: Forecasting Parking Violations from Enforcement Data
IML26-P23 Shon Waghchoure IIT2024247, Vandita Jain IIT2024228, Nitya Varma IIT2024217, Murari Kandagatla IIT2024252 Skin-Audit: How Much of a Skin-Lesion Classifier’s AUC Survives Leakage and Shortcut Checks?
IML26-P24 Anuj IIT2024231, Prince Raj IIT2024232, Himanshu IIT2024230, Rishit Balaji IIT2024242 TerraCLIP: Prompt Ensembles and Robust Visual Adapters for Satellite Scene Classification
IML26-P25 Vaibhav hooda IIT2024227, Anuj Nishad IIT2024239, Uttam Pratap IIT2024248, Amar Singh IIT2024276 RoadSafeAI: An Explainable Machine Learning Framework for Traffic Accident Severity Prediction and Hotspot Analysis in India
IML26-P26 Manish Mote IIT2024262, Mohit Besetty IIT2024240, Dinesh Maila IIT2024264 Adaptive Weighting and Expert Selection for Heterogeneous Frozen Ensembles under Data Drift
IML26-P27 Lucky Raut IIB2024016, Rutwik wakale IIB2024004, Ishan Tripathi IIB2024038, Hardik singh Rana IIB2024039 Hourly Bike Rental Demand Prediction Using Weather and Temporal Features
IML26-P28 Narim Harshith IIT2024225, Banoth Goutham IIT2024272, Surendra Reddy IIT2024224 Evaluating and Improving Class-Imbalance Handling for Credit Card Fraud Detection via Plausibility-Filtered Oversampling
IML26-P29 Abhinav Kumar IIT2023218 CareCast: Online Health Prediction and Appointment Management

Grading

  • Internal (35%)
  • Mid Exam (25%)
  • End Exam (40%)

Prerequisites

  • Ability to deal with abstract mathematical concepts
  • Problem Solving
  • Computer Programming

Books/References

  • 1. Tom M. Mitchell, Machine Learning, 1st Edition, McGraw-Hill Education, 1997.
  • 2. Christopher M. Bishop, Pattern Recognition and Machine Learning, 1st Edition, Springer, 2006.
  • 3. Kevin P. Murphy, Machine Learning: A Probabilistic Perspective, 1st Edition, MIT Press, 2012.
  • 4. Hal Daume III, ́ A Course in Machine Learning, 2017.
  • 5. Trevor Hastie, Robert Tibshirani and Jerome Friedman, The Elements of Statistical Learning, 2nd Edition, Springer, 2009.
  • 6. Ethem Alpaydin, Introduction to Machine Learning, 4th Edition, MIT Press, 2020.
  • 7. Ian Goodfellow, Yoshua Bengio and Aaron Courville, Deep Learning, 1st Edition, MIT Press, 2016.

Disclaimer

The content (text, image, and graphics) used in this slide are adopted from many sources for Academic purposes. Broadly, the sources have been given due credit appropriately. However, there is a chance of missing out some original primary sources. The authors of this material do not claim any copyright of such material.