人工智能知识表示应用
The term Knowledge representation, as the name suggests is the way the knowledge is represented in the storage system of the agent. We all very well know that any of the computer systems, the data is stored in a database. But there should be a proper layout of this data in the database so that the agent can easily figure out the extracts from the present. In an intelligent agent, knowledge can be represented in two ways:
顾名思义,术语“ 知识表示” 是在代理的存储系统中表示知识的方式 。 众所周知,任何计算机系统中的数据都存储在数据库中。 但是数据库中的数据应该有适当的布局,以便代理可以轻松地找出当前的摘要。 在智能代理中 ,知识可以两种方式表示:
Propositional logic and
命题逻辑和
Predicate logic
谓词逻辑
Note: At this level, we will discuss only about the first order predicate logic.
注意:在这一级,我们将仅讨论一阶谓词逻辑。
1)命题逻辑 (1) Propositional Logic)
In propositional logic, each sentence is classified as a declarative sentence. A declarative sentence is a sentence or proposition which is either True or False. In this type of logic in which our sentence cannot be partially correct. It has to be either completely a yes, or a no.
在命题逻辑中,每个句子都被分类为陈述性句子。 陈述性句子是对或错的句子或命题。 在这种逻辑中,我们的句子不能部分正确。 它必须完全是“是”或“否”。
In the propositional logic, atomic sentences are combined by connectives, and each sentence is represented by a variable. This variable is unique.
在命题逻辑中,原子句子由连接词组合在一起,每个句子由一个变量表示。 此变量是唯一的。
Example:
例:
A: It is hot
B: It is humid
Therefore, A^B represents 'It is hot and humid'.
Following connectives are used to connect the sentences in propositional logic:
以下连接词用于连接命题逻辑中的句子:
Not : ~
And : ^
Or : v
Implies: ->
If and only if:
2)谓词逻辑(一阶谓词逻辑) (2) Predicate logic (First order Predicate Logic))
In the predicate logic system of knowledge representation, it is assumed that the word contains object, relations, and functions. The Predicate logic is a symbolized reasoning in which we can divide the sentence into a well-defined subject and predicate. The subject is defined by the predicate. It should be noted that the predicate can only refer to a single subject.
在知识表示的谓词逻辑系统中,假定单词包含对象,关系和功能。 谓词逻辑是一种符号化推理,其中我们可以将句子分为定义明确的主语和谓语。 主题由谓词定义。 应当注意,谓词只能指单个主题。
Example:
例:
Ravi likes peanuts
Predicate logic for above statement: like (Ravi,Peanuts)
Here, Ravi is subject, like is a predicate and peanuts is
the value that the predicate defines for the subject.
翻译自: https://www.includehelp.com/ml-ai/knowledge-representation-in-artificial-intelligence.aspx
人工智能知识表示应用