Machine Learning Notes
Subject Overview
The third Elective-II option, covering machine learning fundamentals and evaluation metrics, regression and classification (linear regression, KNN, logistic regression, Naive Bayes), ensemble methods and clustering (bagging, boosting, decision trees, random forests, k-means, SVM, PCA), and an introduction to time series and neural networks.
Read moreShow less
A 4-credit elective theory paper.
Subject at a glance
4
Units
28
Topics
4
Credits
4
Infographics
Unit-wise Syllabus
4 units — open any unit for detailed topic-wise notes, diagrams and important exam questions
- What is machine learning
- problems/data/tools
- types of learning
- performance evaluation measures (accuracy, precision, recall, F-measure)
- error metrics
- data visualization
- linear regression
- gradient descent
- closed-form/normal equations
- features
- overfitting
- training/validation/test data
Study guide
This unit covers what machine learning is, problems, data and tools, types of learning, evaluation measures (accuracy, precision, recall, F-measure), error metrics, visualisation, linear regression, gradient descent, normal equations, features, overfitting and training, validation and test data. Implement linear regression with gradient descent to understand it.
- Classification problems and decision boundaries
- K-Nearest Neighbor
- logistic regression
- probability and classification
- Bayes optimal decisions
- Naive Bayes and Gaussian class-conditional distribution
Study guide
You study classification problems and decision boundaries, k-NN, logistic regression, probability and classification, Bayes optimal decisions and Naive Bayes with Gaussian distributions. Compare k-NN, logistic regression and Naive Bayes on one data set.
- Bagging
- decision trees and random forests
- boosting
- clustering (k-means, hierarchical agglomeration)
- Support Vector Machines
- Principal Component Analysis
Study guide
You study bagging, decision trees and random forests, boosting, clustering (k-means, hierarchical), SVMs and PCA. Understand why ensembles often beat single models.
- Time series analysis
- Markov models
- autoregressive models
- introduction to neural networks and deep learning
Study guide
You study time series analysis, Markov models, autoregressive models and an introduction to neural networks and deep learning. Forecast a simple time series.
Why Machine Learning Matters
Machine learning is the most in-demand technical skill area in the world, and M.Sc IT graduates with solid ML and project experience have strong career options.
How to Prepare for Machine Learning
- Build projects on real data sets and share them on GitHub.
- Always evaluate on held-out data.
- Learn scikit-learn and read its documentation.
Machine Learning: Frequently Asked Questions
What is overfitting?
Overfitting is when a model fits the training data too closely, including noise, and performs poorly on new data.
