NotesBCAIntroduction to Machine Learning
UGDSE203

Introduction to Machine Learning Notes

Program:BCA
Semester:Semester 4
Credits:2
Units:2 Units

Subject Overview

The second course in the AI/ML elective stream, covering the types of machine learning, supervised learning (regression, classification, perceptrons, SVM introduction) and unsupervised learning (K-Means, hierarchical clustering, DBSCAN), performance evaluation metrics, and the ethical considerations in applying ML to real-world problems. A 2-credit elective theory paper.

Subject at a glance

2

Units

26

Topics

2

Credits

2

Infographics

Unit-wise Syllabus

2 units — open any unit for detailed topic-wise notes, diagrams and important exam questions

  • Definition
  • history and applications of machine learning
  • types of ML (supervised, unsupervised, semi-supervised, reinforcement)
  • labeled/unlabeled datasets
  • regression vs classification
  • training/validation/testing framework
  • performance metrics — confusion matrix
  • accuracy
  • precision
  • recall
  • F1 score
  • AUC
Key termsConfusion matrix metrics
Accuracy
(TP + TN) / total
Precision
TP / (TP + FP): how many predicted positives were right
Recall
TP / (TP + FN): how many actual positives were found
F1 score
Harmonic mean of precision and recall

Study guide

Machine learning lets computers learn patterns from data instead of following fixed rules. You study its definition, history and applications, the types (supervised, unsupervised, semi-supervised, reinforcement), labelled and unlabelled data, regression versus classification, the training, validation and test framework, and performance metrics: confusion matrix, accuracy, precision, recall, F1 score and AUC. Learn precision and recall with a medical-test example; it makes the trade-off clear.

Read Unit 1 notes
  • Linear and non-linear regression
  • logistic regression
  • Naive Bayes
  • K-Nearest Neighbors
  • decision trees
  • introduction to artificial neural networks
  • perceptron learning algorithm
  • single-layer perceptron
  • introduction to SVM for linearly separable data
  • K-Means
  • hierarchical clustering
  • DBSCAN
  • clustering validation measures
  • ethical considerations and real-world applications of ML
ClassificationMachine learning algorithms
Machine learning
  • Regression

    Linear and non-linear regression

  • Classification

    Logistic regression, Naive Bayes, KNN, decision trees

  • Neural networks

    Perceptron, SVM basics

  • Clustering

    K-Means, hierarchical, DBSCAN

Study guide

This unit covers the main algorithms: linear and non-linear regression, logistic regression, Naive Bayes, K-nearest neighbours, decision trees, artificial neural networks with the perceptron learning algorithm, an introduction to SVM for linearly separable data, and unsupervised methods: K-Means, hierarchical clustering, DBSCAN and cluster validation, along with ethical considerations. For every algorithm, note what problem it solves, how it learns and its main weakness.

Read Unit 2 notes

Why Introduction to Machine Learning Matters

Machine learning powers recommendation systems, fraud detection, language tools and much more, and it is one of the highest-demand skill areas worldwide. This paper is your entry point to data science and AI careers.

How to Prepare for Introduction to Machine Learning

  • Understand accuracy, precision, recall and F1 with a confusion matrix example.
  • Practise each algorithm on a small data set in Python.
  • Learn the difference between overfitting and underfitting.
  • Keep a one-page summary of when to use each algorithm.

Introduction to Machine Learning: Frequently Asked Questions

What is the difference between supervised and unsupervised learning?

Supervised learning learns from labelled examples to predict outputs, while unsupervised learning finds structure such as clusters in unlabelled data.

What is overfitting?

Overfitting happens when a model learns the training data too closely, including noise, and then performs poorly on new data.

Want the Complete Notes & Past Papers?

WhatsApp us and we'll send you the full notes, question banks, and previous year papers for Introduction to Machine Learning.