Introduction to Ai and Production Systen
Introduction to Ai and Production Systen
PRODUCTION SYSTEN
INTRODUCTION TO AI
• It is a branch of Computer Science that pursues creating the computers
or machines as intelligent as human beings.
• It is the science and engineering of making intelligent machines,
especially intelligent computer programs.
• Definition : Artificial Intelligence is the study of how to make
computers do things, which, at the moment, people do better.
• According to the father of Artificial Intelligence, John McCarthy, it is
“The science and engineering of making intelligent machines,
especially intelligent computer programs”.
PROBLEM FORMULATION
• Algorithm
• If the initial state is the goal state, quit and return success.
• Otherwise do the following until success or failure is signaled:
a) Generate a successor, E, of initial state. If there are no more successor,
signal failure.
b) Call depth first search, with E as the initial state.
c) If the success is returned, signal success. Otherwise continue in this loop.
CHARACTERISTICS OF PRODUCTION SYSTEM
• Simplicity : Due to the use of the IF THEN structure, each sentence is unique in the
production system. This uniqueness makes the knowledge representation simple to
enhance the readability of the production rules.
• Modularity : The knowledge available is coded in discrete pieces by the production
system ,which makes it easy to add ,modify , or delete the information without any
side effects.
• Modifiability : This feature allows for the modification for the production rules. The
rules are first defined in the skill skeletal form and then modified to suit an
application.
• Knowledge intensive : As the name suggests, the system only stores knowledge. All
the rules are written in English language. This type of Representation solves the
semantics problem.
CLASIFICATION PRODUCTION SYSTEM
• Monotonic Production System (MPS): The Monotonic production
system (MPS) is a system in which the application of a rule never
prevents later application of the another rule that could also have been
applied at the time that the first rule was selected.
• Non-monotonic Production (NMPS): The non-monotonic production
system is a system in which the application of a rule prevents the later
application of the another rule which may not have been applied at the
time that the first rule was selected, i.e. it is a system in which the above
rule is not true, i.e. the monotonic production system rule not true.
PRODUCTION SYSTEM CHARACTERISTICS
• Constraints: Constraints are the rules that control how variables interact with
one another. The ranges of acceptable values for variables are determined by
constraints in a CSP. The different types of constraints include unary
constraints, binary constraints, and higher-order constraints, to mention a few.
For example, in a sudoku puzzle, the limitations might be that only one of each
number from 1 to 9 can appear in each row, column, and 3*3 boxe.
CONSTRAINT SATISFACTION PROBLEMS (CSP)
• Constraint Satisfaction Problems (CSP) representation:
• The finite set of variables V1, V2, V3 ……………..Vn.
• Non-empty domain for every single variable D1, D2, D3 …………..Dn.
• The finite set of constraints C1, C2 …….…, Cm. where each constraint Ci restricts the
possible values for variables,e.g., V1 ≠ V2
• Each constraint Ci is a pair <scope, relation>
• Example: <(V1, V2), V1 not equal to V2>
• Scope = set of variables that participate in constraint.
• Relation = list of valid variable value combinations.
• There might be a clear list of permitted combinations.
• Perhaps a relation that is abstract and that allows for membership testing and listing.
IMPORTANT QUESTIONS
1. Define AI. Discuss about the AI techniques in details.
2. What is production system? Explain its components in details with its types.
3. Discuss about the problem characteristics in details.
4. What is Hill Climbing? Explain about DFS and BFS with suitable example.
5. What are the various application of AI.
6. Define state space search. Illustrate with an example.
7. Describe different classes of production system.
8. Explain BFS and DFS algorithm.
9. How to overcome the Hill Climbing problem.