0% found this document useful (0 votes)
16 views13 pages

SL-Week01

The document outlines a course on Reinforcement Learning taught by Dr. Mayar Aly, covering its principles, applications, advantages, and disadvantages. Reinforcement Learning is a machine learning technique focused on decision-making to maximize rewards without predefined answers. The course includes assessments such as quizzes, lab assignments, a midterm exam, and a final exam.

Uploaded by

w16687118
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views13 pages

SL-Week01

The document outlines a course on Reinforcement Learning taught by Dr. Mayar Aly, covering its principles, applications, advantages, and disadvantages. Reinforcement Learning is a machine learning technique focused on decision-making to maximize rewards without predefined answers. The course includes assessments such as quizzes, lab assignments, a midterm exam, and a final exam.

Uploaded by

w16687118
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Spring 2025

Selected Labs in AI

Reinforcement Learning
Course Information
Instructor:

Dr. Mayar Aly

Course Assessment :
Quizzes – Lab Assignments
Midterm Exam - Final Exam

2
Introduction
Computer Science

AI One aspect of it Machine


Learning

Technique
Learning
th er e
n o iqu
A chn
Te
CNN One approach Deep Enhanced NN
of it Learning version

3
4
Machine Learning
• Learning Approaches

• Supervised • Un-Supervised
• With teacher • Without teacher

Structured Data Un-Structured Data


• i.e. housing
• Images
example
• Audio
• Size: 150
• Text: abcabcabc...
• Age: 40
5
Reinforcement Learning
• Reinforcement learning is an area of Machine Learning.
• It is about taking suitable action to maximize reward in a
particular situation.
• It is employed by various software and machines to find the
best possible behavior or path it should take in a specific
situation.
• Reinforcement learning differs from supervised learning in a
way that in supervised learning the training data has the answer
key with it so the model is trained with the correct answer itself
whereas in reinforcement learning, there is no answer but the
reinforcement agent decides what to do to perform the given
task.
6
Reinforcement Learning
• Reinforcement Learning (RL) is the science of decision making.

• Data is not part of the input that we would find in supervised or


unsupervised machine learning.

• Reinforcement learning uses algorithms that learn from


outcomes and decide which action to take next.

• After each action, the algorithm receives feedback that helps it


determine whether the choice it made was correct, neutral or
incorrect. It is a good technique to use for automated systems
that have to make a lot of small decisions without human
guidance. 7
Example

8
Example
• Input: The input should be an initial state from which
the model will start
• Output: There are many possible outputs as there are
a variety of solutions to a particular problem
• Training: The training is based upon the input, The
model will return a state and the user will decide to
reward or punish the model based on its output.
• The model keeps continues to learn.
• The best solution is decided based on the maximum
reward.
9
Applications of Reinforcement Learnings

1. Robotics: Robots with pre-programmed behavior


are useful in structured environments, such as the
assembly line of an automobile manufacturing
plant, where the task is repetitive in nature.
2. A master chess player makes a move. The choice
is informed both by planning, anticipating
possible replies and counter replies.
3. An adaptive controller adjusts parameters of a
petroleum refinery’s operation in real time.

10
Advantages of Reinforcement learning
1. Reinforcement learning can be used to solve very complex problems that
cannot be solved by conventional techniques.
2. The model can correct the errors that occurred during the training
process.
3. In RL, training data is obtained via the direct interaction of the agent with
the environment
4. Reinforcement learning can handle environments that are non-
deterministic, meaning that the outcomes of actions are not always
predictable. This is useful in real-world applications where the
environment may change over time or is uncertain.
5. Reinforcement learning can be used to solve a wide range of problems,
including those that involve decision making, control, and optimization.
6. Reinforcement learning is a flexible approach that can be combined with
other machine learning techniques, such as deep learning, to improve
11 performance.
Disadvantages of Reinforcement learning

1. Reinforcement learning is not preferable to use for solving


simple problems.
2. Reinforcement learning needs a lot of data and a lot of
computation.
3. Reinforcement learning is highly dependent on the quality
of the reward function. If the reward function is poorly
designed, the agent may not learn the desired behavior.
4. Reinforcement learning can be difficult to debug and
interpret. It is not always clear why the agent is behaving
in a certain way, which can make it difficult to diagnose
and fix problems.
12

You might also like