fbpx
Wikipedia

Rule-based system

In computer science, a rule-based system is used to store and manipulate knowledge to interpret information in a useful way. It is often used in artificial intelligence applications and research.

Normally, the term rule-based system is applied to systems involving human-crafted or curated rule sets. Rule-based systems constructed using automatic rule inference, such as rule-based machine learning, are normally excluded from this system type.

Applications Edit

A classic example of a rule-based system is the domain-specific expert system that uses rules to make deductions or choices.[1] For example, an expert system might help a doctor choose the correct diagnosis based on a cluster of symptoms, or select tactical moves to play a game.

Rule-based systems can be used to perform lexical analysis to compile or interpret computer programs, or in natural language processing.[2]

Rule-based programming attempts to derive execution instructions from a starting set of data and rules. This is a more indirect method than that employed by an imperative programming language, which lists execution steps sequentially.

Construction Edit

A typical rule-based system has four basic components:[3]

  • Match: In this first phase, the condition sides of all productions are matched against the contents of working memory. As a result a set (the conflict set) is obtained, which consists of instantiations of all satisfied productions. An instantiation of a production is an ordered list of working memory elements that satisfies the condition side of the production.
  • Conflict-resolution: In this second phase, one of the production instantiations in the conflict set is chosen for execution. If no productions are satisfied, the interpreter halts.
  • Act: In this third phase, the actions of the production selected in the conflict-resolution phase are executed. These actions may change the contents of working memory. At the end of this phase, execution returns to the first phase.
  • Temporary working memory.
  • A user interface or other connection to the outside world through which input and output signals are received and sent.

See also Edit

References Edit

  1. ^ Crina Grosan; Ajith Abraham (29 July 2011). Intelligent Systems: A Modern Approach. Springer Science & Business Media. pp. 149–. ISBN 978-3-642-21004-4.
  2. ^ Sin-Wai Chan (13 November 2014). Routledge Encyclopedia of Translation Technology. Routledge. pp. 454–. ISBN 978-1-317-60815-8.
  3. ^ "What is a rule-based system?". j-paine.org.
  4. ^ Cabitza, F., & Dal Seno, B. (2005). "DJess-A Knowledge-Sharing Middleware to Deploy Distributed Inference Systems". International Journal of Computer and Information Engineering. 2: 66–69. doi:10.1109/PERSER.2005.1506416. S2CID 27323155.{{cite journal}}: CS1 maint: multiple names: authors list (link)

rule, based, system, confused, with, basic, norm, this, article, needs, additional, citations, verification, please, help, improve, this, article, adding, citations, reliable, sources, unsourced, material, challenged, removed, find, sources, news, newspapers, . Not to be confused with Basic norm This article needs additional citations for verification Please help improve this article by adding citations to reliable sources Unsourced material may be challenged and removed Find sources Rule based system news newspapers books scholar JSTOR May 2019 Learn how and when to remove this template message In computer science a rule based system is used to store and manipulate knowledge to interpret information in a useful way It is often used in artificial intelligence applications and research Normally the term rule based system is applied to systems involving human crafted or curated rule sets Rule based systems constructed using automatic rule inference such as rule based machine learning are normally excluded from this system type Contents 1 Applications 2 Construction 3 See also 4 ReferencesApplications EditA classic example of a rule based system is the domain specific expert system that uses rules to make deductions or choices 1 For example an expert system might help a doctor choose the correct diagnosis based on a cluster of symptoms or select tactical moves to play a game Rule based systems can be used to perform lexical analysis to compile or interpret computer programs or in natural language processing 2 Rule based programming attempts to derive execution instructions from a starting set of data and rules This is a more indirect method than that employed by an imperative programming language which lists execution steps sequentially Construction EditA typical rule based system has four basic components 3 A list of rules or rule base which is a specific type of knowledge base An inference engine or semantic reasoner which infers information or takes action based on the interaction of input and the rule base The interpreter executes a production system program by performing the following match resolve act cycle 4 Match In this first phase the condition sides of all productions are matched against the contents of working memory As a result a set the conflict set is obtained which consists of instantiations of all satisfied productions An instantiation of a production is an ordered list of working memory elements that satisfies the condition side of the production Conflict resolution In this second phase one of the production instantiations in the conflict set is chosen for execution If no productions are satisfied the interpreter halts Act In this third phase the actions of the production selected in the conflict resolution phase are executed These actions may change the contents of working memory At the end of this phase execution returns to the first phase Temporary working memory A user interface or other connection to the outside world through which input and output signals are received and sent See also EditRule based programming Expert systems Rewriting RuleML List of rule based languages Learning classifier system Rule based machine learning Rule based modelingReferences Edit Crina Grosan Ajith Abraham 29 July 2011 Intelligent Systems A Modern Approach Springer Science amp Business Media pp 149 ISBN 978 3 642 21004 4 Sin Wai Chan 13 November 2014 Routledge Encyclopedia of Translation Technology Routledge pp 454 ISBN 978 1 317 60815 8 What is a rule based system j paine org Cabitza F amp Dal Seno B 2005 DJess A Knowledge Sharing Middleware to Deploy Distributed Inference Systems International Journal of Computer and Information Engineering 2 66 69 doi 10 1109 PERSER 2005 1506416 S2CID 27323155 a href Template Cite journal html title Template Cite journal cite journal a CS1 maint multiple names authors list link Retrieved from https en wikipedia org w index php title Rule based system amp oldid 1179680765, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.