Singla Lab IIT Roorkee

Teaching · Autumn 2025–26

BEC-351

Fundamentals of AI/ML

The completed 2025–26 run: eight topics from the history of the field through learning theory to linear and logistic regression.

मूलं हि शस्यं वर्धते नितान्तं
मूलं हि विद्या वर्धते नितान्तम्।
मूलं हि सर्वस्य भवन्ति मूलं
मूलं न सन्देहकृतं हि लोके॥

Just as the root is essential for the growth of a plant, the fundamentals of knowledge are crucial for its development. The root is the basis of everything; there is no doubt about this in the world.

Course information

Instructor

Jitin Singla · jsingla@bt.iitr.ac.in

Lectures

Thu · 3:00–3:55 PM
Fri · 4:05–5:00 PM

Venue

GB-003

Office hours

Tue · 4:05–5:00 PM
Room 211, BSBE Department

Discussion

Piazza

Announcements

6 Oct 2025

Re-MTE on 6 October, 5:00–6:30 PM, Room 211, BSBE Department.

1 Sep 2025

Additional class on 1 September, 4:00–5:00 PM, APJ AKB-502.

18 Aug 2025

Additional class on 19 August.

4 Aug 2025

Friday's class (8 August) is rescheduled to 5 August in the available course slot.

22 Jul 2025

HW-1 and essential reading material uploaded.

18 Jul 2025

Today's class is rescheduled to Tuesday 22 July, 4:00–5:00 PM.

15 Jul 2025

Course announcements will be posted here regularly. Email notifications will only be sent if the information is urgent.

Objectives

  • Comprehend the historical evolution and foundational concepts of AI/ML.
  • Build mathematical intuition for machine learning principles.
  • Explore core theoretical frameworks and evaluation strategies.

Prerequisites

  • Python programming
  • Basics of linear algebra and probability (reviewed in class as well)

Course content

  • Historical development and evolution of AI/ML
  • Key terminology
  • Linear algebra and probability review
  • Theoretical underpinnings of learning from data
  • How energy functions and loss functions guide model training and evaluation
  • Various loss functions
  • First-order optimization: gradient descent (GD) and stochastic gradient descent (SGD)
  • Basics of constrained optimization and its relevance in training
  • Hyperparameter tuning strategies
  • Validation techniques to assess model generalization
  • Evaluation metrics to measure and compare models
  • Bayesian inference in machine learning

Schedule

#TopicSlides / essential readingAdditionalHomework
1Course infoLecture 0The Imitation GameHW-1
2Introduction and historyLecture 1 · Trends in computeAlphaGo
3Linear algebra reviewLA notes · Norms · Quadratic functionsMatrix calculusHW-2
4Probability review (self study)Prob notes
5Learning theoryLearning theory · More notes · InequalitiesHW-3
6Energy and loss functionsEnergy-based learning
7Perceptron learning algorithmPLA notes
8Linear and logistic regressionNotesConvex optimization

Assignments

  • Assignment 1 · boilerplate code — due Thursday 9 October, 5 PM. Read the instructions carefully; the required links are embedded in the PDF. Explore the resources and troubleshoot thoroughly before contacting the instructor or TA.
  • Python is the default programming language for the course. Use it unless another language is explicitly allowed.
  • Submit via Moodle or GitHub, as specified in each assignment.
  • Honour code. Any case of copying is awarded a zero on the assignment. More severe penalties may follow.
  • Late submissions incur penalties, as announced with the assignment.

References and resources

Recommended text

  • Probabilistic Machine Learning: An Introduction, Kevin Murphy. MIT Press, 2022.

Supplementary

Watch

Evaluation

30% Continuous assessment (CWS)Quizzes and assignments
30% Mid-term exam (MTE)
40% End-term exam (ETE)

Question papers

  • Papers from this runMTE · ETE