Oracle Text演算法模型
Oracle Text scoring Algorithm,Salton‘s Formula
[@more@]Scoring Algorithm for Word Queries
To calculate a relevance score for a returned document in a word query, Oracle uses an inverse frequency algorithm based on Salton's formula.
Inverse frequency scoring assumes that frequently occurring terms in a document set are noise terms, and so these terms are scored lower. For a document to score high, the query term must occur frequently in the document but infrequently in the document set as a whole.
The following table illustrates Oracle's inverse frequency scoring. The first column shows the number of documents in the document set, and the second column shows the number of terms in the document necessary to score 100.
This table assumes that only one document in the set contains the query term.
Number of Documents in Document Set | Occurrences of Term in Document Needed to Score 100 |
---|---|
1 | 34 |
5 | 20 |
10 | 17 |
50 | 13 |
100 | 12 |
500 | 10 |
1,000 | 9 |
10,000 | 7 |
100,000 | 5 |
1,000,000 | 4 |
The table illustrates that if only one document contained the query term and there were five documents in the set, the term would have to occur 20 times in the document to score 100. Whereas, if there were 1,000,000 documents in the set, the term would have to occur only 4 times in the document to score 100.
Example
You have 5000 documents dealing with chemistry in which the term chemical occurs at least once in every document. The term chemical thus occurs frequently in the document set.
You have a document that contains 5 occurrences of chemical and 5 occurrences of the term hydrogen. No other document contains the term hydrogen. The term hydrogen thus occurs infrequently in the document set.
Because chemical occurs so frequently in the document set, its score for the document is lower with respect to hydrogen, which is infrequent is the document set as a whole. The score for hydrogen is therefore higher than that of chemical. This is so even though both terms occur 5 times in the document.
Note: Even if the relatively infrequent term hydrogen occurred 4 times in the document, and chemical occurred 5 times in the document, the score for hydrogen might still be higher, because chemical occurs so frequently in the document set (at least 5000 times). |
Inverse frequency scoring also means that adding documents that contain hydrogen lowers the score for that term in the document, and adding more documents that do not contain hydrogen raises the score.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/46332/viewspace-1006935/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORACLE TEXT(轉)Oracle
- Oracle Text簡介Oracle
- 文字向量化模型acge_text_embedding模型
- Oracle 20c 的 In-Memory 新特性 Spatial 和 Text 支援Oracle
- text
- Text2Cypher:大語言模型驅動的圖查詢生成模型
- text/html和text/plain的區別HTMLAI
- 模型並行-Gpipe演算法模型並行演算法
- Text Representation
- 探索大模型:袋鼠雲在 Text To SQL 上的實踐與最佳化大模型SQL
- 演算法金 | 機器學習模型評價、模型與演算法選擇(綜述)演算法機器學習模型
- Oracle12C日期格式模型的元素Oracle模型
- 演算法金 | Transformer,一個神奇的演算法模型!!演算法ORM模型
- 演算法金 | 突破最強演算法模型,決策樹演算法!!演算法模型
- CSS 文字裝飾 text-decoration & text-emphasisCSS
- DAN Text Classification
- text1
- text-to-motion
- 演算法金 | 一個強大的演算法模型,GP !!演算法模型
- 演算法金 | 一個強大的演算法模型,GPR !!演算法模型
- 決策樹模型(4)Cart演算法模型演算法
- QEM 網格模型簡化演算法模型演算法
- 機器學習【模型,策略,演算法】機器學習模型演算法
- elasticsearch演算法之搜尋模型(一)Elasticsearch演算法模型
- 模型壓縮-剪枝演算法詳解模型演算法
- LLM大語言模型演算法特訓,帶你轉型AI大語言模型演算法工程師模型演算法AI工程師
- PowerDesigner連線Oracle逆向生成資料模型(轉載)Oracle模型
- PowerDesigner實現Oracle資料庫連線生成模型Oracle資料庫模型
- WPF Text MultiBinding StringFormatORM
- CSS text-strokeCSS
- CSS text-shadowCSS
- CSS text-overflowCSS
- ASBFAT:Sublime Text 3
- Leetcode 68 Text JustificationLeetCode
- 深入char、varchar、text
- Java記憶體模型及GC演算法Java記憶體模型GC演算法
- 05EM演算法-高斯混合模型-GMM演算法模型
- 迴歸模型的演算法效能評價模型演算法
- 分類模型的演算法效能評價模型演算法