Module II
Introduction to Machine Learning
Introduction to Machine Learning
1
08/21/2025 08:37
AI vs Machine Learning vs Deep Learning: �Understanding the differences
Introduction to Machine Learning
2
08/21/2025 08:37
Artificial intelligence AI
Introduction to Machine Learning
3
08/21/2025 08:37
Machine Learning�
Lecture 0
4
08/21/2025 08:37
Introduction to ML
Machine Learning (ML) is a subset of artificial intelligence (AI) that enables systems to learn from data, identify patterns, and make decisions with minimal human intervention.
Introduction to Machine Learning
5
08/21/2025 08:37
What is Machine learning and how is it different from Deep learning ?�
Introduction to Machine Learning
6
08/21/2025 08:37
Various kind of Problems tackled using ML
Introduction to Machine Learning
7
08/21/2025 08:37
Types of Machine Learning
Introduction to Machine Learning
8
08/21/2025 08:37
Supervised Learning
Supervised learning involves training a model on a labeled dataset, where the input data is paired with the correct output. The algorithm learns to map inputs to outputs by minimizing prediction errors.
Introduction to Machine Learning
9
08/21/2025 08:37
Advantages of Supervised Machine Learning�
Introduction to Machine Learning
10
08/21/2025 08:37
Disadvantages of Supervised Machine Learning�
Introduction to Machine Learning
11
08/21/2025 08:37
Applications of Supervised Learning�
Introduction to Machine Learning
12
08/21/2025 08:37
Applications of Supervised Learning contd..�
Introduction to Machine Learning
13
08/21/2025 08:37
Unsupervised Learning�
Introduction to Machine Learning
14
08/21/2025 08:37
Note: The basic difference between the two is that Supervised Learning datasets have an output label associated with each tuple while Unsupervised Learning datasets do not.
Advantages of unsupervised machine learning
Introduction to Machine Learning
15
08/21/2025 08:37
Disadvantages of unsupervised machine learning
Introduction to Machine Learning
16
08/21/2025 08:37
Applications of Unsupervised learning�
Introduction to Machine Learning
17
08/21/2025 08:37
Introduction to Machine Learning
18
08/21/2025 08:37
Supervised vs Unsupervised Machine Learning
Parameters | Supervised machine learning | Unsupervised machine learning |
Input Data | They are trained on labeled data. | They are trained on unlabeled data. |
Computational Complexity | Simpler method | Computationally complex |
Accuracy | Highly accurate | Less accurate |
No. of classes | No. of classes is known | No. of classes is not known |
Data Analysis | Uses offline analysis | Uses real-time analysis of data |
Algorithms used | Linear and Logistics regression, KNN Random forest, multi-class classification, decision tree, Support Vector Machine, Neural Network etc. | K-Means clustering, Hierarchical clustering, Apriori algorithm etc. |
Output | Desired output is given. | Desired output is not given. |
Introduction to Machine Learning
19
08/21/2025 08:37
Training data | Use training data to infer model. | No training data is used. |
Complex model | It is not possible to learn larger and more complex models with supervised learning. | It is possible to learn larger and more complex models with unsupervised learning. |
Model | We can test our model. | We can not test our model. |
Supervision | Supervised learning needs supervision to train the model. | Unsupervised learning does not need any supervision to train the model. |
Classification | Divided into two types:
| Divided into two types:
|
Feedback | It has feedback mechanism. | It has no feedback mechanism. |
| | |
Example | Optical character recognition. | Find a face in an image. |
Reinforcement Learning Workflow�
Introduction to Machine Learning
20
08/21/2025 08:37
REINFORCEMENT LEARNING�
It is a branch of machine learning that focuses on how agents can learn to make decisions through trial and error to maximize cumulative rewards
Introduction to Machine Learning
21
08/21/2025 08:37
Agent: The decision-maker that performs actions.
Environment: The world or system in which the agent operates.
State: The situation or condition the agent is currently in.
Action: The possible moves or decisions the agent can make.
Reward: The feedback or result from the environment based on the agent’s action
Reinforcement Learning Example: Navigating a Maze�
Introduction to Machine Learning
22
08/21/2025 08:37
Types of Reinforcements in RL�
When an event, occurs due to a particular behavior, increases the strength and the frequency of the behavior. In other words, it has a positive effect on behavior.
2. Negative Reinforcement
Negative Reinforcement is defined as strengthening of behavior because a negative condition is stopped or avoided.
Introduction to Machine Learning
23
08/21/2025 08:37
Applications of RL
Introduction to Machine Learning
24
08/21/2025 08:37
Advantages of Reinforcement Learning�
Introduction to Machine Learning
25
08/21/2025 08:37
Use-cases of ML.�
1. Customer Service:
ML-powered chatbots handle routine customer inquiries, freeing up human agents for complex issues.
ML analyzes customer data to suggest relevant products or content, enhancing the shopping experience.
ML identifies the emotional tone of customer feedback, helping businesses understand customer satisfaction and address concerns.
Introduction to Machine Learning
26
08/21/2025 08:38
Use-cases of ML.�
2. Healthcare:
ML algorithms analyze medical images (X-rays, scans) and patient data to identify diseases like cancer or pneumonia.
ML speeds up the process of finding new medications by predicting how different compounds will interact.
ML helps tailor treatment plans based on individual patient characteristics and medical history.
Introduction to Machine Learning
27
08/21/2025 08:38
Use-cases of ML.�
3. Finance:
Introduction to Machine Learning
28
08/21/2025 08:39
Use-cases of ML.�
4. Marketing and Sales:
Introduction to Machine Learning
29
08/21/2025 08:39
Use-cases of ML.�
5. Manufacturing:
ML monitors equipment performance and predicts potential failures, preventing costly downtime.
ML automates the inspection process, identifying defects and improving product quality.
ML optimizes inventory management and logistics, reducing costs and improving efficiency.
Introduction to Machine Learning
30
08/21/2025 08:40
Use-cases of ML.�
6. Cybersecurity:
Introduction to Machine Learning
31
08/21/2025 08:40
Use-cases of ML.�
7. Transportation:�
Introduction to Machine Learning
32
08/21/2025 08:41
Use-cases of ML.�
8. Other Notable Use Cases:
ML powers personalized recommendations on platforms like Netflix and Spotify.
ML enables machines to understand and process human language, powering applications like voice assistants and translation tools.
ML algorithms identify objects and patterns in images, used in facial recognition, medical imaging, and more.
ML predicts energy usage patterns, helping optimize energy distribution and reduce waste.
ML is used to control and train robots for various tasks, from manufacturing to healthcare.
Introduction to Machine Learning
33
08/21/2025 08:41
Machine Learning
34
08/21/2025 08:37