Professional Documents
Culture Documents
L2 5,6,7,8 Reasoning and Knowledge Representation
L2 5,6,7,8 Reasoning and Knowledge Representation
Artificial Intelligence
Contents
- Reasoning and Knowledge Representation
- Knowledge Representation
- Reasoning
- Knowledge representation via Decision tree
- Propositional Logic
- First order logic
Knowledge representation
1
2
3
Decision Tree Representation
A- sertraline (Zoloft)
B- fluvoxamine (Luvox)
Decision Tree Representation
Decision Tree Representation
Decision Tree Representation
Logic defines:
–Syntax: describes how sentences are formed in
the language (proper arrangement of words in their
places)
–Semantics: describes the meaning of sentences,
what is it the sentence refers to in the real world.
Logics
1-Proposition logic is the Simplest type of logic•
A proposition is a statement that is either true or false
• Examples:
- It is raining today.
- Food is tasty.
•Examples:
-Blue (car12) car12 is blue
-loves (Umer, salah) umer loves salah
- ?? Umer eats either apple or banana.
Logics
First order logic is more complex and objects, relations, properties
are explicit
•simple Examples:
-Blue (car12) car12 is blue
-loves (Umer, salah) umer loves salah
-eats( Umer, apple) V eats(Umer, banana) Umer eats either apple or banana.
Logics
First order logic is more complex and objects, relations, properties
are explicit
•simple Examples:
-Blue (car12) car12 is blue
-loves (Umer, salah) umer loves salah
-eats( Umer, apple) V eats(Umer, banana) Umer eats either apple or banana.
•More complex sentences:
1- Universal Quantifier
Ɐx(student(x) cricket(x)) all students like cricket