Uvuhiihijno
Uvuhiihijno
You will use the statistical optimization techniques to find out the
equation for the best fit curve here. And this is what exactly Machine
Learning is about. You use known optimization techniques to find the
best solution to your problem.
Example of Machine Learning
Spam Email Detection
Email services like Gmail use machine learning to automatically
detect spam emails. The ML model analyzes past emails marked as
spam and learns patterns like specific words, sender addresses, and
message formats. When a new email arrives, the model predicts
whether it is spam or not.
Self-Driving Cars
Self-driving cars use ML to recognize traffic signs, pedestrians, and
other vehicles. By learning from thousands of driving scenarios, the
system makes decisions like stopping at red lights and changing lanes
safely.
Voice Assistants (Siri, Alexa, Google Assistant)
These assistants use ML to understand speech, recognize commands,
and improve responses over time based on user interactions.
Simple Analogy
AI is like a teacher who knows everything and can solve
different problems.
ML is like a student who learns from examples and improves
over time.
Lecturer -2
Machine Learning – Categories of Machine Learning
Example:
Supervised learning is analogous to training a child to
walk. You will hold the child’s hand, show him how to
take his foot forward, walk yourself for a demonstration
and so on, until the child learns to walk on his own.
Email Spam Detection – Emails are labeled as "spam" or
"not spam," and the model learns to classify new emails.
Medical Diagnosis – A model is trained on patient records
to predict diseases.
Regression :
Classification
Unsupervised Learning
How it works:
Reinforcement Learning:
Definition :
Reinforcement Learning (RL) is a type of machine learning
where an agent learns to make decisions by interacting with an
environment. The agent receives rewards or penalties based
on its actions and aims to maximize the total reward over time.
How Reinforcement Learning Works
1. Agent – The learner (e.g., a robot, AI in a game).
2. Environment – The world in which the agent operates (e.g., a
chessboard, a self-driving car’s surroundings).
3. Actions (A) – The choices the agent can make.
4. State (S) – The current situation of the agent in the
environment.
5. Reward (R) – Feedback given to the agent (positive for good
actions, negative for bad actions).
6. Policy (π) – The strategy that the agent follows to choose
actions.
Ex: Consider training a pet dog, we train our pet to bring a ball
to us. We throw the ball at a certain distance and ask the dog to
fetch it back to us. Every time the dog does this right, we
reward the dog. Slowly, the dog learns that doing the job rightly
gives him a reward and then the dog starts doing the job right
way every time in future. Exactly, this concept is applied in
“Reinforcement” type of learning. The technique was initially
developed for machines to play games. The machine is given an
algorithm to analyze all possible moves at each stage of the
game. The machine may select one of the moves at random. If
the move is right, the machine is rewarded, otherwise it may be
penalized. Slowly, the machine will start differentiating between
right and wrong moves and after several iterations would learn
to solve the game puzzle with a better accuracy. The accuracy of
winning the game would improve as the machine plays more
and more games.
Deep Learning
Definition: Deep Learning is a type of machine learning that
uses artificial neural networks (ANNs) to process data and make
decisions. It is inspired by the human brain and can learn from
large amounts of data without being explicitly programmed.