This Machine Learning (Theory & Lab) (CSE473 / CSP473) course content is designed for undergraduate students in the Department of Computer Science and Engineering at Sharda University. The course provides a comprehensive foundation in Machine Learning concepts, mathematical foundations, learning algorithms, and real-world data-driven applications. It is structured into five major units: Unit 1: Core Concepts of Machine Learning, covering the ML mindset, problem framing, learning scenarios, data preparation and feature engineering; Unit 2: Supervised Learning Algorithms β Part One, focusing on linear regression, gradient descent, regularization (Ridge & Lasso), logistic regression and LDA; Unit 3: Supervised Learning Algorithms β Part Two, covering Support Vector Machines, Artificial Neural Networks with backpropagation, Decision Trees (ID3) and Random Forests; Unit 4: Unsupervised Learning, covering clustering methods, k-Means, Gaussian Mixture Models and Principal Component Analysis; and Unit 5: Parameter Estimation, Model Evaluation and Ensemble Methods, highlighting maximum likelihood estimation, cross-validation, the ROC curve, and ensemble techniques (bagging, boosting, stacking). The lab component (CSP473) complements theoretical concepts through hands-on implementation using Python, Google Colab, and open-source ML libraries such as scikit-learn, NumPy, Pandas, Matplotlib and TensorFlow/Keras, enabling students to build and evaluate learning models. Students gain practical experience in algorithm design, model development, and solving real-world ML problems through a course project. The course is supported by structured lecture notes, reference books, additional PPTs and study material links, assignments, lab experiments, and evaluation schemes, ensuring a balanced approach to both conceptual understanding and practical skill development.
π Syllabus (CSE473 - Theory)
-
Unit 1: Core Concepts of Machine Learning
- A. What is Machine Learning? The ML mindset; ML problem framing (common ML problems, use cases, identifying good vs hard ML problems); ML applications (image & speech recognition, medical diagnosis, statistical arbitrage, learning associations); standard learning tasks (classification, regression, ranking, clustering, dimensionality reduction / manifold learning)
- B. Learning stages (features, labels, hyperparameters, validation & test samples, loss function, hypothesis tests); learning scenarios (supervised, unsupervised, semi-supervised, transductive inference, online, reinforcement, active learning); generalization
- C. Data preparation & feature engineering; data preprocessing & data quality; data cleaning (missing values, noisy data); data integration; data reduction (attribute subset selection, histograms, sampling, aggregation); data transformation & discretization (normalization, binning, concept hierarchy)
-
Unit 2: Supervised Learning Algorithms - Part One
- A. How supervised learning algorithms work; biasβvariance trade-off; function complexity vs amount of training data; dimensionality of the input space; noise in output values; data heterogeneity, redundancy, interactions and non-linearities
- B. Linear Regression: model representation, simple linear regression, ordinary least squares, gradient descent; regularization / shrinkage (Lasso & Ridge), overfitting; cost function, feature scaling, normalization, learning rate, convergence test
- C. Logistic Regression: the logistic model, odds, odds ratio & logit; model fitting (IRLS, goodness of fit, limitations); Linear Discriminant Analysis (LDA); applications (bankruptcy prediction, face recognition, marketing, biomedical studies)
-
Unit 3: Supervised Learning Algorithms - Part Two
- A. Support Vector Machines: linear SVM (hard-margin, soft-margin), non-linear classification, computing the SVM classifier (primal, dual, kernel trick), sub-gradient & coordinate descent, empirical risk minimization, hinge loss, parameter selection
- B. Artificial Neural Networks: feed-forward network functions, weight-space symmetries; network training & parameter optimization; gradient descent optimization; error backpropagation and its efficiency
- C. Decision Tree Learning: tree representation, ID3 algorithm, entropy, information gain, overfitting & validation, pruning; Random Forests: bagging, from bagging to random forests, extra trees, variable importance
-
Unit 4: Unsupervised Learning
- A. What is unsupervised learning?; clustering methods (Euclidean-distance based, probability based, hierarchical clustering)
- B. k-Means clustering algorithm (naive k-means, initialization methods); applications (vector quantization, cluster analysis, feature learning); Gaussian Mixture Models; ExpectationβMaximization method
- C. Principal Component Analysis (first & further components, covariances, dimensionality reduction, SVD); properties & limitations of PCA; computing PCA via the covariance method; typical applications
-
Unit 5: Parameter Estimation, Model Evaluation and Ensemble Methods
- A. Parameter Estimation: point estimation, Maximum Likelihood Estimation, unbiased estimation, confidence intervals (one mean, two means, variances)
- B. Model Evaluation: holdout set validation, cross-validation, leave-one-out, random subsampling, teach-and-test, bootstrapping; the ROC curve
- C. Ensemble Methods: ensemble theory & size; voting and averaging based methods; boosting, weighted average, stacking, bagging and bootstrap aggregating
Syllabus (CSP473 - Lab)
-
Unit 1: Core Concepts of Machine Learning
- 1. Understanding problem solving through Machine Learning and problem identification. [CO1]
- 2. State-of-the-art review of tools used in Machine Learning experiments and project development. [CO1]
- 3. Write a program to load and view a dataset file. [Iris dataset] [CO1]
- 4. Implement simple linear regression using the housing price prediction problem. [California Housing dataset] [CO1]
- 5. Implement binary logistic regression using the cancer identification problem. [Breast Cancer Wisconsin dataset] [CO2]
-
Unit 2: Supervised Learning Algorithms - Part One
- 6. Implement the Gradient Descent algorithm to optimize model parameters and visualize convergence of the cost function. [California Housing dataset] [CO2]
- 7. Investigate the effect of learning rate and number of iterations on Gradient Descent convergence. [California Housing dataset] [CO2]
- 8. Implement Ridge and Lasso regularized linear regression and compare their performance with standard linear regression. [California Housing & Breast Cancer Wisconsin datasets] [CO2]
- 9. Develop a regularized logistic regression model and analyze the impact of regularization strength on classification accuracy. [California Housing & Breast Cancer Wisconsin datasets] [CO2]
-
Unit 3: Supervised Learning Algorithms - Part Two
- 10. Implement a Support Vector Regression (SVR) model, compare different kernel functions, and evaluate using MAE, MSE and RΒ² score. [California Housing / UCI Diabetes dataset] [CO3]
- 11. Design and train an Artificial Neural Network using the Backpropagation algorithm; analyze the effect of network architecture, activation functions and learning rate. [MNIST / Fashion-MNIST dataset] [CO3]
- 12. Demonstrate the working of the decision tree based ID3 algorithm and classify a new sample. [Play Tennis / Iris dataset] [CO3]
- 13. Demonstrate the working of the Random Forest algorithm and classify a new sample. [Wine / Breast Cancer dataset] [CO3]
-
Unit 4: Unsupervised Learning
- 14. Implement the K-Means clustering algorithm using an appropriate dataset. [Iris / Mall Customers dataset] [CO4]
-
Unit 5: Model Evaluation, Ensemble Methods & Course Project
- 15. Split data into training, cross-validation and testing sets; evaluate model performance using Hold-Out and k-Fold Cross-Validation. [Iris dataset] [CO5]
- 16. Implement an Ensemble Learning approach (Bagging, Boosting or Stacking) by combining models to solve a time-series prediction problem. [California Housing / UCI Bike Sharing Demand dataset] [CO5]
- 17. Perform statistical hypothesis testing (t-test, Chi-square, ANOVA or Mann-Whitney U) and interpret the results using Python statistical libraries. [Tips / Titanic / Iris dataset] [CO5]
- 18. Course Project Evaluation β three reviews (Problem Statement, Design Specification, Development & Results). [CO6]
π Evaluation Schemes
| Component | Theory (CSE473) | Lab (CSP473) |
|---|---|---|
| Total Weightage | 100% (CA: 25% + ETE: 75%) | 100% (CA: 30% + CE: 30% + ETE: 40%) |
| Continuous Assessment (CA) |
β’ Internal Assessment 1 (Units 1 & 2) β’ Internal Assessment 2 (Units 3 & 4) β’ Assignment 1 (Units 1 & 2) β’ Assignment 2 (Units 3, 4 & 5) |
β’ Practical Records File β’ Performance in Experiments (In-Class) β’ Viva-Voce (throughout semester) |
| Continuous Evaluation (CE) | Included within ETE | 30% β Course Project (Implementation, Working Source Code & Results) |
| End Term Examination (ETE) | 75% | 40% (External Practical Exam) |
π Lectures
Theory lecture materials will be uploaded unit-wise as the course progresses. Please go through and review all the lecture content and additional materials carefully. If you have any doubts, post them using the βPost Doubtβ option.
Unit 1: Core Concepts of Machine Learning
- π Lecture-1 PPT on Introduction to Machine Learning & ML Problem Framing
- π Lecture-2 PPT on Learning Scenarios, Data Preparation & Feature Engineering
- π Reference Book-1: Chapter-1, "Pattern Recognition and Machine Learning", C. M. Bishop, Springer, 2006.
- π Reference Book-2: "Foundations of Machine Learning" (2nd Ed.), Mohri, Rostamizadeh & Talwalkar, MIT Press, 2018.
Unit 2: Supervised Learning Algorithms - Part One
- π Lecture-1 PPT on Linear Regression, Ordinary Least Squares & Gradient Descent
- π Lecture-2 PPT on Regularization (Ridge & Lasso), Logistic Regression & LDA
- π Reference Book-1: Chapters 3 & 4, "Pattern Recognition and Machine Learning", C. M. Bishop, Springer, 2006.
- π Additional Reference: Machine Learning teaching material by Dr. Tom Rainforth, University of Oxford (for the mathematical background).
Unit 3: Supervised Learning Algorithms - Part Two
- π Lecture-1 PPT on Support Vector Machines & Artificial Neural Networks (Backpropagation)
- π Lecture-2 PPT on Decision Tree Learning (ID3) & Random Forests
- π Reference Book-1: Chapters 5 & 7, "Pattern Recognition and Machine Learning", C. M. Bishop, Springer, 2006.
- π Additional Reference PPT on "Neural Networks" by Dr. Tom Rainforth, University of Oxford.
Unit 4: Unsupervised Learning
Unit 5: Parameter Estimation, Model Evaluation & Ensemble Methods
π§ͺ Machine Learning Lab (CSP473)
π‘ Note: In the ML Lab, we will be using tools like Python and Google Colab, including various ML and DL libraries such as scikit-learn, NumPy, Pandas, Matplotlib, Seaborn and TensorFlow/Keras to perform the experiments.
π List of Experiments
Find the list of lab experiments with instructions and notes.
π View Experimentsπ Lab Manual
Download the official ML Lab Manual for complete guidelines.
β¬οΈ Download Lab Manualπ€ Lab Submissions
Please submit your lab reports and code files using your respective group link.
π¨βπ» Submission Link for Group 1 π©βπ» Submission Link for Group 2π Assignments
π Common Instructions
- All assignments must be submitted before the due date.
- Upload your solution in PDF format.
- Plagiarism will not be tolerated.
- Late submissions may not be accepted.
- All assignments must be handwritten. Answers and solutions should be presented in a clear, step-by-step illustrative manner. Running text format will not be accepted.
- Students may be asked to explain their answers and solutions while obtaining the instructorβs signature. Grades will be awarded based on the explanation and understanding demonstrated.
- If any AI tools (such as GPTs) are used in preparing the assignment, students must also submit the complete script or prompt history along with the assignment.
π Assignment 1: Based on Unit-1 and 2
Due Date: To be announced
- All questions are compulsory.
- Prepare and submit as a single PDF file.
- Submit scanned handwritten PDF document using the link mentioned below.
π Submit Here
π Assignment 2: Based on Unit-3, 4 and 5
Due Date: To be announced
- All questions are compulsory.
- Include clear reasoning steps.
- Submit scanned handwritten PDF document using the link mentioned below.
π Submit Here
β Post Your Doubts
Please fill in your details and doubt. Your submission will be recorded securely.
π Important Dates
- Assessment 1: To be announced (Units 1 & 2)
- Assessment 2: To be announced (Units 3 & 4)
- Assignment 1: To be announced (Units 1 & 2)
- Assignment 2: To be announced (Units 3, 4 & 5)
- Mid Semester Exam: As per University Schedule
- End Semester Exam: As per University Schedule
- Practical Records File: Ongoing (Weekly Check)
- Performance in Experiments: Continuous (In-Class)
- Course Project: Three Reviews β dates to be announced
- Viva-Voce: Throughout Semester
- End Semester Lab Exam (External): As per University Schedule
π Course Feedback
π‘ Your feedback is extremely valuable in improving the course content and teaching effectiveness. Please take a few minutes to share your thoughts and suggestions with me.
π Fill Out the Feedback FormThanks From Your Course Instructor
Dear Students,
Thank you for your active participation in the course.
Your enthusiasm, curiosity, and commitment make this learning journey inspiring.
Keep asking questions, keep exploring, and never stop learning!
β Dr. Gopal Chandra Jana
(Course Instructor)