量詞邏輯量詞里面的v表示?_代理知識表示中的量詞簡介(基于人工智能)

量詞邏輯量詞里面的v表示?

As we know that in an AI-based agent, the knowledge is represented through two types of logic: The propositional logic and the predicate logic. In the propositional logic, we have declarative sentences, and in the predicate logic, we have a predicate defining a subject. But in both these systems, we were not able to define the quantity of any subject.

我們知道,在基于AI的代理中 ,知識通過兩種邏輯表示: 命題邏輯和謂詞邏輯 。 在命題邏輯中,我們有陳述句,在謂詞邏輯中,我們有謂詞定義主語。 但是在這兩個系統中,我們都無法定義任何主題的數量。

For example:

例如:

The predicate logic: like(boy, apple) defines that boy likes apple. But take a look at the following two statements:

謂詞邏輯: like(boy,apple)定義男孩喜歡蘋果。 但是,請看以下兩個語句:

  • Some boys like apple

    有些男孩喜歡蘋果

  • All boys like apple

    所有男孩都喜歡蘋果

These sentences cannot be defined completely with the help of first-order predicate logic. So, to solve this issue, the quantifiers were used.

這些句子不能借助一階謂詞邏輯來完全定義。 因此,為了解決這個問題,使用了量詞

Quantifiers are the quantity defining terms which are used with the predicates.

量詞是與謂詞一起使用的數量定義術語。

量詞的類型 (Types of quantifiers)

There are two types of quantifiers:

量詞有兩種:

1)通用量詞 (1) Universal Quantifier)

The universal quantifier is used to define the whole subject population under the predicate. It can be used anywhere where the phrases like: 'for all', 'for each', 'for every' are used.

通用量詞用于定義謂詞下的整個主題種群。 它可以在使用諸如“ for all”“ for each”“ for every”之類的短語的任何地方使用。

The symbol '?' is used to represent universal Quantifier. To combine the universal quantifier with the predicate and the subject, implication sign, '->' is used.

符號“?”用于表示通用量詞。 為了將通用量詞與謂詞和主語結合使用,使用了隱含符號“->”

Example:

例:

    ?x: Boy(x) -> like(x,Apple) 

The above statement says that: 'All boys like apple'.

上面的陳述說: '所有男孩都喜歡蘋果'

2)存在量詞 (2) Existential Quantifier)

The Existential Quantifier is used at the places where only some part of the subject's population is to be defined under the predicate. It can be used at all the places where the following phrases are used: 'There exist', 'For some', 'For at least', etc.

存在量詞用于在謂詞下僅定義對象總體一部分的地方。 它可以在使用以下短語的所有地方使用: “存在”“用于某些”“至少用于”等。

The Existential Quantifier is represented by the symbol '?'. To combine the Existential quantifier with the predicate and the subject, the conjunction symbol, '^' is used.

存在量詞用符號“?”表示 。 為了將存在量詞與謂詞和主語結合起來,使用了連字符“ ^”

Example:

例:

    ?x: Boy(x) ^ like(x,apple)

The above statement depicts that there exists a boy who likes apple. Or we can say that there are some boys who like an apple.

上面的陳述描述了存在一個喜歡蘋果的男孩。 或者我們可以說有些男孩喜歡蘋果。

量詞的性質 (Properties of Quantifiers)

  • ?x.?y is the same as ?y.?x

    ?x.?y?y.?x相同

  • ?x.?y is the same as ?y.?x

    ?x.?y?y.?x相同

  • ?x.?y is not the same as ?y.?x

    ?x.?y?y.?x不同

  • Quantifier duality: Each quantifier can be expressed using the other one. This is done by complementing and changing the symbols.

    量詞對偶:每個量詞都可以用另一個來表達。 這可以通過補充和更改符號來完成。

Example:

例:

    ?x likes(x, Ice-cream) is equivalent to ~?x ~likes(x, Ice-cream).
?x likes(x, Chocolate) is equivalent to ~?x ~likes(x, chocolate). 

翻譯自: https://www.includehelp.com/ml-ai/introduction-to-quantifiers-in-the-knowledge-representation-in-an-agent-based-on-artificial-intelligence.aspx

量詞邏輯量詞里面的v表示?

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/540511.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/540511.shtml
英文地址,請注明出處:http://en.pswp.cn/news/540511.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

[轉載] Python 機器學習經典實例

參考鏈接: Python中的邏輯門 內容介紹 在如今這個處處以數據驅動的世界中,機器學習正變得越來越大眾化。它已經被廣泛地應用于不同領域,如搜索引擎、機器人、無人駕駛汽車等。本書首先通過實用的案例介紹機器學習的基礎知識,然后…

哈希表的最差復雜度是n2_給定數組A []和數字X,請檢查A []中是否有對X | 使用哈希O(n)時間復雜度| 套裝1...

哈希表的最差復雜度是n2Prerequisite: 先決條件: Hashing data structure 散列數據結構 Problem statement: 問題陳述: Given an array and a sum X, fins any pair which sums to X. Expected time complexity O(n). 給定一個數組和一個和X &#xff…

一文讀懂深度學習框架下的目標檢測(附數據集)

從簡單的圖像分類到3D位置估算,在機器視覺領域里從來都不乏有趣的問題。其中我們最感興趣的問題之一就是目標檢測。 如同其他的機器視覺問題一樣,目標檢測目前為止還沒有公認最好的解決方法。在了解目標檢測之前,讓我們先快速地了解一下這個領…

[轉載] Python-Strings

參考鏈接: Python成員資格和身份運算符 | in, not in, is, is not Strings 介紹 String是Python中最常用的類型。僅僅用引號括起字符就可以創建string變量。字符串使用單引號或雙引號對Python來說是一樣的。 var1 Hello World! var2 "Pyth…

aes-128算法加密_加密算法問題-人工智能中的一種約束滿意問題

aes-128算法加密The Crypt-Arithmetic problem in Artificial Intelligence is a type of encryption problem in which the written message in an alphabetical form which is easily readable and understandable is converted into a numeric form which is neither easily…

讀書筆記《集體智慧編程》Chapter 2 : Make Recommendations

本章概要本章主要介紹了兩種協同過濾(Collaborative Filtering)算法,用于個性化推薦:基于用戶的協同過濾(User-Based Collaborative Filtering,又稱 K-Nearest Neighbor Collaborative Filtering&#xff0…

[轉載] python中的for循環對象和循環退出

參考鏈接: Python中循環 流程控制-if條件 判斷條件,1位true,0是flesh,成立時true,不成立flesh,not取反 if 1; print hello python print true not取反,匹配取反,表示取非1…

設計一個應用程序,以在C#中的按鈕單擊事件上在MessageBox中顯示TextBox中的文本...

Here, we took two controls on windows form that are TextBox and Button, named txtInput and btnShow respectively. We have to write C# code to display TextBox’s text in the MessageBox on Button Click. 在這里,我們在Windows窗體上使用了兩個控件&…

Oracle優化器:星型轉換(Star Query Transformation )

Oracle優化器:星型轉換(Star Query Transformation )Star query是一個事實表(fact table)和一些維度表(dimension)的join。每個維度表都跟事實表通過主外鍵join,且每個維度表之間不j…

[轉載] python循環中break、continue 、exit() 、pass的區別

參考鏈接: Python中的循環和控制語句(continue, break and pass) 1、break:跳出循環,不再執行 用在while和for循環中 用來終止循環語句,即循環條件沒有False條件或者序列還沒被完全遞歸完,也會停止執行循環語句 如果…

JavaScript | 聲明數組并使用數組索引分配元素的代碼

Declare an array, assign elements by indexes and print all elements in JavaScript. 聲明一個數組&#xff0c;通過索引分配元素&#xff0c;并打印JavaScript中的所有元素。 Code: 碼&#xff1a; <html><head><script>var fruits [];fruits[0]"…

[轉載] Python入門(輸入/輸出、數據類型、條件/循環語句)

參考鏈接&#xff1a; Python中的循環技術 在介紹之前我們先來看看計算機的三個根本性基礎&#xff1a; 1.計算機是執行輸入、運算、輸出的機器 2.程序是指令和數據的集合 3.計算機的處理方式有時與人們的思維習慣不同 &#xff08;以上是引自《計算機是怎樣跑起來的》…

第5章 函數與函數式編程

第5章 函數與函數式編程 凡此變數中函彼變數者&#xff0c;則此為彼之函數。 ( 李善蘭《代數學》) 函數式編程語言最重要的基礎是λ演算&#xff08;lambda calculus&#xff09;&#xff0c;而且λ演算的函數可以傳入函數參數&#xff0c;也可以返回一個函數。函數式編程 (簡稱…

mcq 隊列_人工智能能力問答中的人工智能概率推理(MCQ)

mcq 隊列1) Which of the following correctly defines the use of probabilistic reasoning in AI systems? In situations of uncertainty, probabilistic theory can help us give an estimate of how much an event is likely to occur or happen.It helps to find the pr…

[轉載] Python中的xrange和range的區別

參考鏈接&#xff1a; Python中的range()和xrange() 在python2 中 range(start,end,step)返回一個列表&#xff0c;返回的結果是可迭代對象&#xff0c;但不是迭代器。iter()轉化為列表迭代器。xrange()返回的是一個序列&#xff0c;他也是可迭代對象&#xff0c;但不是迭代…

Kubernetes基礎組件概述

本文講的是Kubernetes基礎組件概述【編者的話】最近總有同學問Kubernetes中的各個組件的相關問題&#xff0c;其實這些概念內容在官方文檔中都有&#xff0c;奈何我們有些同學可能英文不好&#xff0c;又或者懶得去看&#xff0c;又或者沒有找到&#xff0c;今天有時間就專門寫…

c語言將鏈表寫入二進制文件_通過逐級遍歷將二進制樹轉換為單鏈表的C程序

c語言將鏈表寫入二進制文件Problem statement: Write a C program to convert a binary tree into a single linked list by traversing level-wise. 問題陳述&#xff1a;編寫一個C程序&#xff0c;通過逐級遍歷將二進制樹轉換為單個鏈表 。 Example: 例&#xff1a; The ab…

[轉載] C Primer Plus 第6章 C控制語句 6.16 編程練習及答案

參考鏈接&#xff1a; 用Python打印金字塔圖案的程序 2019獨角獸企業重金招聘Python工程師標準>>> 1、編寫一個程序&#xff0c;創建一個具有26個元素的數組&#xff0c;并在其中存儲26個小寫字母。并讓該程序顯示該數組的內容。 #include int main (void) { …

C# String和string的區別

C#中同時存在String與string MSDN中對string的說明&#xff1a; string is an alias for String in the .NET Framework。string是String的別名而已&#xff0c;string是c#中的類&#xff0c;String是Framework的類&#xff0c;C# string 映射為 Framework的 String。如果用str…

要求用戶在Python中輸入整數| 限制用戶僅輸入整數值

input() function can be used for the input, but it reads the value as a string, then we can use the int() function to convert string value to an integer. input()函數可用于輸入&#xff0c;但它將值讀取為字符串&#xff0c;然后可以使用int()函數將字符串值轉換為…