Al 304 Unit 2 Notes
Al 304 Unit 2 Notes
What to Represent:
Following are the kind of knowledge which needs to be represented in AI
systems:
o Object: All the facts about objects in our world domain. E.g., Guitars
contains strings, trumpets are brass instruments.
o Events: Events are the actions which occur in our world.
o Performance: It describe behavior which involves knowledge about how
to do things.
o Meta-knowledge: It is knowledge about what we know.
o Facts: Facts are the truths about the real world and what we represent.
o Knowledge-Base: The central component of the knowledge-based
agents is the knowledge base. It is represented as KB. The
Types of knowledge:
Following are the various types of knowledge:
1. Declarative Knowledge:
o Declarative knowledge is to know about something.
o It includes concepts, facts, and objects.
o It is simpler than procedural language.
2. Procedural Knowledge
o It is also known as imperative knowledge.
o Procedural knowledge is a type of knowledge which is responsible for
knowing how to do something.
o It can be directly applied to any task.
o It includes rules, strategies, procedures, agendas, etc.
o Procedural knowledge depends on the task on which it can be applied.
3. Meta-knowledge:
o Knowledge about the other types of knowledge is called Meta-
knowledge.
4. Heuristic knowledge:
o Heuristic knowledge is representing knowledge of some experts in a filed
or subject.
o Heuristic knowledge is rules of thumb based on previous experiences,
awareness of approaches, and which are good to work but not
guaranteed.
5. Structural knowledge:
o Structural knowledge is basic knowledge to problem-solving.
o It describes relationships between various concepts such as kind of, part
of, and grouping of something.
o It describes the relationship that exists between concepts or objects.
o
AI knowledge cycle:
An Artificial intelligence system has the following components for displaying
intelligent behavior:
o Perception
o Learning
o Knowledge Representation and Reasoning
o Planning
o Execution
AI knowledge cycle:
An Artificial intelligence system has the following components for
displaying intelligent behavior:
o Perception
o Learning
o Knowledge Representation and Reasoning
o Planning
o Execution
Q.2. Explain the various problems in representing knowledge.
Ans. The major problem in representing knowledge is the problem of
representing the facts that change as well as that do not. This is known
as frame problem In some domains, the only hard part is representing all
the facts. In others, though, figuring out which ones change is non-trivial.
Also there are several limitations of logic as a knowledge
representation scheme .
(i) Logic and theorem proving technique are monotonic in nature. The
derived axioms hold good under all circumstances. Real world is never
monotonic for information obtained is seldom complete.
(ii) Logic does not provide facilities for handling uncertainty. Every
information it deals has to be either correct or incorrect but never
partially.
(v) One major constraint in logic is that unless you are sure that a
solution exists. the search will not terminate. We will be going on adding
clause after clause but the solution will be still elusive.
(vi) Heuristics, which form the private knowledge of the experts are
difficult to be codified in logic.
For example.
Marcus was a man — man (Marcus)
The representation captures the critical fact of Marcus being a man, but
if fails to capture some of the information in the English sentence,
namely the notion of past tense.
Properties of Operators
The logical operators in propositional logic have several important
properties:
1. Commutativity:
• P∧Q≡Q∧P
• P∨Q≡Q∨P
2. Associativity:
• (P ∧ Q) ∧ R ≡ P ∧ (Q ∧ R)
• (P ∨ Q) ∨ R ≡ P ∨ (Q ∨ R)
3. Distributivity:
• P ∧ (Q ∨ R) ≡ (P ∧ Q) ∨ (P ∧ R)
• P ∨ (Q ∧ R) ≡ (P ∨ Q) ∧ (P ∨ R)
4. Identity:
• P ∧ true ≡ P
• P ∨ false ≡ P
5. Domination:
• P ∨ true ≡ true
• P ∧ false ≡ false
6. Double Negation:
• ¬ (¬P) ≡ P
7. Idempotence:
• P∧P≡P
• P∨P≡P
Which is a deduction?
A deduction is an amount you subtract from your income when you file
so you don't pay tax on it. By lowering your income, deductions lower
your tax. You need documents to show expenses or losses you want to
deduct. Your tax software will calculate deductions for you and enter
them in the right forms.