Unit - 4
Unit - 4
Unit - 4
Planning:
Overview;
The Blocks Words;
Component of a Planning System:
Goal Stack Planning;
Nonlinear Planning;
Q1. What is Partial-order planning? 3no. 2022
Q2. What is Naïve Bayes?
Q1. What is a Bayesian Network and why is it important in AL? 6no.
Bayes' theorem was named after the British mathematician Thomas Bayes.
Bayes' theorem can be derived using product rule and conditional probability of
event A with known event B:
o It is used to calculate the next step of the robot when the already executed
step is given.
o Bayes' theorem is helpful in weather forecasting.
o It can solve the Monty Hall problem.
Bayesian networks:
Bayesian belief network is key computer technology for dealing with probabilistic events and
to solve a problem which has uncertainty.
A Bayesian network is a probabilistic graphical model which represents a set of variables and
their conditional dependencies using a directed acyclic graph.
It is also called a Bayes network, belief network, decision network, or Bayesian model.
Bayesian networks are probabilistic, because these networks are built from a probability
distribution, and also use probability theory for prediction and anomaly detection.
Real world applications are probabilistic in nature, and to represent the relationship between
multiple events, we need a Bayesian network.
Bayesian Network can be used for building models from data and experts opinions, and it
consists of two parts:
A Bayesian network graph is made up of nodes and Arcs (directed links), where:
Certainty Factor;
Dempster-Shafer Theory.
Dempster-Shafer Theory, also known as evidence theory, is a mathematical framework for
reasoning under uncertainty.
In this simplified environment, there are several blocks of different shapes and
sizes placed at the flat surface.
Only on block may be moved at a time: it may either be placed on the table or
placed a top another block.
Component of a Planning System:
The plan includes the following important steps:
1. Choose the best rule to apply the next rule based on the best available guess.
4. Detect dead ends so they can be discarded and the system’s effort directed in
more useful directions.
Goal Stack Planning is a planning paradigm that organizes goals into a stack.
The system starts with the top-level goal and decomposes it into subgoals.
Each subgoal is further decomposed until primitive actions are identified and
executed.
1. Initialization:
Start with the top-level goal.
Decompose the goal into subgoals.
2. Subgoal Decomposition:
Repeat the decomposition process for each subgoal.
Continue until primitive actions are identified.
3. Action Execution:
Execute the primitive actions in the order determined by the
decomposition.
4. Backtracking:
If a subgoal cannot be achieved, backtrack to the previous level of the
goal stack.
Reevaluate and modify the plan as needed.
5. Completion:
Continue executing actions and backtracking until the top-level goal is
achieved.
Nonlinear Planning;
Nonlinear Planning refers to the planning systems that do not strictly follow a
linear sequence of actions.
Unlike goal stack planning, nonlinear planning allows for more flexibility in the
order and timing to actions.
In non-linear planning, the problem is divided into sub-problems so that these
sub-problems are dependent on each other.
It is a partial ordering planning, i.e., as the action are not arranged in a specific
order.
This approach is particular useful when dealing uncertainties, dynamic
environments, or situations where the optimal order of actions is not
predetermined.
Example
In this example, the initial state is dependent on state1, state2, state3, and the final
state. State3 is dependent on state2, state1, and the final state. State2 is dependent on
the final state. Here all the states are dependent on each other to reach the final state.