SlideShare uma empresa Scribd logo
1 de 37
Unit 2: Knowledge
Representation
Dr. G.Jasmine Beulah,
Assistant Professor, Dept. Computer Science,
Kristu Jayanti College, Bengaluru
Introduction
 Knowledge Representation and Reasoning forms the backbone of any
Intelligent Behavior through Computational means.
 Human Intelligence is also driven through Knowledge.
Human beings are good at understanding, reasoning and interpreting
knowledge.
And using this knowledge, they are able to perform various actions in
the real world.
But how do machines perform the same?
Intelligent Behavior: Human Vs Artificial
• Human Intelligence
 Most Complex and Mysterious phenomenon
 Striking aspect of Intelligent behavior is that it is clearly conditioned
by knowledge.
Decisions for a wide range of activities are based on what we know
(or beliefs).
Intelligent Behavior: Human Vs Artificial
• Intelligent Behavior through Computational means:
Knowledge Representation and Reasoning is concerned with how an
agent uses what it knows in deciding what to do
 Structures for representing the knowledge
 Computational Processes for reasoning with those structures.
Definition and Importance of Knowledge
Knowledge Representation in AI describes the representation of
knowledge.
Basically, it is a study of how the beliefs, intentions,
and judgments of an intelligent agent can be expressed suitably for
automated reasoning.
One of the primary purposes of Knowledge Representation includes
modeling intelligent behavior for an agent.
Definition and Importance of Knowledge
Knowledge Representation and Reasoning (KR, KRR) represents
information from the real world for a computer to understand and then
utilize this knowledge to solve complex real-life problems like
communicating with human beings in natural language.
Knowledge representation in AI is not just about storing data in a
database, it allows a machine to learn from that knowledge and behave
intelligently like a human being.
What kind of knowledge to Represent:
The different kinds of knowledge that need to be represented in AI include:
Objects - All the facts about objects in our world domain. E.g., Guitars contains
strings, trumpets are brass instruments.
Events - Events are the actions which occur in our world.
Performance - It describe behavior which involves knowledge about how to do
things
Facts - Facts are the truths about the real world and what we represent
Meta-Knowledge It is knowledge about what we know.
Knowledge-base - - The central component of the knowledge-based agents is the
knowledge base. It is represented as KB. The Knowledge base is a group of the
Sentences (Here, sentences are used as a technical term and not identical with the
English language).
What kind of knowledge to Represent:
 How to represent Knowledge?
 How to implement the process of Reasoning?
Different Types of Knowledge
1. Declarative Knowledge:
Declarative knowledge is to know about something.
It includes concepts, facts, and objects.
It is also called descriptive knowledge and expressed in declarative sentences.
It is simpler than procedural language.
2. Procedural Knowledge
It is also known as imperative knowledge.
Procedural knowledge is a type of knowledge which is responsible for knowing how to do something.
It can be directly applied to any task.
It includes rules, strategies, procedures, agendas, etc.
Procedural knowledge depends on the task on which it can be applied.
3. Meta-knowledge:
Knowledge about the other types of knowledge is called Meta-knowledge.
4. Heuristic knowledge:
Heuristic knowledge is representing knowledge of some experts in a filed or subject.
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:
Structural knowledge is basic knowledge to problem-solving.
It describes relationships between various concepts such as kind of, part of, and grouping of something.
It describes the relationship that exists between concepts or objects
Eg: “ red” represents color red
“car1” represents my car
red(car1) represents the fact that my car is red.
Relation between Knowledge & Intelligence?
 Knowledge of real-worlds plays a vital role in intelligence
and same for creating artificial intelligence.
 Knowledge plays an important role in demonstrating
intelligent behavior in AI agents.
 An agent is only able to accurately act on some input when
he has some knowledge or experience about that input.
 Let's suppose if you met some person who is speaking in a
language which you don't know, then how you will able to
act on that.
 The same thing applies to the intelligent behavior of the
agents.
 In the diagram, there is one decision maker which act by
sensing the environment and using knowledge. But if the
knowledge part will not present then, it cannot display
intelligent behavior.
Cycle of Knowledge Representation in AI
Artificial Intelligent Systems usually consist of various components to
display their intelligent behavior. Some of these components include:
Perception
Learning
Knowledge Representation & Reasoning
Planning
Execution
Example
Perception component
The Perception component retrieves data or information from
the environment. with the help of this component, you can
retrieve data from the environment
Find out the source of noises and check if the AI was damaged
by anything.
 Also, it defines how to respond when any sense has been
detected.
Learning Component
There is the Learning Component that learns from the captured data
by the perception component.
The goal is to build computers that can be taught instead of
programming them.
Learning focuses on the process of self-improvement.
In order to learn new things, the system requires knowledge
acquisition, inference, acquisition of heuristics, faster searches, etc.
Main Component
The main component in the cycle is Knowledge Representation and
Reasoning which shows the human-like intelligence in the machines.
Knowledge representation is all about understanding intelligence.
Instead of trying to understand or build brains from the bottom up, its
goal is to understand and build intelligent behavior from the top-down
and focus on what an agent needs to know in order to behave
intelligently.
Also, it defines how automated reasoning procedures can make this
knowledge available as needed.
Planning and Execution components
The Planning and Execution components depend on the analysis of
knowledge representation and reasoning.
Here, planning includes giving an initial state, finding their
preconditions and effects, and a sequence of actions to achieve a state
in which a particular goal holds.
 Now once the planning is completed, the final stage is the execution
of the entire process.
Knowledge Based System
• A knowledge-based system (KBS) is a program that captures and uses
knowledge from a variety of sources.
• A KBS assists with solving problems, particularly complex issues, by
artificial intelligence.
• These systems are primarily used to support human decision making,
learning, and other activities.
• A knowledge-based system is a major area of artificial intelligence.
• These systems can make decisions based on the data and information
that resides in their database.
• In addition, they can comprehend the context of the data being
processed.
• A knowledge-based system is comprised of a knowledge base and an
interface engine.
• The knowledge base functions as the knowledge repository, while the
interface engine functions as the search engine.
• Learning is a key element to a knowledge-based system, and learning
simulation improves the system over time.
• Knowledge-based systems are categorized as expert systems,
intelligent tutoring systems, hypertext manipulations systems, CASE-
based systems, and databases having an intelligent user interface.
• Knowledge-based systems work across a number of applications. For
instance, in the medical field, a KBS can help doctors more accurately
diagnose diseases.
• These systems are called clinical decision-support systems in the
health industry.
• A KBS can also be used in areas as diverse as industrial equipment
fault diagnosis, avalanche path analysis, and cash management.
KBS Architecture
KBS can be RULE BASED REASONING, MODEL BASED OR CASE BASED REASONING
Knowledge module is KB
Control Module is Inference Engine
As the knowledge is represented explicitly in the knowledge base,
rather than implicitly within the structure of a program, it can be
entered and updated with relative ease by domain experts who may not
have any programming expertise.
 A knowledge engineer is someone who provides a bridge between the
domain expertise and the computer implementation.
The knowledge engineer may make use of meta-knowledge, i.e.
knowledge about knowledge, to ensure an efficient implementation.
Requirements of knowledge Representation
• A knowledge representation has the following requirements
1.It should have the adequacy or fulfillment to represent all types of
knowledge present in the domain. It is also known as
representational adequacy.
2.It should be capable enough to manipulate the representational
structure in order to derive new structures which also should be
corresponding to the new knowledge extracted from the old. It is
also referred as inferential adequacy.
3.It should be able to indulge the additional information into the
knowledge structure which can be further used to focus on
inference mechanisms in the best possible direction. It is sometimes
known as inferential efficiency.
4.It should acquire new knowledge with the help of automatic
methods rather than relying on human source. This process is
known as acquisitional efficiency.
Propositional Logic
• Propositional logic (PL) is the simplest form of logic where all the
statements are made by propositions.
• A proposition is a declarative statement which is either true or false.
• It is a technique of knowledge representation in logical and
mathematical form.
Following are some basic facts about propositional
logic:
• Propositional logic is also called Boolean logic as it works on 0 and 1.
• In propositional logic, we use symbolic variables to represent the logic, and we can use
any symbol for a representing a proposition, such A, B, C, P, Q, R, etc.
• Propositions can be either true or false, but it cannot be both.
• Propositional logic consists of an object, relations or function, and logical connectives.
• These connectives are also called logical operators.
• The propositions and connectives are the basic elements of the propositional logic.
• Connectives can be said as a logical operator which connects two sentences.
• A proposition formula which is always true is called tautology, and it is also called a valid
sentence.
• A proposition formula which is always false is called Contradiction.
• Statements which are questions, commands, or opinions are not propositions such as
"Where is Rohini", "How are you", "What is your name", are not propositions.
Syntax of propositional logic:
• The syntax of propositional logic defines the allowable sentences for
the knowledge representation. There are two types of Propositions:
• Atomic Propositions
• Compound propositions
• Atomic Proposition: Atomic propositions are the simple propositions.
It consists of a single proposition symbol. These are the sentences
which must be either true or false.
• Compound proposition: Compound propositions are constructed by
combining simpler or atomic propositions, using parenthesis and
logical connectives.
Logical Connectives:
• Logical connectives are used to connect two simpler propositions or
representing a sentence logically. We can create compound
propositions with the help of logical connectives. There are mainly
five connectives, which are given as follows:
• Negation: A sentence such as ¬ P is called negation of P. A literal can
be either Positive literal or negative literal.
• Conjunction: A sentence which has ∧ connective such as, P ∧ Q is
called a conjunction.
Example: Rohan is intelligent and hardworking. It can be written as,
P= Rohan is intelligent,
Q= Rohan is hardworking. → P∧ Q.
Logical Connectives:
• Disjunction: A sentence which has ∨ connective, such as P ∨ Q. is called
disjunction, where P and Q are the propositions.
Example: "Ritika is a doctor or Engineer",
Here P= Ritika is Doctor. Q= Ritika is Doctor, so we can write it as P ∨ Q.
• Implication: A sentence such as P → Q, is called an implication.
Implications are also known as if-then rules. It can be represented as
If it is raining, then the street is wet.
Let P= It is raining, and Q= Street is wet, so it is represented as P → Q
• Biconditional: A sentence such as P⇔ Q is a Biconditional sentence,
example If I am breathing, then I am alive
P= I am breathing, Q= I am alive, it can be represented as P ⇔ Q
Thank You

Mais conteúdo relacionado

Mais procurados

Soft Computing-173101
Soft Computing-173101Soft Computing-173101
Soft Computing-173101AMIT KUMAR
 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceRamla Sheikh
 
Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)SHUBHAM KUMAR GUPTA
 
Artificial Intelligence_ Knowledge Representation
Artificial Intelligence_ Knowledge RepresentationArtificial Intelligence_ Knowledge Representation
Artificial Intelligence_ Knowledge RepresentationThenmozhiK5
 
Introduction to Recurrent Neural Network
Introduction to Recurrent Neural NetworkIntroduction to Recurrent Neural Network
Introduction to Recurrent Neural NetworkKnoldus Inc.
 
Uncertain Knowledge and Reasoning in Artificial Intelligence
Uncertain Knowledge and Reasoning in Artificial IntelligenceUncertain Knowledge and Reasoning in Artificial Intelligence
Uncertain Knowledge and Reasoning in Artificial IntelligenceExperfy
 
Representing uncertainty in expert systems
Representing uncertainty in expert systemsRepresenting uncertainty in expert systems
Representing uncertainty in expert systemsbhupendra kumar
 
Learning by analogy
Learning by analogyLearning by analogy
Learning by analogyNitesh Singh
 
Artificial intelligence and knowledge representation
Artificial intelligence and knowledge representationArtificial intelligence and knowledge representation
Artificial intelligence and knowledge representationSajan Sahu
 
AI_ 3 & 4 Knowledge Representation issues
AI_ 3 & 4 Knowledge Representation issuesAI_ 3 & 4 Knowledge Representation issues
AI_ 3 & 4 Knowledge Representation issuesKhushali Kathiriya
 
2. forward chaining and backward chaining
2. forward chaining and backward chaining2. forward chaining and backward chaining
2. forward chaining and backward chainingmonircse2
 

Mais procurados (20)

Informed search
Informed searchInformed search
Informed search
 
AI Lecture 3 (solving problems by searching)
AI Lecture 3 (solving problems by searching)AI Lecture 3 (solving problems by searching)
AI Lecture 3 (solving problems by searching)
 
Soft Computing-173101
Soft Computing-173101Soft Computing-173101
Soft Computing-173101
 
Predicate logic
 Predicate logic Predicate logic
Predicate logic
 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial Intelligence
 
Reasoning in AI
Reasoning in AIReasoning in AI
Reasoning in AI
 
First order logic
First order logicFirst order logic
First order logic
 
Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)
 
Artificial Intelligence_ Knowledge Representation
Artificial Intelligence_ Knowledge RepresentationArtificial Intelligence_ Knowledge Representation
Artificial Intelligence_ Knowledge Representation
 
Introduction to Recurrent Neural Network
Introduction to Recurrent Neural NetworkIntroduction to Recurrent Neural Network
Introduction to Recurrent Neural Network
 
Learning in AI
Learning in AILearning in AI
Learning in AI
 
Uncertain Knowledge and Reasoning in Artificial Intelligence
Uncertain Knowledge and Reasoning in Artificial IntelligenceUncertain Knowledge and Reasoning in Artificial Intelligence
Uncertain Knowledge and Reasoning in Artificial Intelligence
 
Representing uncertainty in expert systems
Representing uncertainty in expert systemsRepresenting uncertainty in expert systems
Representing uncertainty in expert systems
 
AI Lecture 7 (uncertainty)
AI Lecture 7 (uncertainty)AI Lecture 7 (uncertainty)
AI Lecture 7 (uncertainty)
 
Learning by analogy
Learning by analogyLearning by analogy
Learning by analogy
 
Artificial intelligence and knowledge representation
Artificial intelligence and knowledge representationArtificial intelligence and knowledge representation
Artificial intelligence and knowledge representation
 
AI: AI & Problem Solving
AI: AI & Problem SolvingAI: AI & Problem Solving
AI: AI & Problem Solving
 
Expert systems
Expert systemsExpert systems
Expert systems
 
AI_ 3 & 4 Knowledge Representation issues
AI_ 3 & 4 Knowledge Representation issuesAI_ 3 & 4 Knowledge Representation issues
AI_ 3 & 4 Knowledge Representation issues
 
2. forward chaining and backward chaining
2. forward chaining and backward chaining2. forward chaining and backward chaining
2. forward chaining and backward chaining
 

Semelhante a Knowledge representation

Knowledge base system
Knowledge base systemKnowledge base system
Knowledge base systemRanjithaM32
 
AIML-M1 and M2-TIEpdf.pdf
AIML-M1 and M2-TIEpdf.pdfAIML-M1 and M2-TIEpdf.pdf
AIML-M1 and M2-TIEpdf.pdfDevikashetty14
 
DOC-20221019-WA0003..pdf
DOC-20221019-WA0003..pdfDOC-20221019-WA0003..pdf
DOC-20221019-WA0003..pdfYogeshAM4
 
DOC-20221019-WA0003..pdf
DOC-20221019-WA0003..pdfDOC-20221019-WA0003..pdf
DOC-20221019-WA0003..pdfYogeshAM4
 
Artificial intelligence Part1
Artificial intelligence Part1Artificial intelligence Part1
Artificial intelligence Part1SURBHI SAROHA
 
271_AI Lect Notes.pdf
271_AI Lect Notes.pdf271_AI Lect Notes.pdf
271_AI Lect Notes.pdfkaxeca4096
 
Artificial-Intelligence--AI And ES Nowledge Base Systems
Artificial-Intelligence--AI And ES Nowledge Base SystemsArtificial-Intelligence--AI And ES Nowledge Base Systems
Artificial-Intelligence--AI And ES Nowledge Base SystemsJim Webb
 
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS  KNOWLEDGE-BASED SYSTEMS TEACHING ...ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS  KNOWLEDGE-BASED SYSTEMS TEACHING ...
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...Arlene Smith
 
AI Mod1@AzDOCUMENTS.in.pdf
AI Mod1@AzDOCUMENTS.in.pdfAI Mod1@AzDOCUMENTS.in.pdf
AI Mod1@AzDOCUMENTS.in.pdfKUMARRISHAV37
 
5.-Knowledge-Representation-in-AI_010824.pdf
5.-Knowledge-Representation-in-AI_010824.pdf5.-Knowledge-Representation-in-AI_010824.pdf
5.-Knowledge-Representation-in-AI_010824.pdfSakshiSingh770619
 
Impacto social del desarrollo de la Inteligencia artificial(Ingles)
Impacto social del desarrollo de la Inteligencia artificial(Ingles)Impacto social del desarrollo de la Inteligencia artificial(Ingles)
Impacto social del desarrollo de la Inteligencia artificial(Ingles)kamh18
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligencesanjay_asati
 
Introduction to AI (Artificial Intelligence).
Introduction to AI (Artificial Intelligence).Introduction to AI (Artificial Intelligence).
Introduction to AI (Artificial Intelligence).amolakkumar45
 
ARtificial Intelligence Knowledge Representation.pptx
ARtificial Intelligence Knowledge Representation.pptxARtificial Intelligence Knowledge Representation.pptx
ARtificial Intelligence Knowledge Representation.pptxRanjithaM32
 

Semelhante a Knowledge representation (20)

Knowledge base system
Knowledge base systemKnowledge base system
Knowledge base system
 
UNIT 2.pdf
UNIT 2.pdfUNIT 2.pdf
UNIT 2.pdf
 
AIML-M1 and M2-TIEpdf.pdf
AIML-M1 and M2-TIEpdf.pdfAIML-M1 and M2-TIEpdf.pdf
AIML-M1 and M2-TIEpdf.pdf
 
DOC-20221019-WA0003..pdf
DOC-20221019-WA0003..pdfDOC-20221019-WA0003..pdf
DOC-20221019-WA0003..pdf
 
DOC-20221019-WA0003..pdf
DOC-20221019-WA0003..pdfDOC-20221019-WA0003..pdf
DOC-20221019-WA0003..pdf
 
Artificial intelligence Part1
Artificial intelligence Part1Artificial intelligence Part1
Artificial intelligence Part1
 
271_AI Lect Notes.pdf
271_AI Lect Notes.pdf271_AI Lect Notes.pdf
271_AI Lect Notes.pdf
 
Artificial-Intelligence--AI And ES Nowledge Base Systems
Artificial-Intelligence--AI And ES Nowledge Base SystemsArtificial-Intelligence--AI And ES Nowledge Base Systems
Artificial-Intelligence--AI And ES Nowledge Base Systems
 
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS  KNOWLEDGE-BASED SYSTEMS TEACHING ...ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS  KNOWLEDGE-BASED SYSTEMS TEACHING ...
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...
 
AI Mod1@AzDOCUMENTS.in.pdf
AI Mod1@AzDOCUMENTS.in.pdfAI Mod1@AzDOCUMENTS.in.pdf
AI Mod1@AzDOCUMENTS.in.pdf
 
5.-Knowledge-Representation-in-AI_010824.pdf
5.-Knowledge-Representation-in-AI_010824.pdf5.-Knowledge-Representation-in-AI_010824.pdf
5.-Knowledge-Representation-in-AI_010824.pdf
 
Impacto social del desarrollo de la Inteligencia artificial(Ingles)
Impacto social del desarrollo de la Inteligencia artificial(Ingles)Impacto social del desarrollo de la Inteligencia artificial(Ingles)
Impacto social del desarrollo de la Inteligencia artificial(Ingles)
 
Unit I What is Artificial Intelligence.docx
Unit I What is Artificial Intelligence.docxUnit I What is Artificial Intelligence.docx
Unit I What is Artificial Intelligence.docx
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Introduction to AI (Artificial Intelligence).
Introduction to AI (Artificial Intelligence).Introduction to AI (Artificial Intelligence).
Introduction to AI (Artificial Intelligence).
 
Ai unit-1
Ai unit-1Ai unit-1
Ai unit-1
 
UNIT I - AI.pptx
UNIT I - AI.pptxUNIT I - AI.pptx
UNIT I - AI.pptx
 
ARtificial Intelligence Knowledge Representation.pptx
ARtificial Intelligence Knowledge Representation.pptxARtificial Intelligence Knowledge Representation.pptx
ARtificial Intelligence Knowledge Representation.pptx
 
ECCAA
ECCAAECCAA
ECCAA
 
AI Lesson 01
AI Lesson 01AI Lesson 01
AI Lesson 01
 

Mais de Dr. Jasmine Beulah Gnanadurai

Mais de Dr. Jasmine Beulah Gnanadurai (20)

Data Warehouse_Architecture.pptx
Data Warehouse_Architecture.pptxData Warehouse_Architecture.pptx
Data Warehouse_Architecture.pptx
 
DMQL(Data Mining Query Language).pptx
DMQL(Data Mining Query Language).pptxDMQL(Data Mining Query Language).pptx
DMQL(Data Mining Query Language).pptx
 
Stacks.pptx
Stacks.pptxStacks.pptx
Stacks.pptx
 
Quick Sort.pptx
Quick Sort.pptxQuick Sort.pptx
Quick Sort.pptx
 
KBS Architecture.pptx
KBS Architecture.pptxKBS Architecture.pptx
KBS Architecture.pptx
 
Knowledge Representation in AI.pptx
Knowledge Representation in AI.pptxKnowledge Representation in AI.pptx
Knowledge Representation in AI.pptx
 
File allocation methods (1)
File allocation methods (1)File allocation methods (1)
File allocation methods (1)
 
Segmentation in operating systems
Segmentation in operating systemsSegmentation in operating systems
Segmentation in operating systems
 
Mem mgt
Mem mgtMem mgt
Mem mgt
 
Decision tree
Decision treeDecision tree
Decision tree
 
Association rules apriori algorithm
Association rules   apriori algorithmAssociation rules   apriori algorithm
Association rules apriori algorithm
 
Big data architecture
Big data architectureBig data architecture
Big data architecture
 
Aritificial intelligence
Aritificial intelligenceAritificial intelligence
Aritificial intelligence
 
Java threads
Java threadsJava threads
Java threads
 
Java Applets
Java AppletsJava Applets
Java Applets
 
Stacks and Queue - Data Structures
Stacks and Queue - Data StructuresStacks and Queue - Data Structures
Stacks and Queue - Data Structures
 
JavaScript Functions
JavaScript FunctionsJavaScript Functions
JavaScript Functions
 
JavaScript Operators
JavaScript OperatorsJavaScript Operators
JavaScript Operators
 
Css Text Formatting
Css Text FormattingCss Text Formatting
Css Text Formatting
 
CSS - Cascading Style Sheet
CSS - Cascading Style SheetCSS - Cascading Style Sheet
CSS - Cascading Style Sheet
 

Último

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 

Último (20)

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 

Knowledge representation

  • 1. Unit 2: Knowledge Representation Dr. G.Jasmine Beulah, Assistant Professor, Dept. Computer Science, Kristu Jayanti College, Bengaluru
  • 2. Introduction  Knowledge Representation and Reasoning forms the backbone of any Intelligent Behavior through Computational means.  Human Intelligence is also driven through Knowledge. Human beings are good at understanding, reasoning and interpreting knowledge. And using this knowledge, they are able to perform various actions in the real world. But how do machines perform the same?
  • 3. Intelligent Behavior: Human Vs Artificial • Human Intelligence  Most Complex and Mysterious phenomenon  Striking aspect of Intelligent behavior is that it is clearly conditioned by knowledge. Decisions for a wide range of activities are based on what we know (or beliefs).
  • 4. Intelligent Behavior: Human Vs Artificial • Intelligent Behavior through Computational means: Knowledge Representation and Reasoning is concerned with how an agent uses what it knows in deciding what to do  Structures for representing the knowledge  Computational Processes for reasoning with those structures.
  • 5.
  • 6.
  • 7. Definition and Importance of Knowledge Knowledge Representation in AI describes the representation of knowledge. Basically, it is a study of how the beliefs, intentions, and judgments of an intelligent agent can be expressed suitably for automated reasoning. One of the primary purposes of Knowledge Representation includes modeling intelligent behavior for an agent.
  • 8. Definition and Importance of Knowledge Knowledge Representation and Reasoning (KR, KRR) represents information from the real world for a computer to understand and then utilize this knowledge to solve complex real-life problems like communicating with human beings in natural language. Knowledge representation in AI is not just about storing data in a database, it allows a machine to learn from that knowledge and behave intelligently like a human being.
  • 9. What kind of knowledge to Represent: The different kinds of knowledge that need to be represented in AI include: Objects - All the facts about objects in our world domain. E.g., Guitars contains strings, trumpets are brass instruments. Events - Events are the actions which occur in our world. Performance - It describe behavior which involves knowledge about how to do things Facts - Facts are the truths about the real world and what we represent Meta-Knowledge It is knowledge about what we know. Knowledge-base - - The central component of the knowledge-based agents is the knowledge base. It is represented as KB. The Knowledge base is a group of the Sentences (Here, sentences are used as a technical term and not identical with the English language).
  • 10. What kind of knowledge to Represent:  How to represent Knowledge?  How to implement the process of Reasoning?
  • 11.
  • 12. Different Types of Knowledge
  • 13. 1. Declarative Knowledge: Declarative knowledge is to know about something. It includes concepts, facts, and objects. It is also called descriptive knowledge and expressed in declarative sentences. It is simpler than procedural language. 2. Procedural Knowledge It is also known as imperative knowledge. Procedural knowledge is a type of knowledge which is responsible for knowing how to do something. It can be directly applied to any task. It includes rules, strategies, procedures, agendas, etc. Procedural knowledge depends on the task on which it can be applied. 3. Meta-knowledge: Knowledge about the other types of knowledge is called Meta-knowledge. 4. Heuristic knowledge: Heuristic knowledge is representing knowledge of some experts in a filed or subject. 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: Structural knowledge is basic knowledge to problem-solving. It describes relationships between various concepts such as kind of, part of, and grouping of something. It describes the relationship that exists between concepts or objects Eg: “ red” represents color red “car1” represents my car red(car1) represents the fact that my car is red.
  • 14. Relation between Knowledge & Intelligence?  Knowledge of real-worlds plays a vital role in intelligence and same for creating artificial intelligence.  Knowledge plays an important role in demonstrating intelligent behavior in AI agents.  An agent is only able to accurately act on some input when he has some knowledge or experience about that input.  Let's suppose if you met some person who is speaking in a language which you don't know, then how you will able to act on that.  The same thing applies to the intelligent behavior of the agents.  In the diagram, there is one decision maker which act by sensing the environment and using knowledge. But if the knowledge part will not present then, it cannot display intelligent behavior.
  • 15. Cycle of Knowledge Representation in AI Artificial Intelligent Systems usually consist of various components to display their intelligent behavior. Some of these components include: Perception Learning Knowledge Representation & Reasoning Planning Execution
  • 17. Perception component The Perception component retrieves data or information from the environment. with the help of this component, you can retrieve data from the environment Find out the source of noises and check if the AI was damaged by anything.  Also, it defines how to respond when any sense has been detected.
  • 18. Learning Component There is the Learning Component that learns from the captured data by the perception component. The goal is to build computers that can be taught instead of programming them. Learning focuses on the process of self-improvement. In order to learn new things, the system requires knowledge acquisition, inference, acquisition of heuristics, faster searches, etc.
  • 19. Main Component The main component in the cycle is Knowledge Representation and Reasoning which shows the human-like intelligence in the machines. Knowledge representation is all about understanding intelligence. Instead of trying to understand or build brains from the bottom up, its goal is to understand and build intelligent behavior from the top-down and focus on what an agent needs to know in order to behave intelligently. Also, it defines how automated reasoning procedures can make this knowledge available as needed.
  • 20. Planning and Execution components The Planning and Execution components depend on the analysis of knowledge representation and reasoning. Here, planning includes giving an initial state, finding their preconditions and effects, and a sequence of actions to achieve a state in which a particular goal holds.  Now once the planning is completed, the final stage is the execution of the entire process.
  • 21. Knowledge Based System • A knowledge-based system (KBS) is a program that captures and uses knowledge from a variety of sources. • A KBS assists with solving problems, particularly complex issues, by artificial intelligence. • These systems are primarily used to support human decision making, learning, and other activities. • A knowledge-based system is a major area of artificial intelligence. • These systems can make decisions based on the data and information that resides in their database. • In addition, they can comprehend the context of the data being processed.
  • 22. • A knowledge-based system is comprised of a knowledge base and an interface engine. • The knowledge base functions as the knowledge repository, while the interface engine functions as the search engine. • Learning is a key element to a knowledge-based system, and learning simulation improves the system over time. • Knowledge-based systems are categorized as expert systems, intelligent tutoring systems, hypertext manipulations systems, CASE- based systems, and databases having an intelligent user interface.
  • 23. • Knowledge-based systems work across a number of applications. For instance, in the medical field, a KBS can help doctors more accurately diagnose diseases. • These systems are called clinical decision-support systems in the health industry. • A KBS can also be used in areas as diverse as industrial equipment fault diagnosis, avalanche path analysis, and cash management.
  • 24. KBS Architecture KBS can be RULE BASED REASONING, MODEL BASED OR CASE BASED REASONING Knowledge module is KB Control Module is Inference Engine
  • 25. As the knowledge is represented explicitly in the knowledge base, rather than implicitly within the structure of a program, it can be entered and updated with relative ease by domain experts who may not have any programming expertise.  A knowledge engineer is someone who provides a bridge between the domain expertise and the computer implementation. The knowledge engineer may make use of meta-knowledge, i.e. knowledge about knowledge, to ensure an efficient implementation.
  • 26. Requirements of knowledge Representation • A knowledge representation has the following requirements 1.It should have the adequacy or fulfillment to represent all types of knowledge present in the domain. It is also known as representational adequacy. 2.It should be capable enough to manipulate the representational structure in order to derive new structures which also should be corresponding to the new knowledge extracted from the old. It is also referred as inferential adequacy. 3.It should be able to indulge the additional information into the knowledge structure which can be further used to focus on inference mechanisms in the best possible direction. It is sometimes known as inferential efficiency. 4.It should acquire new knowledge with the help of automatic methods rather than relying on human source. This process is known as acquisitional efficiency.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31. Propositional Logic • Propositional logic (PL) is the simplest form of logic where all the statements are made by propositions. • A proposition is a declarative statement which is either true or false. • It is a technique of knowledge representation in logical and mathematical form.
  • 32. Following are some basic facts about propositional logic: • Propositional logic is also called Boolean logic as it works on 0 and 1. • In propositional logic, we use symbolic variables to represent the logic, and we can use any symbol for a representing a proposition, such A, B, C, P, Q, R, etc. • Propositions can be either true or false, but it cannot be both. • Propositional logic consists of an object, relations or function, and logical connectives. • These connectives are also called logical operators. • The propositions and connectives are the basic elements of the propositional logic. • Connectives can be said as a logical operator which connects two sentences. • A proposition formula which is always true is called tautology, and it is also called a valid sentence. • A proposition formula which is always false is called Contradiction. • Statements which are questions, commands, or opinions are not propositions such as "Where is Rohini", "How are you", "What is your name", are not propositions.
  • 33. Syntax of propositional logic: • The syntax of propositional logic defines the allowable sentences for the knowledge representation. There are two types of Propositions: • Atomic Propositions • Compound propositions • Atomic Proposition: Atomic propositions are the simple propositions. It consists of a single proposition symbol. These are the sentences which must be either true or false.
  • 34. • Compound proposition: Compound propositions are constructed by combining simpler or atomic propositions, using parenthesis and logical connectives.
  • 35. Logical Connectives: • Logical connectives are used to connect two simpler propositions or representing a sentence logically. We can create compound propositions with the help of logical connectives. There are mainly five connectives, which are given as follows: • Negation: A sentence such as ¬ P is called negation of P. A literal can be either Positive literal or negative literal. • Conjunction: A sentence which has ∧ connective such as, P ∧ Q is called a conjunction. Example: Rohan is intelligent and hardworking. It can be written as, P= Rohan is intelligent, Q= Rohan is hardworking. → P∧ Q.
  • 36. Logical Connectives: • Disjunction: A sentence which has ∨ connective, such as P ∨ Q. is called disjunction, where P and Q are the propositions. Example: "Ritika is a doctor or Engineer", Here P= Ritika is Doctor. Q= Ritika is Doctor, so we can write it as P ∨ Q. • Implication: A sentence such as P → Q, is called an implication. Implications are also known as if-then rules. It can be represented as If it is raining, then the street is wet. Let P= It is raining, and Q= Street is wet, so it is represented as P → Q • Biconditional: A sentence such as P⇔ Q is a Biconditional sentence, example If I am breathing, then I am alive P= I am breathing, Q= I am alive, it can be represented as P ⇔ Q