JP2005339529A - Expert system creation device and executing method for the same device - Google Patents

Expert system creation device and executing method for the same device Download PDF

Info

Publication number
JP2005339529A
JP2005339529A JP2005133850A JP2005133850A JP2005339529A JP 2005339529 A JP2005339529 A JP 2005339529A JP 2005133850 A JP2005133850 A JP 2005133850A JP 2005133850 A JP2005133850 A JP 2005133850A JP 2005339529 A JP2005339529 A JP 2005339529A
Authority
JP
Japan
Prior art keywords
expert system
case
decision tree
rule
knowledge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005133850A
Other languages
Japanese (ja)
Inventor
Yoichiro Ito
庸一郎 伊藤
Shozo Sato
省三 佐藤
Yoshinori Hirasawa
義規 平澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ito Yoichiro
Original Assignee
Ito Yoichiro
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ito Yoichiro filed Critical Ito Yoichiro
Priority to JP2005133850A priority Critical patent/JP2005339529A/en
Publication of JP2005339529A publication Critical patent/JP2005339529A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a versatile expert system creation device and its executing method capable of lessening a burden on a knowledge engineer and producing an appropriate expert system without requiring so much time and labor. <P>SOLUTION: The expert system creation device comprises a case acquiring means 10 forming a case base by acquiring a case composed of an attribute and an attribute value, a rule generation means 20 generating a determining tree from the case base, and a consulting means 30 obtaining an attribute value of conclusion by referring to the generated determining tree. The case acquiring means 10 has a built-in case acquiring interface 10a for acquiring cases from an external system, and automatically stores the cases from a memory of a control unit arranged in the external system via the case acquiring interface 10a, and forms the case base, and updates the case base. The rule generation means 20 accumulates the cases, and automatically updates the determining tree. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、観測できる状況とそれに付随する結果の蓄積から、状況から結果が生じる統計的な傾向を導き、特に、その状況と結果の対象が人(専門家)の実現する状況判断や行動である場合には人の行為に関する知識を統計的な傾向として導き、導かれた傾向をルール化し、活用するためのエキスパートシステム生成装置及びその実施方法に関する。これらの発明は、工業、鉱業、農業、林業、水産業、運輸業、医療産業、金融産業、商業、その他あらゆる産業における専門家の知識を活用するために用いて好適である。   The present invention derives a statistical tendency that results from the situation from the accumulation of the observable situation and the accompanying results. In particular, the situation and the target of the result are the situation judgment and action realized by a person (expert). In some cases, the present invention relates to an expert system generation apparatus and its implementation method for guiding knowledge about human behavior as a statistical tendency, and ruled and utilizing the derived tendency. These inventions are suitable for using expert knowledge in industry, mining, agriculture, forestry, fishery, transportation, medical, financial, commerce, and all other industries.

従来、社会活動におけるあらゆる出来事(事例)から因果関係を導き出し、ルール化して、ある条件における結果をみつけるエキスパートシステムが知られている。このエキスパートシステムでは、社会活動における様々な出来事(事例)を事例ベースとして記憶させ、それをもとにコンピュータが推論を行ない、専門家等の代替を行う。エキスパートシステムの主要な動作は事例ベースの中から推論対象に適合するルールを探索し、該当するルールを解釈し実行することである。   Conventionally, an expert system is known in which causal relations are derived from all events (examples) in social activities, ruled out, and results found under certain conditions. In this expert system, various events (cases) in social activities are memorized as a case base, and the computer makes an inference based on the case base, and substitutes for experts and the like. The main operation of the expert system is to search for a rule that matches the inference object from the case base, and interpret and execute the corresponding rule.

知識獲得における帰納学習法では、事例を「条件属性」及び「結論属性」の組で表現し、事例を元に観測された「条件属性値」から「結論属性値」を推定するルールを決定木やProlog式等の形で求める。   In the inductive learning method for knowledge acquisition, a case is expressed by a set of “condition attribute” and “conclusion attribute”, and a rule that estimates the “conclusion attribute value” from the “condition attribute value” observed based on the case is determined by a decision tree. Or in the form of a Prolog equation.

例えば、ルールを決定木として生成する手法は、決定木の形で環境に依存する命題論理ルールを出力する(例えば特許文献1参照。)。
特開平09−330224号公報
For example, a method for generating a rule as a decision tree outputs a propositional logic rule that depends on the environment in the form of a decision tree (see, for example, Patent Document 1).
JP 09-330224 A

こうした、決定木を出力形式とするエキスパートシステムは、その機能として、予め設定された質問項目(属性)の応答の仕方で、予め用意されたルールにしたがって属性値から結論属性値を出力することができる。すなわち、「こういう状況では、こうする」という指針を示すことができる。このため、工業、鉱業、農業、林業、水産業、運輸業、医療産業、金融産業、商業、その他あらゆる産業において、このエキスパートシステムを生成するシステム(例えば事例学習システム、データマイニングシステム、経験学習システム、統計分析等)を利用すれば、専門家等の知識を吸収し、利用することができる。   Such an expert system that uses a decision tree as an output format can output a conclusion attribute value from an attribute value according to a rule prepared in advance in response to a preset question item (attribute). it can. In other words, it is possible to provide a guideline “in this situation, do this”. For this reason, systems that generate this expert system in industries, mining, agriculture, forestry, fisheries, transportation, medical, financial, commercial, and all other industries (eg case learning systems, data mining systems, experience learning systems) , Statistical analysis, etc.), it is possible to absorb and use the knowledge of experts and the like.

しかし、上記従来のエキスパートシステムでは、事例から因果関係を導き出し、ルール化して、ある条件における結果をみつけるためには、熟練したナリッジエンジニアが、どのような要因を属性として選び、どのような属性を結論属性として選ぶか等について判断し、決定しなければならない。すなわち、ナリッジエンジニアは、専門家から専門知識を抽出し、それらの専門知識を整理し、取捨選択しなければならない。このため、ナリッジエンジニアには専門家に長いインタビューをすることが必要となる。また、インタビューが終わったら、その記録から問題を整理し、事実及び規則、質問及び答え、因果のリンク、前提と結論、確率関数等を確認しなければならない。このため、よく訓練され、熟達したナリッジエンジニアが必要とされる。   However, in the above-mentioned conventional expert system, in order to derive the causal relationship from the case and make a rule and find the result under a certain condition, a skilled knowledge engineer selects what factor as an attribute and what attribute. It is necessary to judge and decide whether to select as a conclusion attribute. That is, a knowledge engineer must extract expertise from experts, organize and select those expertise. For this reason, knowledge engineers need to have long interviews with experts. In addition, after the interview is over, the problem must be organized from the records, and facts and rules, questions and answers, causal links, assumptions and conclusions, probability functions, etc. must be confirmed. This requires well-trained and skilled knowledge engineers.

このため、エキスパートシステムを利用するためには、膨大な手間・時間及び費用がかかることとなる。また、一旦固定されたルールをさらに適切なものとなるように改めるためには、新たな属性の選択や観測属性値の入力等が改めて必要となり、やはり膨大な手間や時間や費用がかかる。さらに、ナリッジエンジニアがいくら優れていたとしても人間としての限界があり、それ以上の作業を行うことは困難である。また、エキスパートシステムの適用対象ごとに推定ルールをいちいち設定しなければならず、ルールの部分的切り出しや、他のルールとの組み合わせを行うためには、特別な作業が必要となる。   For this reason, in order to use an expert system, enormous effort, time, and expense will be required. Further, in order to change the rule once fixed so as to be more appropriate, it is necessary to select a new attribute, input an observation attribute value, and the like, which again requires enormous effort, time and cost. Furthermore, no matter how good the knowledge engineer is, there are human limitations and it is difficult to do any further work. In addition, an estimation rule must be set for each application target of the expert system, and special work is required to perform partial segmentation of the rule or combination with other rules.

本発明は、上記従来の実情に鑑みてなされたものであり、ナリッジエンジニアへの負担が少なく、利用のためにそれほどの手間や時間をかけることなくルールを作成することが可能であり、汎用性に優れたエキスパートシステム生成装置及びその実施方法を提供することを解決すべき課題としている。   The present invention has been made in view of the above-described conventional situation, has a low burden on knowledge engineers, can create rules without much time and effort for use, and is versatile. It is a problem to be solved to provide an expert system generation apparatus and an implementation method thereof.

本発明のエキスパートシステム生成装置は、エキスパートシステムを構築するためのエキスパートシステム生成装置であって、
該エキスパートシステムの構築対象となる外部システムから観測される状況とそれに付随する結果とを蓄積する事例獲得手段と、
該蓄積された状況と結果とを自動学習し、該状況から該結果が生じる統計的な傾向を知識として導くルール生成手段と、
該導かれた統計的な傾向から、観測されるある状況に対する結果を自動判断するコンサルティング手段とを備え、
該事例獲得手段と該ルール生成手段と該コンサルティング手段とを単独で動作させたり、相互に連携させたりすることによって該状況と該結果を更新し、より妥当な知識へと自動的に更新することを特徴とする。
The expert system generation device of the present invention is an expert system generation device for constructing an expert system,
Case acquisition means for accumulating a situation observed from an external system to be constructed of the expert system and a result associated therewith,
Rule generation means for automatically learning the accumulated situation and result, and for deriving as a knowledge a statistical tendency resulting from the situation;
A consulting means for automatically judging the result for a certain observed situation from the derived statistical tendency,
Update the situation and the results by operating the case acquisition means, the rule generation means, and the consulting means independently or in cooperation with each other, and automatically update them to more appropriate knowledge. It is characterized by.

本発明のエキスパートシステム生成装置では、まず事例獲得手段によってエキスパートシステムの構築対象となる外部システムから観測できる状況とそれに付随する結果とを蓄積する。そして、ルール生成手段によって蓄積された状況と結果とを自動学習し、該状況から該結果が生じる統計的な傾向が知識として導かれる。ここで外部システムとは、製造装置や処理装置等の人工的に製造された装置のみならず、自然の変化や人の行動等、エキスパートシステムの適用対象となる全てのシステムをいう。こうして導かれた統計的な傾向としての知識は不変なものではなく、事例獲得手段とルール生成手段とコンサルティング手段とを単独で動作させたり、相互に連携させたりすることによって状況と結果を更新し、より妥当な知識へと自動的に更新される。このため、最初にコンサルティング手段によって自動判断された、知識が妥当性に欠けていたとしても、その後に状況及び結果を更新し、知識が自動的に更新されるため、知識が妥当性の高いものへと変化していくことができる。このため、最初から妥当性の高い知識を得るために、熟練したナリッジエンジニアを採用し、専門家から専門知識を的確に抽出し、それらの専門知識を整理し、取捨選択するという負担は軽減される。また、専門家のインタビューや、その記録から問題を整理し、事実及び規則、質問及び答え、因果のリンク、前提と結論、確率関数等を的確に確認するという負担も軽減される。このため、よく訓練され、熟達したナリッジエンジニアでなくても、エキスパートシステムの生成が可能となる。また、従来のナリッジエンジニアへの負担が継続的であったのに対し、このエキスパートシステム生成装置では、継続的な負担が大幅に軽減される。さらに、エキスパートシステムを構築するための、手間や時間及び費用の負担が軽減される。   In the expert system generation apparatus of the present invention, first, the situation that can be observed from the external system that is the construction target of the expert system and the accompanying results are accumulated by the case acquisition means. Then, the situation and the result accumulated by the rule generation means are automatically learned, and a statistical tendency for producing the result is derived as knowledge from the situation. Here, the external system means not only an artificially manufactured apparatus such as a manufacturing apparatus or a processing apparatus, but also all systems to which the expert system is applied, such as natural changes and human behavior. The knowledge of statistical trends derived in this way is not unchanging, and the situation and results are updated by operating the case acquisition means, rule generation means and consulting means independently or in cooperation with each other. Automatically updated to a more reasonable knowledge. For this reason, even if knowledge is automatically judged by consulting means at first, even if knowledge is lacking in validity, the situation and results are subsequently updated, and knowledge is automatically updated. It can change to. For this reason, in order to obtain highly relevant knowledge from the beginning, the burden of hiring skilled knowledge engineers, accurately extracting expert knowledge from experts, organizing and selecting those expertise is reduced. The It also reduces the burden of organizing problems from expert interviews and their records to accurately confirm facts and rules, questions and answers, causal links, assumptions and conclusions, and probability functions. This makes it possible to create an expert system without being a well-trained and skilled knowledge engineer. In addition, while the burden on the conventional knowledge engineer is continuous, this expert system generation apparatus greatly reduces the continuous burden. Furthermore, labor, time, and cost for constructing the expert system are reduced.

したがって、 本発明のエキスパートシステム生成装置は、ナッリジエンジニアへの負担が少なく、適切なエキスパートシステムをそれほどの手間や時間をかけることなく作成することが可能であり、汎用性に優れる。   Therefore, the expert system generation device of the present invention has a low burden on knowledge engineers, can create an appropriate expert system without much time and effort, and is excellent in versatility.

本発明のエキスパートシステム生成装置において、事例獲得手段はエキスパートシステムの構築対象となる外部システムに関する状況と結果とをデータとして獲得して蓄積し、ルール生成手段は該事例獲得手段によって獲得し蓄積された該データから統計的な傾向をルールという形式で自動抽出し、コンサルティング手段は該ルール生成手段によって生成された該ルールを参照して該外部システムの現在のデータから状況に対する結果を自動判断し、該事例獲得手段、該ルール生成手段及び該コンサルティング手段は単独で動作させることが可能であり、該ルール生成手段は、該事例獲得手段及び該コンサルティング手段と連携して該データの集積とともに該ルールを自動的に更新し、より状況に適合したルールに更新していくこととすることができる。   In the expert system generation apparatus of the present invention, the case acquisition means acquires and accumulates the status and results relating to the external system that is the construction target of the expert system as data, and the rule generation means is acquired and stored by the case acquisition means. A statistical trend is automatically extracted from the data in the form of a rule, and the consulting means refers to the rule generated by the rule generating means to automatically determine the result for the situation from the current data of the external system, and The case acquisition means, the rule generation means and the consulting means can be operated independently, and the rule generation means automatically cooperates with the case acquisition means and the consulting means and automatically collects the rules along with the accumulation of the data. Updated to a more appropriate rule. Can.

こうであれば、まず事例獲得手段によってエキスパートシステムの構築対象となる外部システムに関するデータが獲得され、ルール生成手段によってデータ間の因果関係をルールという形式で自動抽出される。ここで、外部システムに関するデータとは、それらの外部システムの状態を表現する数値や記号値等を意味する。こうして生成されたルールは不変のものではなく、その後に獲得されたデータの集積とともにルールを自動的に更新することによって、より状況に適合したルールに更新される。このため、最初に生成されたルールが妥当性に欠けていたとしても、その後のデータの獲得とともに徐々にルールが妥当性の高いものへと変化していくことができる。このため、ナッリジエンジニアへの負担が少なく、適切なエキスパートシステムをそれほどの手間や時間をかけることなく作成することが可能であり、汎用性に優れる。   In this case, first, data relating to the external system to be constructed by the expert system is acquired by the case acquisition means, and the causal relationship between the data is automatically extracted in the form of rules by the rule generation means. Here, the data relating to the external system means a numerical value or a symbol value representing the state of the external system. The rules generated in this way are not immutable, and are updated to a more suitable rule by automatically updating the rules together with the accumulation of data acquired thereafter. For this reason, even if the rule generated initially lacks validity, the rule can gradually change to a highly valid rule with the subsequent acquisition of data. For this reason, there is little burden on knowledge engineers, it is possible to create an appropriate expert system without much time and effort, and it is excellent in versatility.

こうしたエキスパートシステム生成装置では、事例獲得手段で獲得されるデータを属性及び属性値からなる事例とし、コンサルティング手段において導かれる結論を結論属性値として求めることができる。   In such an expert system generation device, data acquired by the case acquisition unit can be used as a case composed of attributes and attribute values, and a conclusion derived by the consulting unit can be obtained as a conclusion attribute value.

本発明のエキスパートシステム生成装置におけるルール生成手段で生成されるルールの形式としては、決定木の形式、Prolog式の形式、論理式、統計分析手法における関数等で生成することができる。   The rules generated by the rule generation means in the expert system generation apparatus of the present invention can be generated in the form of a decision tree, a Prolog expression, a logical expression, a function in a statistical analysis method, or the like.

ルール生成手段が決定木の形式でルールを生成する場合、事例の過不足に関わらず、決定木を自動生成することが可能とされていることが好ましい。実際に産業現場から事例を獲得しようとした場合には、事例の一部が不明であることもある。また、どのような事例が必要であり、どのような事例が不要なのかを前もって的確に判断できない場合がある。このため、不明な条件属性値が存在する事例や不明な結論属性値が存在する事例等、事例の過不足に関わらず、決定木を自動生成することが可能であれば、とりあえず決定木を生成しておき、後から決定木自動更新手段によって、より妥当性の高い決定木に更新していくことが可能となる。このため、ナッリジエンジニアへの負担をさらに軽減できるとともに、適用可能な範囲をさらに拡大することができる。このような、事例の過不足に関わらず、決定木を自動生成するための具体的な方法としては、情報量の計算時に、不明の値については、確率に影響を与えないように読み飛ばし処理を行ったりすること等が挙げられる。   When the rule generation means generates a rule in the form of a decision tree, it is preferable that the decision tree can be automatically generated regardless of the number of cases. When actually trying to acquire a case from the industrial field, a part of the case may be unknown. Also, there are cases where it is not possible to accurately determine in advance what cases are necessary and what cases are unnecessary. Therefore, if a decision tree can be automatically generated regardless of the number of cases, such as cases with unknown condition attribute values or cases with unknown conclusion attribute values, a decision tree is generated for the time being. In addition, it is possible to update to a more appropriate decision tree later by the decision tree automatic updating means. For this reason, the burden on knowledge engineers can be further reduced, and the applicable range can be further expanded. Regardless of the number of cases, the specific method for automatically generating decision trees is to skip unknown values when calculating the amount of information so as not to affect the probability. And so on.

また、ルール生成手段は、所定の事例に対しては結論属性値を固定値に設定できることが好ましい。こうであれば、結論属性の属性値が明らかに間違っている場合に、それを適切な値に補正することが可能となる。また、任意の条件において結論が一義的に定まる場合において、適切な結論属性の属性値とすることができる。このため、本発明のエキスパートシステム生成装置によって得られる推定ルールをより現状に適合した、テーラーメードなものとすることができる。   Moreover, it is preferable that a rule production | generation means can set a conclusion attribute value to a fixed value with respect to a predetermined example. In this case, if the attribute value of the conclusion attribute is clearly wrong, it can be corrected to an appropriate value. Further, when a conclusion is uniquely determined under an arbitrary condition, it can be set as an appropriate attribute value of the conclusion attribute. For this reason, the estimation rule obtained by the expert system generation device of the present invention can be tailor-made more adapted to the current situation.

さらに、ルール生成手段は、獲得される事例の属性値の分布に関する事前の知識が得られている場合において、一度生成した決定木をトレースした結果導かれる不明な結論属性値に対して、該結論属性値を含む事例を追加することが好ましい。こうであれば、不明な結論属性値に到達するまでに決定木上に現れる条件属性に基づいて不足事例を生成することにより、少数の結論属性値が不明である場合でも、適切な決定木を生成することが可能となる。   Further, the rule generating means, when prior knowledge about the distribution of attribute values of the acquired cases is obtained, for the unknown conclusion attribute value derived as a result of tracing the decision tree generated once, It is preferable to add a case including an attribute value. If this is the case, an appropriate decision tree can be generated even if a small number of conclusion attribute values are unknown by generating missing cases based on condition attributes that appear on the decision tree before reaching an unknown conclusion attribute value. Can be generated.

また、コンサルティング手段は、外部から自動的に条件属性値を獲得し、既得した決定木から結論属性値を導くことが好ましい。こうであれば、コンサルティングの自動化が可能となる。こうしたコンサルティング手段としては、実行プログラム形式の外部システムを自動起動し、該外部システムの出力値を条件属性値に変換して獲得すること等が挙げられる。こうであれば、例えば本エキスパートシステム生成装置が動作しているコンピュータ上にネットワークによって外部にアクセスするためのプログラムが存在する場合には、そのシステムを介してネットワークで結合された別の機器の外部プログラムを制御し、事例を獲得することができる。   Further, it is preferable that the consulting means automatically obtains the condition attribute value from the outside and derives the conclusion attribute value from the obtained decision tree. In this way, consulting can be automated. As such consulting means, an external system in the form of an execution program is automatically started, and an output value of the external system is converted into a condition attribute value and acquired. If this is the case, for example, if there is a program for accessing the outside via a network on the computer on which the expert system generating apparatus is operating, the outside of another device coupled by the network via the system You can control the program and get examples.

さらに、コンサルティング手段は、外部システムに対して結論属性値を適用することが好ましい。こうであれば、コンサルティングの結果に基づいて外部システムを自動的に制御することが可能となる。こうしたコンサルティング手段としては、実行プログラム形式の外部システムを自動起動し、コンサルティング手段によって得られた結論属性値を該外部システムの入力値に変換して引き渡すこと等が挙げられる。   Furthermore, the consulting means preferably applies the conclusion attribute value to the external system. If it is like this, it will become possible to control an external system automatically based on the result of consulting. Examples of such consulting means include automatically starting an external system in the form of an execution program, converting a conclusion attribute value obtained by the consulting means into an input value of the external system, and the like.

また、ルール生成手段は、生成された決定木の妥当性を評価し、その結果をもとに、より妥当性の高い決定木に更新することが好ましい。こうしたルール生成手段としては、事例の例外化が可能とされていることや、条件属性項目の例外化や、分岐枝の剪定が可能とされていること等が挙げられる。事例の例外化や条件属性項目の例外化が可能であれば、より現実に即した妥当な決定木を生成することができる。また、分岐枝の剪定が可能とされていれば、必要以上に複雑となり、事例の分析が困難となる場合において、決定木が単純化され、分析を行うことが容易になる。ここで、分岐枝の剪定は、任意の条件属性項目間及び条件属性と結論属性の間のどちらにおいても行うことが可能とされていることが好ましい。こうであれば、決定木の一部のみの変更や単純化や削除を行うことが可能となり、より現実に即した決定木の編集をすることができる。また、決定木をたどった結果として1つの条件事例に対して複数の結論属性値が導かれる場合、該当する事例を例外として該決定木を再生成することが可能とされていることも挙げられる。こうであれば、現在の事例では結論属性値どうしが矛盾して衝突する場合においても、決定木を生成することが可能となる。   Further, it is preferable that the rule generation means evaluates the validity of the generated decision tree and updates the decision tree with a higher validity based on the result. Examples of such rule generation means include that exceptions of cases can be made, exceptions of condition attribute items, and pruning of branch branches can be made. If case exceptions or condition attribute items can be made exceptions, a more realistic decision tree can be generated. In addition, if the branch branch can be pruned, the decision tree is simplified and the analysis is facilitated when the case becomes more complex than necessary and analysis of the case becomes difficult. Here, it is preferable that pruning of branch branches can be performed between any condition attribute items and between condition attributes and conclusion attributes. In this way, only a part of the decision tree can be changed, simplified, or deleted, and the decision tree can be edited more realistically. In addition, when a plurality of conclusion attribute values are derived for one conditional case as a result of tracing the decision tree, it is possible to regenerate the decision tree with the corresponding case as an exception. . In this case, even in the case where the conclusion attribute values conflict with each other in the current case, it is possible to generate a decision tree.

事例獲得手段は、事例を自動的に獲得することが可能とされていることが好ましい。こうであれば、決定木の自動更新を行うことができるとともに、事例の獲得に要する作業者の手間を大幅に削減することができる。事例獲得手段としては、実行プログラム形式の外部システムを自動起動し、該外部システムの出力値を条件属性値に変換して獲得すること等が挙げられる。こうであれば、例えば本エキスパートシステム生成装置が動作しているコンピュータ上にネットワークによって外部にアクセスするためのプログラムが存在する場合には、そのシステムを介してネットワークで結合された別の機器の外部プログラムの制御し、事例を獲得することができる。   The case acquisition means is preferably configured to be able to automatically acquire a case. If this is the case, it is possible to automatically update the decision tree, and it is possible to greatly reduce the labor of the worker required to acquire the case. Examples of the case acquisition means include automatically starting an external system in the form of an execution program and converting the output value of the external system into a condition attribute value. If this is the case, for example, if there is a program for accessing the outside via a network on the computer on which the expert system generating apparatus is operating, the outside of another device coupled by the network via the system You can control the program and get examples.

ルール生成手段がルールを決定木の形式で生成する場合において、専門家が経験として得る情報を事例として集積し、互いに同じ知識要素を含む多重知識構造や、知識を構成している知識要素が別の知識の上位概念や下位概念であるような階層知識構造や、該多重知識構造の一つの特別な知識構造であり、多くの異なる観点からの知識の集合体である複数視点知識構造を有する知識を決定木として抽出することも好ましい。   When rule generation means generates rules in the form of decision trees, information obtained by experts as experience is accumulated as examples, and multiple knowledge structures that include the same knowledge elements and knowledge elements that constitute knowledge are separated. Knowledge that has a multi-view knowledge structure that is a hierarchical knowledge structure that is a superordinate concept or subordinate concept of knowledge, or a special knowledge structure of the multiple knowledge structure, and is a collection of knowledge from many different viewpoints It is also preferable to extract as a decision tree.

こうであれば、多重知識構造や、階層知識構造や、複数視点知識構造を有する知識を決定木として抽出することが可能であるため、知識要素をいろいろな側面から多層的に把握することが容易となり、より的確な決定木を生成させることが可能となる。   In this way, knowledge with multiple knowledge structures, hierarchical knowledge structures, and multi-view knowledge structures can be extracted as decision trees, making it easy to grasp knowledge elements from various aspects in multiple layers Thus, a more accurate decision tree can be generated.

この場合において、ルール生成手段は、目的に応じた決定木を生成することを可能とするために、以下のように構成されていることが好ましい。すなわち(1)事例の各属性項目に対して、条件属性か結論属性かを任意に選択できること。(2)特定の結論属性に対応する決定木のみを生成すること。   In this case, the rule generation means is preferably configured as follows in order to enable generation of a decision tree according to the purpose. That is, (1) For each attribute item of the case, it is possible to arbitrarily select whether it is a condition attribute or a conclusion attribute. (2) Generate only decision trees corresponding to specific conclusion attributes.

また、ルール生成手段は、事例が集積された事例ベースに対して複数の結論属性項目を持つことを可能とし、各結論属性に対応する決定木を比較するためのユーザーインターフェースを備えることができる。こうであれば、複数の結論属性項目のうちの重要な結論属性が何であるかの判断が容易となる。   Further, the rule generation means can have a plurality of conclusion attribute items for the case base in which cases are accumulated, and can include a user interface for comparing decision trees corresponding to the respective conclusion attributes. In this way, it is easy to determine what is an important conclusion attribute among a plurality of conclusion attribute items.

さらに、ルール生成手段は、生成された決定木の結論属性値に、別の決定木を結合させる展開連接が可能とされていることもできる。こうであれば、因果関係について更なる因果関係の展開が可能となり、因果関係の分析を発展させることが可能となるである。   Further, the rule generation means may be capable of expanding and concatenating another decision tree with the conclusion attribute value of the generated decision tree. If this is the case, it is possible to further develop the causal relationship with respect to the causal relationship, and it is possible to develop the analysis of the causal relationship.

また、ルール生成手段は、生成された決定木の条件属性項目に対して、該条件属性項目の全属性値を結論属性値として持つ別の決定木を結合させる詳細連接が可能とされていることもできる。こうであれば、任意の条件属性値について、さらに詳しい決定木を生成することができるため、因果関係についてさらに詳細な因果関係を求めることが可能となる。   In addition, the rule generation means is capable of performing detailed concatenation of the generated decision tree condition attribute item with another decision tree having all attribute values of the condition attribute item as conclusion attribute values. You can also. In this way, a more detailed decision tree can be generated for an arbitrary condition attribute value, so that a more detailed causal relationship can be obtained for the causal relationship.

さらに、ルール生成手段は、結論属性値が数値型である場合において、該結論属性値を回帰直線で近似し、近似残差を結論属性の幅として求めることもできる。こうであれば、結論属性の数値を数値範囲として統計的に分割し、決定木の結論としたルールを構成できるため、事例として観測されていない結論値の範囲を推定することが可能となる。   Furthermore, when the conclusion attribute value is a numerical type, the rule generation means can approximate the conclusion attribute value with a regression line and obtain an approximate residual as the width of the conclusion attribute. If this is the case, it is possible to divide the numerical value of the conclusion attribute statistically as a numerical range and configure a rule as a conclusion of the decision tree, and thus it is possible to estimate the range of the conclusion value that has not been observed as an example.

本発明のエキスパートシステム生成装置を用いて、本発明のエキスパートシステム生成装置の実施方法を実施することができる。すなわち、本発明のエキスパートシステム生成装置の実施方法は、請求項1乃至25のいずれか1項記載のエキスパートシステム生成装置を用いて専門家の知識をルール化することを特徴とする。   The implementation method of the expert system generation device of the present invention can be implemented using the expert system generation device of the present invention. That is, the implementation method of the expert system generation device of the present invention is characterized in that expert knowledge is ruled by using the expert system generation device according to any one of claims 1 to 25.

さらに、このエキスパートシステム生成装置の実施方法では、ルール化された専門家の知識により、該専門家の行為を自動化することもできる。こうであれば、工業、鉱業、農業、林業、水産業、運輸業、医療産業、金融産業、商業、その他あらゆる産業における専門家の知識を吸収し、利用することができる。例えば、ルール化された専門家の知識により、人の作業を支援したり、人を教育したりすることができる。   Furthermore, in the implementation method of this expert system production | generation apparatus, the expert's action can also be automated by the ruled expert's knowledge. In this way, it is possible to absorb and use the knowledge of experts in industries, mining, agriculture, forestry, fisheries, transportation, medical, financial, commercial and other industries. For example, it is possible to support a person's work or educate a person with the knowledge of a ruled expert.

専門家は、産業プロセスに関する専門家とすることができる。こうであれば、産業プロセスに関する専門家の知識を資産とし、産業プロセスの自動運転をしたり、産業プロセスの運転者の支援をしたり、産業プロセスの運転者の教育を行うこと等に用いることができる。ここで産業プロセスとしては、精留塔を利用した精製プラント等の石油化学プラント、ロボット、鉄鋼生産現場、窯業製品生産現場、発電所、医療現場、その他あらゆる産業現場における装置・機械等が対象とされる。精留塔を利用した精製プラントは、従来熟練した専門家が精留塔内の温度、沸騰時に発生する音、精留塔に設けられた観察窓から観察される泡の状況等を元に、長年の経験と勘に基づいてオペレートされており、こうした精製プラントに本発明のエキスパートシステム生成装置の実施方法を用いれば、熟練した専門家と同等の制御が可能となり好適である。   An expert can be an expert on an industrial process. If this is the case, use the knowledge of specialists in industrial processes as an asset and use it for automatic operation of industrial processes, support of industrial process drivers, education of industrial process drivers, etc. Can do. The industrial processes here include petrochemical plants such as refining plants using rectification towers, robots, steel production sites, ceramics production sites, power plants, medical sites, and other industrial equipment and machinery. Is done. A refinery plant using a rectification column is based on the temperature of the rectification column, the sound generated during boiling, the state of bubbles observed from the observation window provided in the rectification column, etc. It has been operated based on many years of experience and intuition, and if the method of implementing the expert system generation apparatus of the present invention is used in such a refinery plant, control equivalent to that of a skilled expert is possible.

産業プロセスが精留塔を利用した精製プラントである場合において、精製プラントからの事例の獲得は、精留塔に設けられた温度センサ、圧力センサ、流量センサ、サウンドセンサ、画像センサの少なくとも一つを介してなされることができる。こうであれば、精留塔を利用した精製プラントの制御を行うために重要な属性及び属性値となる、精留塔のいろいろな位置における温度、圧力、流量、沸騰時に発生する音、沸騰時に発生する泡の状況を自動的に事例として取り込むことが可能となる。また、事例獲得手段における事例の獲得方法として、すでに計装されているデータ取得のための装置と事例獲得手段とをダイレクトにつなげることもできる。こうであれば、産業プロセスにおいて設置されているデータ取得のための装置に記録された過去のデータを有効に利用することができる。   When the industrial process is a refining plant using a rectifying tower, the acquisition of the case from the refining plant is at least one of a temperature sensor, a pressure sensor, a flow sensor, a sound sensor, and an image sensor provided in the rectifying tower. Can be made through If this is the case, the temperature, pressure, flow rate, sound generated at the time of boiling, the sound generated at the time of boiling, which are important attributes and attribute values for controlling the purification plant using the rectifying column, It is possible to automatically capture the state of generated bubbles as an example. In addition, as a case acquisition method in the case acquisition means, a device for acquiring data already instrumented and the case acquisition means can be directly connected. In this case, it is possible to effectively use past data recorded in a data acquisition device installed in an industrial process.

以下、本発明のエキスパートシステム生成装置及びその実施方法を具体化した実施形態を図面を参照しつつ説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, an embodiment embodying an expert system generation device and an implementation method of the invention will be described with reference to the drawings.

実施形態のエキスパートシステム生成装置は、図1に示すように、事例獲得手段10とルール生成手段20とコンサルティング手段30とを備えている。事例獲得手段10には、事例獲得の対象となる外部システムから事例を獲得するための、事例獲得インターフェース10aが内蔵されている。外部システムに設けられた各種センサー等から送られる各種事例に関するデータは、事例獲得インターフェース10aを介して各データの属性と属性値とからなる事例としてデータファイルに自動的に格納され、事例ベースを形成するようになっている。また、事例獲得手段10は、キーボードからデータを直接入力することも可能とされており、さらには、事例獲得インターフェース10aを介して制御装置の記憶部に直接アクセスし、記録された各種運転データを外部システムのシーケンサーを制御することで事例として自動的に獲得することや、指定された書式のテキストファイルから事例を読み込むことも可能とされている。   As shown in FIG. 1, the expert system generation apparatus according to the embodiment includes case acquisition means 10, rule generation means 20, and consulting means 30. The case acquisition means 10 incorporates a case acquisition interface 10a for acquiring a case from an external system as a case acquisition target. Data related to various cases sent from various sensors provided in the external system is automatically stored in the data file as cases consisting of the attributes and attribute values of each data via the case acquisition interface 10a to form a case base. It is supposed to be. The case acquisition means 10 can also input data directly from the keyboard. Furthermore, the case acquisition means 10 directly accesses the storage unit of the control device via the case acquisition interface 10a, and stores the recorded various operation data externally. It is possible to automatically acquire a case by controlling the sequencer of the system or to read a case from a text file in a specified format.

ルール生成手段20は、生成準備ブロック21と、ツリー生成ブロック22と、ツリーチェックブロック23とから構成されている。生成準備ブロック21は、事例から決定木を生成することができるか否かのチェック(例えば事例に結論属性(以下「ターゲットエレメント」という)がない場合や、事例が1件もない場合等)を行ったり、数値型の結論属性値(以下「ターゲットエレメントバリュー」という)における境界値を回帰直線を利用して決定したりする。   The rule generation unit 20 includes a generation preparation block 21, a tree generation block 22, and a tree check block 23. The generation preparation block 21 checks whether or not a decision tree can be generated from a case (for example, when there is no conclusion attribute (hereinafter referred to as “target element”) in the case or when there is no case). Or a boundary value in a numeric conclusion attribute value (hereinafter referred to as “target element value”) is determined using a regression line.

また、ツリー生成ブロック22では、図2に示すように、ID3に関連するブロック関数に関する部分と、決定木の枝生成に関するブロック関数に関する部分とからなり、生成準備ブロック21によって作成されたデータに基づき、決定木生成のための演算処理を行う。ID3に関連するブロック関数は、数値型2値化ブロック関数と、情報量計算ブロック化関数とからなる。数値型2値化ブロック関数は、2数値型あるいは日付型のエレメントバリューを2値化し、2値化したエレメントバリューを2つクラスタに分ける。また、情報量計算ブロック化関数は、各エレメントの情報量や情報エントロピー等、情報量に関する計算を行う。 Further, as shown in FIG. 2, the tree generation block 22 includes a part related to the block function related to ID3 and a part related to the block function related to the branch generation of the decision tree, and is based on the data created by the generation preparation block 21. Then, arithmetic processing for decision tree generation is performed. The block function related to ID3 is composed of a numeric type binarized block function and an information amount calculation block function. The numeric binary block function binarizes binary numeric or date type element values and divides the binarized element values into two clusters. The information amount calculation blocking function performs calculation related to the information amount such as information amount and information entropy of each element.

さらに、ツリーチェックブロック23では、図3に示すように、重複したターゲットエレメントバリューの有無等、ツリー生成ブロック22によって生成された決定木に関するチェックを行う。 Further, in the tree check block 23, as shown in FIG. 3, a check regarding the decision tree generated by the tree generation block 22, such as presence / absence of duplicate target element values, is performed.

また、コンサルティング手段30は、図4に示すように、コンサル準備ブロック31と、コンサルブロック32と、出力ブロック33とから構成されている。 Moreover, the consulting means 30 is comprised from the consult preparation block 31, the consult block 32, and the output block 33, as shown in FIG.

コンサル準備ブロック31は、コンサルティングに必要な情報(決定木にトレースするデータ、詳細連接や展開連接等に関する情報、後述するフィックスターゲット事例に関する情報等)を取得するためのブロックである。また、コンサルブロック32は、コンサルデータを決定木にトレースしてコンサルティングを行うためのブロックである。さらに、出力ブロック33は、コンサルブロック32によってコンサルティングを行った結果を出力するためのブロックであり、コンサルティングで得られたターゲットエレメントとその値、トレースを失敗した以降の条件分岐のエレメント情報の出力、及びトレース結果の出力を行う。   The consult preparation block 31 is a block for acquiring information necessary for consulting (data to be traced to a decision tree, information on detailed connection and expansion connection, information on a fixed target case described later, and the like). The consult block 32 is a block for performing consulting by tracing consult data to a decision tree. Further, the output block 33 is a block for outputting the result of consulting by the consulting block 32. The output of the target element obtained by consulting, its value, and the element information of the conditional branch after the trace fails, And output the trace result.

<フローチャート>
以上のように構成されたエキスパートシステム生成装置は、以下のような手順で決定木が生成され、さらにその決定木に基づいてコンサルティングが行われる。
<Flowchart>
The expert system generation apparatus configured as described above generates a decision tree in the following procedure, and further consults based on the decision tree.

(決定木の生成)
決定木の生成は、図5に示すフローチャートに従って行われる。すなわち、ステップS000として、事例獲得手段10によって外部システムから獲得された事例に基づき、例外フラグのチェックを行い、例外事例を除いた事例をメモリに登録する。次に、ステップS100として、事例が存在するか否かや、事例が全部例外事例(ここで例外事例とは、生成されたルールに基づくターゲットエレメントバリューの値にかかわらず、例外的に決まったターゲットエレメントバリューの値を採用する事例をいう)となるか否かについてチェックされ、決定木の生成が可能かどうかが判断される。その結果、決定木の生成が不可であると判断された場合には、そこで処理が終了される。一方、決定木の生成が可能であると判断された場合には、ステップS200として、ターゲットエレメントが数値ターゲットの場合において数値ターゲットの範囲を取得する。すなわち、各事例における条件属性値(以下「エレメントバリュー」という)とターゲットエレメントバリューに関して単回帰分析を行い、回帰直線を求める。そして、得られた回帰直線を用い、各ターゲットエレメントバリューと回帰値の差の比を求め、その比から境界値を求める。
(Decision tree generation)
The decision tree is generated according to the flowchart shown in FIG. That is, as step S000, the exception flag is checked based on the case acquired from the external system by the case acquisition means 10, and the case excluding the exception case is registered in the memory. Next, in step S100, whether or not a case exists, and all cases are exception cases (where an exception case is an exceptionally determined target regardless of the value of the target element value based on the generated rule) Whether or not a decision tree can be generated is checked. As a result, when it is determined that the decision tree cannot be generated, the processing is ended there. On the other hand, if it is determined that the decision tree can be generated, the range of the numerical target is acquired in step S200 when the target element is a numerical target. That is, a single regression analysis is performed on the condition attribute value (hereinafter referred to as “element value”) and the target element value in each case to obtain a regression line. Then, using the obtained regression line, the ratio of the difference between each target element value and the regression value is obtained, and the boundary value is obtained from the ratio.

そして、さらにステップS300として、決定木が生成される。ステップS300をさらに詳細に示したのが図6である。すなわち、まずステップS301で既に決定木が存在するか否かをチェックし、存在する場合にはステップS302として決定木における全てのノードが削除され、存在しない場合には、ターゲットエレメントのテーマ名、ターゲット等のツリー情報がツリーデータベースに登録される。そして、次にステップS304として、先頭ノードがツリーデータベースに登録された後、ステップS305として、ID3による計算がなされる。 In step S300, a decision tree is generated. FIG. 6 shows step S300 in more detail. That is, first, in step S301, it is checked whether or not a decision tree already exists. If there is a decision tree, all nodes in the decision tree are deleted in step S302. If they do not exist, the theme name of the target element, the target Are registered in the tree database. In step S304, the head node is registered in the tree database, and in step S305, calculation based on ID3 is performed.

ステップS305におけるID3による計算をさらに詳細に示したフローチャートが図7である。まずステップS3051として、情報量の計算を行うための前処理を行う。具体的には、図8に示すように、事例データが論理型(すなわち数値型又は日付型のどちらか)か論理型でないかを判断し、論理型でない場合にはステップS30511として2値化を行う。ステップS30511をさらに詳細に示したフローチャートが図9である。すなわち、まずステップS305111として各エレメントバリューをカウントし、さらにステップS305112として期待値を計算する。そして、期待値が所定の値以下である場合にはフィッシャーの検定を行い(ステップS305113)、期待値が所定の値を超えていればカイ2乗検定を行う(ステップS305114)。その結果、2値化できた場合にはその境界値を取得し(ステップS305115)、さらに別のエレメントバリューについてステップS30511から上記の処理を繰り返す。また、2値化できなかった場合は、境界値を取得することなくさらに別のエレメントバリューについてステップS30511から上記の処理を繰り返す。こうして(事例数−1)回だけ処理を繰り返した後、S305116として求められた境界値からクラスタを作成する。そして、図8に示すように、ステップS30512として事例におけるエレメントバリュー毎にエレメントバリューの数とターゲットエレメントバリューの数とをカウントする。この場合において、エレメントバリュー値に不明なバリュー値が存在する場合、該不明バリュー値はカウントしない。エレメントバリューの値が数値型あるいは日付型の場合には、バリュー毎にカウントする。 FIG. 7 is a flowchart showing the calculation by ID3 in step S305 in more detail. First, in step S3051, preprocessing for calculating the information amount is performed. Specifically, as shown in FIG. 8, it is determined whether the case data is a logical type (that is, a numeric type or a date type) or not a logical type. If it is not a logical type, binarization is performed in step S30511. Do. FIG. 9 is a flowchart showing step S30511 in more detail. That is, first, each element value is counted as step S305111, and an expected value is calculated as step S305112. If the expected value is less than or equal to the predetermined value, Fisher's test is performed (step S305113), and if the expected value exceeds the predetermined value, a chi-square test is performed (step S305114). As a result, if binarization is possible, the boundary value is acquired (step S305115), and the above processing is repeated from step S30511 for another element value. If binarization could not be performed, the above processing is repeated from step S30511 for another element value without acquiring a boundary value. Thus, after repeating the process only (number of cases-1) times, a cluster is created from the boundary value obtained in S305116. Then, as shown in FIG. 8, in step S30512, the number of element values and the number of target element values are counted for each element value in the case. In this case, when an unknown value value exists in the element value value, the unknown value value is not counted. When the value of the element value is a numeric type or a date type, the value is counted for each value.

そして、図7に示すように、ステップS3052として、各エレメントから情報エレメントを求め、これをエレメントの数だけループさせることにより、全体の集合エントロピーを求め、情報量を求める。さらに、ステップS3053として、最も情報量の多いエレメントの取得をエレメント数だけ繰り返す。そして、ステップS3054としてエレメントとエレメントバリューとを登録する。さらに、ステップS3055として枝の剪定についてのフラグがオン状態であり、かつ先頭からのノード数が、指定された剪定ノード数と一致している場合には、ターゲットエレメントとターゲットエレメントバリューとを登録する。すなわち、ステップS3055では、図10に示すように、まずステップS30551として、あらかじめ値が定められているターゲットエレメント(以下「フィックスターゲットエレメント」という)の値と同じかどうかについて判断し、同じでない場合にはステップS30552として値が存在するか否かについて判断を行う。そして、値が存在する場合にはステップS30553として、一致する事例のターゲットバリューを取得する操作をその事例の数だけ繰り返す。また、ステップS30551として、フィックスターゲットエレメントの値と同じ場合には、値が存在するか否かについて判断を行う。そして、値が存在する場合にはステップS30553として、一致する事例のターゲットバリューを取得する操作をその事例の数だけ繰り返す。こうしてフィックスターゲットバリューを取得してステップS3055を終了する。一方、ステップS30552で値が存在しない場合にはステップS30553及びステップ30554を行うことなくステップS3055を終了する。   Then, as shown in FIG. 7, in step S3052, an information element is obtained from each element, and this is looped by the number of elements, thereby obtaining an overall set entropy and obtaining an information amount. Furthermore, as step S3053, the acquisition of the element with the largest amount of information is repeated for the number of elements. In step S3054, an element and an element value are registered. Furthermore, if the flag for branch pruning is on in step S3055 and the number of nodes from the beginning matches the specified number of pruning nodes, the target element and the target element value are registered. . That is, in step S3055, as shown in FIG. 10, first, in step S30551, it is determined whether or not the value is the same as a predetermined target element (hereinafter referred to as “fixed target element”). Determines whether a value exists in step S30552. If there is a value, in step S30553, the operation of acquiring the target value of the matching case is repeated by the number of cases. In step S30551, if the value is the same as the value of the fixed target element, it is determined whether or not the value exists. If there is a value, in step S30553, the operation of acquiring the target value of the matching case is repeated by the number of cases. In this way, the fixed target value is acquired and step S3055 is ended. On the other hand, if no value exists in step S30552, step S3055 is terminated without performing steps S30553 and 30554.

一方、図7における枝の剪定についてのフラグがオン状態であり、かつ先頭からのノード数が、指定された剪定ノード数と一致しているという条件を一つでも満たしていない場合には、図7に示すように、ステップS3056においてターゲット到達判定を行う。すなわち、このステップS3056では、図11に示すように、エレメントバリューのエントロピーがゼロであり、かつすべてのエレメントの情報量がゼロ又はエレメントバリュー数が1以下の場合の場合は、前の枝でターゲットに到達する。また、エレメントバリューのエントロピーがゼロであり、すべてのエレメントの情報量がゼロ又はエレメントバリュー数が1以下以外の場合には、ターゲットに到達する。   On the other hand, when the flag for branch pruning in FIG. 7 is in an on state and the number of nodes from the top does not satisfy any of the specified pruning node numbers, As shown in FIG. 7, a target arrival determination is performed in step S3056. That is, in this step S3056, as shown in FIG. 11, when the element value entropy is zero and the information amount of all the elements is zero or the number of element values is 1 or less, the target in the previous branch is set. To reach. Further, when the element value entropy is zero and the information amount of all the elements is zero or the number of element values is other than one, the target value is reached.

一方、エレメントバリューのエントロピーがゼロでなければ、ステップS30561として、情報量でのターゲット到達判定がなされる。すなわち、ステップS30561では、図12に示すように、最も情報量の多いエレメントであり、かつエレメントの情報量がゼロ以下の場合には、前の枝でターゲットに到達する。また、最も情報量の多いエレメント以外の場合には、エレメントの情報量がゼロより大きいか否かが判断され、エレメントの情報量がゼロより大きい場合には、次の条件エレメントが探索され、そうでない場合にはターゲットに到達する。   On the other hand, if the entropy of the element value is not zero, in step S30561, a target arrival determination with information amount is made. That is, in step S30561, as shown in FIG. 12, when the element has the largest amount of information and the information amount of the element is less than or equal to zero, the target is reached at the previous branch. For elements other than those with the largest amount of information, it is determined whether the information amount of the element is greater than zero. If the information amount of the element is greater than zero, the next conditional element is searched, and so on. If not, reach the target.

そして、図7に示すステップS3056においてターゲット到達判定の結果、到達しなかった場合には、ステップS3057として、前エレメントのエレメントバリュー毎に残りのエレメントに対する事例の再構築が行われ、さらにステップS3058として、ID3に基づく計算が行われる。 As a result of the target arrival determination in step S3056 shown in FIG. 7, when the target has not been reached, in step S3057, a case is reconstructed for the remaining elements for each element value of the previous element, and further in step S3058. , Calculation based on ID3 is performed.

こうして図5に示すステップS300において決定木が作成された後、ステップS400でターゲットバリューのチェックが行われる。すなわち、図13に示すように、まずステップS401においてノードのターゲットバリュー数を取得する。そして、ターゲットバリュー数が2つ以上ある場合には、ステップS402として複数ターゲットバリューの処理を行う。ステップS402をさらに詳細に示したフローチャートが図14である。すなわち、(1)複数のターゲットバリューをそのまま表示するか、(2)バリューは無効としてターゲットバリューノードを削除するか、(3)決定木の生成を中止するか、(4)ターゲットバリューを強制的に決定するかの選択を行う。   After the decision tree is created in step S300 shown in FIG. 5, the target value is checked in step S400. That is, as shown in FIG. 13, first, in step S401, the target value number of the node is acquired. If there are two or more target values, a process of multiple target values is performed as step S402. FIG. 14 is a flowchart showing step S402 in more detail. That is, (1) a plurality of target values are displayed as they are, (2) a value is invalid and a target value node is deleted, (3) generation of a decision tree is canceled, or (4) target values are forced Select whether to decide.

また、ターゲットバリュー数が0(すなわちターゲットバリューが不明)の場合には、ステップS403として、ターゲットバリューなしの処理を行う。すなわち、図15に示すように、(1)ターゲットバリューは無効として無視するか、(2)決定木の生成を中止するか、(3)不明なターゲットバリューに到達するまでにツリー上に現れるエレメントに基づいて不足事例を生成するか、(4)ターゲットバリューをバリュー選択リクエスタにより強制的に割り当てるかの選択を行う。   When the number of target values is 0 (that is, the target value is unknown), processing without target value is performed as step S403. That is, as shown in FIG. 15, (1) the target value is ignored as invalid, (2) decision tree generation is stopped, or (3) an element appears on the tree before reaching an unknown target value. Or (4) whether to forcibly assign the target value by the value selection requester.

最後に、図5に示すステップS500として、例外化の処理に対して生成対象となったものだけビットをたてて、決定木の生成が終了する。 Finally, as step S500 shown in FIG. 5, only the bits to be generated for the exception processing are set, and the generation of the decision tree ends.

(コンサルティング)
上記のようにして生成された決定木に基づき、図16に示すフローチャートにしたがって、コンサルティングが行われる。すなわち、まずステップS600でコンサルティングの対象となる事例ファイル、コンサルティングの環境設定ファイル(外部より自動でエレメントバリューを取得するか、手動取得するか、トレースしていない残エレメントを出力するか、再度スタイルを生成するかの選択情報が登録されているファイル)及び履歴ファイル(ツリーをトレースする過程において既にトレース済みのエレメントを記録するファイル)を読み込む。次に、ステップS700として、決定木のトレースを行う。ステップS700では、図17に示すように、ツリーのノードがエレメントの場合には、ステップS701としてエレメントバリューをトレースし、ツリーのノードがターゲットエレメントの場合にはS702としてターゲットエレメントバリューをトレースする。
(consulting)
Based on the decision tree generated as described above, consulting is performed according to the flowchart shown in FIG. In other words, in step S600, the case file to be consulted, the consulting environment setting file (element value is automatically acquired from the outside, manually acquired, the remaining elements that have not been traced are output, the style is set again. A file in which selection information to be generated is registered) and a history file (a file in which elements already traced in the process of tracing a tree are recorded) are read. Next, as step S700, the decision tree is traced. In step S700, as shown in FIG. 17, when the tree node is an element, the element value is traced as step S701, and when the tree node is the target element, the target element value is traced as S702.

ステップS701におけるエレメントバリューのトレースは、図18に示すフローチャートに従って行われる。すなわち、まずステップS7011として、ステップS600で呼び込まれた履歴ファイルからバリューを取得可能か否かが判断され、バリュー取得が可能な場合には、ステップS7012としてログをとり、ツリーをトレースする。一方、バリュー取得ができない場合は、詳細連接のフラグの有無を判断し、詳細連接のフラグがあれば、ステップS7013として詳細連接に関するツリーをトレースする。一方、詳細連接のフラグがない場合には、外部プログラムによる取得を行うか否かを判断し、行う場合には外部プログラムからバリューを取得し、ステップS7012としてログをとり、ツリーをトレースする。また、外部プログラムからのバリューの取得をしない場合は、(1)標準偏差をとってバリューを取得した後ターゲットエレメントバリューをトレースする、(2)手動入力によりバリューを入力してツリーをトレースする、(3)残りのエレメントを取得してファイルに出力する、(4)再度ツリーを再構築する、のいずれかを選択して行う。   The element value tracing in step S701 is performed according to the flowchart shown in FIG. That is, first in step S7011, it is determined whether or not value can be acquired from the history file called in in step S600. If value acquisition is possible, a log is taken and the tree is traced in step S7012. On the other hand, if the value cannot be acquired, it is determined whether or not there is a detailed connection flag. If there is a detailed connection flag, a tree related to the detailed connection is traced in step S7013. On the other hand, if there is no detailed connection flag, it is determined whether or not acquisition is performed by an external program. If so, value is acquired from the external program, a log is taken as step S7012, and the tree is traced. Also, when not acquiring value from an external program, (1) trace the target element value after acquiring the value by taking the standard deviation, (2) trace the tree by inputting the value by manual input, (3) Select the remaining elements and output them to a file, or (4) Reconstruct the tree again.

また、S702におけるターゲットエレメントバリューのトレースは、図19に示すように、S7021としてフィックス事例とコンサル過程(ツリーをトレースする途中で通る条件属性)とを比較し、さらに展開連接の有無を判断し、展開連接がなければ、ステップS7022として、得られたターゲットエレメントバリューに基づいて外部プログラムを起動する。また、展開連接があれば、ステップS7023として、それに基づくツリーをトレースする。こうしてコンサルティングが終了する。   In addition, as shown in FIG. 19, the target element value trace in S <b> 702 compares the fix case with the consult process (condition attribute passed in the middle of tracing the tree) as S <b> 7021, and further determines the presence or absence of expansion connection, If there is no expansion connection, an external program is started based on the obtained target element value in step S7022. If there is an expansion connection, a tree based on the connection is traced in step S7023. This completes the consulting.

以下、このエキスパートシステム生成装置を用いて決定木を生成し、コンサルティングを行った場合について、さらに具体的に説明する。 Hereinafter, a case where a decision tree is generated using this expert system generation apparatus and consulting is performed will be described more specifically.

<事例獲得工程S1>
まず、事例獲得工程S1として、エキスパートシステムで行なおうとするテーマを決定し、そのテーマに関して使用するであろうエレメント(条件属性)と、エレメントバリュー(条件属性値)とを登録する。さらに、ターゲットエレメント(結論属性)とターゲットエレメントバリュー(結論属性値)とを登録する。登録は外部システムに設けられた各種センサーから、図1に示す事例獲得インターフェース10aを介して自動的に行うことができる。また、キーボードからデータを直接入力することも可能であり、事例ベースがテキストファイル形式であれば、呼び込みが可能である。さらには、事例獲得インターフェース10aを介して制御装置の記憶部に直接アクセスし、記録された各種運転データを事例として自動的に獲得することも可能である。こうして登録された事例は、図20に示すように、事例編集パネルとしてコンピュータの画面に表示されるとともに、コンピュータ内にファイルされる。また、登録されたエレメントやターゲットエレメントの追加や削除は、自由に行うことができる。さらに、エレメント、エレメントバリュー、ターゲットエレメント及びターゲットエレメントバリューの組み合わせからなる「事例」の追加や削除も自由に行うことができる。また、エレメントとターゲットエレメントの入れ替えを自由に行うことができる。さらに、条件から明らかにターゲットエレメントバリューが間違っていると判断される場合や、任意の条件においてターゲットエレメントバリューが決まっている場合には、フィックスターゲットエレメントバリューとして、固定された値を登録することもできる(図21)。また、事例編集パネルにおいて例外にしたい事例を選択し、編集メニューの「例外にする」をクリックすることにより、任意の事例を例外処理として選択することもできる。
<Case acquisition process S1>
First, as the case acquisition step S1, a theme to be performed by the expert system is determined, and an element (condition attribute) and an element value (condition attribute value) to be used for the theme are registered. Further, a target element (conclusion attribute) and a target element value (conclusion attribute value) are registered. The registration can be automatically performed from various sensors provided in the external system via the case acquisition interface 10a shown in FIG. It is also possible to input data directly from the keyboard. If the case base is in a text file format, it can be called up. Furthermore, it is also possible to directly access the storage unit of the control device via the case acquisition interface 10a and automatically acquire various recorded operation data as cases. The case registered in this way is displayed on the computer screen as a case editing panel as shown in FIG. 20, and is filed in the computer. In addition, registered elements and target elements can be freely added or deleted. Furthermore, “examples” composed of combinations of elements, element values, target elements, and target element values can be freely added or deleted. Further, the element and the target element can be freely exchanged. Furthermore, when it is determined that the target element value is clearly wrong from the conditions, or when the target element value is determined under any condition, a fixed value may be registered as the fixed target element value. Yes (FIG. 21). Also, any case can be selected as an exception process by selecting a case to be an exception in the case editing panel and clicking “Make exception” on the edit menu.

<決定木生成工程S2>
次に、コンピュータの画面に表示された事例編集パネル上で、機能部メニューから決定木生成を選択することにより、全ターゲットエレメントに対応する決定木を生成する場合と、現在選択されている決定木のみ選択する場合とを選択する。機能メニューから決定木の表示を選択することにより、図22に示す決定木表示パネルが表示される。さらに、決定木表示パネル内における任意のノードをマウスで選択し、機能メニューの剪定をクリックすることにより、決定木の剪定が実施される(図23)。ここで、決定木の剪定は、対応する事例の例外化を行うことと同じ操作となる。その後、ケース編集パネルに移動させることにより、決定木を再構成した場合に不用となる事例が自動的に例外処理される(図24)。なお、剪定はエレメント間だけでなく、エレメントとターゲットエレメント間でも行うことができる。
<Decision Tree Generation Step S2>
Next, on the case editing panel displayed on the computer screen, by selecting decision tree generation from the function menu, a decision tree corresponding to all target elements is generated, and the currently selected decision tree Select only when to select. By selecting display of the decision tree from the function menu, a decision tree display panel shown in FIG. 22 is displayed. Furthermore, the decision tree is pruned by selecting an arbitrary node in the decision tree display panel with the mouse and clicking pruning in the function menu (FIG. 23). Here, pruning the decision tree is the same operation as making the corresponding case an exception. Thereafter, by moving to the case editing panel, cases that become unnecessary when the decision tree is reconstructed are automatically handled as exceptions (FIG. 24). Note that pruning can be performed not only between elements but also between an element and a target element.

また、生成された決定木を解析する場合、スタイル編集パネルにおいてトップノードを例外とすることにより、それ以外の属性に基づく決定木を生成することもできる。例えば図25は、汚泥処理による焼却灰のテストピースを焼き締め、その光沢や溶解程度から、溶融グレードを決定し、これに伴い汚泥処理における各種データを収集した結果の決定木のトップノード部分である。ここで、トップノードの「焼却場」というエレメントを例外とすると、焼却場に依存しない決定木を導くことができる。その結果、図26に示すように、トップノードに「MgO」というエレメントがきて、焼却場というエレメントの要因以外に酸化マグネシウムの含有量が重要な要因とされることが分かる。   Also, when analyzing the generated decision tree, a decision tree based on other attributes can be generated by making the top node an exception in the style editing panel. For example, FIG. 25 is a top node portion of a decision tree obtained by baking a test piece of incinerated ash by sludge treatment, determining a melting grade from its gloss and dissolution degree, and collecting various data in sludge treatment along with this. is there. Here, with the exception of the element “incinerator” at the top node, a decision tree that does not depend on the incinerator can be derived. As a result, as shown in FIG. 26, the element “MgO” comes to the top node, and it can be seen that the content of magnesium oxide is an important factor in addition to the factor of the element of the incineration plant.

また、決定木の生成において、決定木の大部分が同一エレメントで占められる場合は、そのエレメントはルールを特殊化するノイズである可能性が高くなる。こうした場合には、同一となったエレメントを例外として除外することにより、見逃していた重要なエレメントを発見しやすくなる。例えば、図27に示す決定木における「日付」のエレメントを例外とすることにより、図28に示すように、「SiO2」のエレメントが現れる。酸化ケイ素は、物質の融解を高める働きがあるため、溶融グレードの値に大きな影響を与えていることが推測される。この推論は、「SiO2」のエレメントを例外としたときの決定木を観察することによって、容易に判断をすることができる。こうして、推論とルール誘導を繰り返すことにより、決定木の分析を効率よく進めることができる。 Further, in the generation of a decision tree, if the majority of the decision tree is occupied by the same element, there is a high possibility that the element is noise that specializes the rule. In such a case, it becomes easier to find an important element that has been missed by excluding the elements that have become identical as exceptions. For example, by excluding the “date” element in the decision tree shown in FIG. 27, the “SiO 2 ” element appears as shown in FIG. Since silicon oxide has a function of enhancing the melting of the substance, it is presumed that the silicon oxide has a great influence on the value of the melting grade. This inference can be easily made by observing a decision tree with the exception of the “SiO 2 ” element. In this way, it is possible to efficiently analyze the decision tree by repeating inference and rule induction.

また、生成された決定木のターゲットエレメントバリューに、別の決定木を結合させる展開連接を行う場合には、編集メニューによってターゲットエレメントバリュー選択リクエスタを表示させ、展開可能なターゲットエレメントバリュー一覧の中から展開するターゲットエレメントバリューを選択する。こうして、展開連接が完了すれば、図29に示すように、スタイル編集パネルにおけるターゲットエレメントバリュー名の前に展開連接マークが表示される。こうして、任意のターゲットエレメントバリューについて、さらに決定木を展開生成させることができ、因果関係について更なる因果関係の展開が可能となり、因果関係の分析を発展させることが可能となる   In addition, when performing expansion concatenation that joins another decision tree to the target element value of the generated decision tree, the target element value selection requester is displayed from the edit menu, and the target element value list can be expanded. Select the target element value to expand. When the expansion connection is thus completed, the expansion connection mark is displayed in front of the target element value name in the style editing panel as shown in FIG. In this way, further decision trees can be developed and generated for any target element value, and further causal relations can be developed for causal relations, and analysis of causal relations can be developed.

さらに、生成された決定木のエレメントバリューに、全エレメントバリューをターゲットエレメントバリューとして持つ別の決定木を結合させる詳細連接を行う場合には、編集メニューによって属性項目選択リクエスタを表示させ、表示されたエレメントから詳細にするエレメントをクリックして選択する。こうして詳細連接が完了すれば、図30に示すように、スタイル編集パネルにおいて、連接したエレメント名の前に詳細連接マークが表示される。こうして、任意のエレメントバリューについて、さらに詳しい決定木を生成することができるため、因果関係についてさらに詳細な因果関係を求めることが可能となる   In addition, when performing detailed concatenation that combines another decision tree with all element values as target element values to the element value of the generated decision tree, the attribute item selection requester is displayed using the edit menu. Click to select the element to be detailed from the element. When the detailed connection is completed in this way, a detailed connection mark is displayed in front of the connected element name in the style editing panel as shown in FIG. In this way, since a more detailed decision tree can be generated for any element value, it becomes possible to obtain a more detailed causal relationship for the causal relationship.

<コンサルティング工程S3>
決定木生成工程S2において決定木が生成された後、事例編集パネルにおいて画面上部メニューの「スタイル−コンサルティング」を選択する(図31)。これにより、図32に示すように、ターゲットエレメントの選択ダイアログが表示され、ターゲットエレメントの選択が可能となる。ターゲットエレメントを選択すると、そのターゲットエレメントごとの決定木に従ったコンサルティングが開始される。コンサルティング手段3は、実行プログラム形式の外部システムを自動起動し、外部システムの出力値をエレメントバリューに変換して獲得することが可能とされている。また、コンサルティング手段は、実行プログラム形式の外部システムを自動起動し、コンサルティング手段によって得られたターゲットエレメントバリューを該外部システムの入力値に変換して引き渡すことが可能とされている。そして、図33に示すように、論理型、数値型、日付型といったエレメントの型に応じた回答を選択、或いは入力していき、すべての回答を入力し終わった段階で結論としてターゲットエレメントのバリューが導出される。ここで、エレメントが論理型の場合には、入力は単なる選択を行うだけである。年齢などの数値型エレメントでも、年齢が不詳の人の場合には、「年齢不詳」として、論理型と同様の扱いをすることができる。このように、データとして不足がある場合であっても、決定木を生成し、コンサルティングをすることが可能である。
<Consulting process S3>
After the decision tree is generated in the decision tree generation step S2, “style-consulting” in the upper menu of the screen is selected in the case editing panel (FIG. 31). As a result, as shown in FIG. 32, a target element selection dialog is displayed, and the target element can be selected. When a target element is selected, consulting according to a decision tree for each target element is started. The consulting means 3 can automatically start an external system in the form of an execution program, convert an output value of the external system into an element value, and acquire it. The consulting means can automatically start an external system in the form of an execution program, convert the target element value obtained by the consulting means to an input value of the external system, and deliver it. Then, as shown in FIG. 33, responses corresponding to the element type such as logical type, numerical type, and date type are selected or entered, and when all the responses have been entered, the value of the target element is concluded as a conclusion. Is derived. Here, when the element is of a logical type, the input is merely a selection. Even in numerical type elements such as age, in the case of a person whose age is unknown, it can be treated as “logic unknown” as “age unknown”. Thus, even if there is a shortage of data, it is possible to generate a decision tree and consult.

(精留塔を利用した回収溶媒精製プラントのオペレート)
実施形態のエキスパートシステム生成装置を用いて、精留塔を利用した回収溶媒精製プラントのオペレートを行った。
(Operation of recovery solvent purification plant using rectification column)
Using the expert system generator of the embodiment, the recovery solvent purification plant using a rectification column was operated.

この回収溶媒プラントは、回収溶媒からテトラヒドロフラン(THF)とメチルエチルケトン(MEK)とを分離回収するためのものであり、図34に示すように、THFとMEKが混合された回収溶媒を貯留する貯留タンク11と、2基の精留塔12、13とを備えている。貯留タンク11には配管11a、11bが接続されており、配管11a、11bの他端は精留塔11、12の9段目に接続されている。精留塔12、13の下端には熱交換器12a、13aが設けられており、外部からスチームを供給することにより、精留塔12、13の下端を加熱可能とされている。また、精留塔12、13の下端には缶出管12b、13bが接続されており、精留塔12、13の下端に溜まった缶出液を取り出し可能とされている。さらに、精留塔12、13の上端には留出管12c、13cが接続されており、留出管12c、13cはコンデンサ14、15の一端側に接続されている。また、コンデンサ14、15の他端側は回収管16、17を介してキャッチャタンク16b、17bに接続されている。さらに、回収管16、17の途中からは還流管16a、17aが分岐し、缶出管12b、13bに接続され、缶出液の一部を精留塔12、13に還流可能とされている。   This recovery solvent plant is for separating and recovering tetrahydrofuran (THF) and methyl ethyl ketone (MEK) from the recovery solvent. As shown in FIG. 34, the storage tank stores the recovery solvent in which THF and MEK are mixed. 11 and two rectifying towers 12 and 13. Pipes 11 a and 11 b are connected to the storage tank 11, and the other ends of the pipes 11 a and 11 b are connected to the ninth stage of the rectification columns 11 and 12. Heat exchangers 12a and 13a are provided at the lower ends of the rectifying columns 12 and 13, and the lower ends of the rectifying columns 12 and 13 can be heated by supplying steam from the outside. Further, the bottom ends of the rectifying columns 12 and 13 are connected to can outlets 12b and 13b, respectively, so that the bottoms collected at the lower ends of the rectifying columns 12 and 13 can be taken out. Further, distillation pipes 12 c and 13 c are connected to the upper ends of the rectifying columns 12 and 13, and the distillation pipes 12 c and 13 c are connected to one end side of the capacitors 14 and 15. The other ends of the capacitors 14 and 15 are connected to the catcher tanks 16b and 17b via the recovery pipes 16 and 17, respectively. Further, reflux pipes 16a and 17a branch from the middle of the collection pipes 16 and 17 and are connected to the can pipes 12b and 13b so that a part of the bottom can be refluxed to the rectification columns 12 and 13. .

この回収溶媒精製プラントの稼動状況を把握し、事例に関する情報を得るための情報発信手段として、表1に示す位置に、図示しない温度計TR1〜11、流量計V1〜8及び圧力計P1、P2が設置されている。   As information transmission means for grasping the operation status of the recovered solvent refining plant and obtaining information on the cases, thermometers TR1 to 11, flow meters V1 to 8 and pressure gauges P1 and P2 (not shown) are located at the positions shown in Table 1. Is installed.

回収溶媒精製プラントの運転は熟練した3名のオペレータが行った。   The operation of the recovered solvent purification plant was performed by three skilled operators.

(事例獲得)
温度計TR1〜11、流量計V1〜8及び圧力計P1、P2の時間ごとの値、気温、日時を図示しない制御装置の記録部から自動獲得インターフェース1aを介して自動的に事例獲得手段1に取り込んだ。また、天気、オペレータ、計器チェックの有無等について、キーボードから事例獲得手段1に直接入力した。こうして、事例獲得手段1により、表2〜表4に分割して示した事例ベースを作成した。
(Case acquisition)
The value of each of the thermometers TR1 to 11, the flow meters V1 to 8 and the pressure gauges P1 and P2, the temperature and the date / time are automatically transferred from the recording unit of the control device (not shown) to the case acquisition means 1 via the automatic acquisition interface 1a. I took it in. Further, the weather, operator, presence / absence of instrument check, etc. were directly input to the case acquisition means 1 from the keyboard. In this way, the case base divided into Tables 2 to 4 was created by the case acquisition means 1.

(決定木生成)
さらに、上記事例ベースに基づきルール生成手段3により、決定木を生成した。
(Decision tree generation)
Furthermore, a decision tree is generated by the rule generation means 3 based on the case base.

(コンサルティング)
さらに、こうして生成された決定木に基づき、コンサルティングを行った。
(consulting)
Furthermore, consulting was conducted based on the decision tree generated in this way.

このエキスパートシステム生成装置を回収溶媒精製プラントに適用することにより、温度計TR1〜11、流量計V1〜8及び圧力計1、2からの情報が事例獲得手段1によって自動的に事例ベースが形成され、この事例ベースからルール生成手段2によって決定木が自動的に生成することが可能となる。そして、コンサルティング手段3がこの決定木を参照してターゲットエレメントのターゲットエレメントバリューを自動的に求めることができる。このため、ルール生成手段3によって当初に生成された決定木は、事例ベースの蓄積にともなって絶えず自動的に更新されることとなり、事例学習的に、より好適な決定木に更新されていくこととなる。また、時間の経過と共に何らかの原因によって因果関係が変化した場合でも、その変化に追従して適切な決定木が生成されてゆくこととなる。このため、コンサルティング手段3により得られるターゲットエレメントバリューもより適切な値とすることができる。   By applying this expert system generator to the recovery solvent purification plant, the case base is automatically formed by the case acquisition means 1 based on the information from the thermometers TR1 to 11, the flow meters V1 to 8, and the pressure gauges 1 and 2. The decision generation unit 2 can automatically generate a decision tree from this case base. And the consulting means 3 can obtain | require the target element value of a target element automatically with reference to this decision tree. For this reason, the decision tree initially generated by the rule generation means 3 is constantly updated automatically with the accumulation of the case base, and is updated to a more suitable decision tree for case learning. It becomes. Even when the cause-and-effect relationship changes for some reason as time passes, an appropriate decision tree is generated following the change. For this reason, the target element value obtained by the consulting means 3 can also be set to a more appropriate value.

なお、上記実施形態では、温度計TR1〜11、流量計V1〜8及び圧力計1、2からの情報は制御装置の記憶部から取り込んでいるが、それらの情報をインターフェース1aを介してリアルタイムに事例獲得手段に送信することもできる。   In the above-described embodiment, the information from the thermometers TR1 to 11, the flow meters V1 to 8 and the pressure gauges 1 and 2 is taken from the storage unit of the control device, but the information is obtained in real time via the interface 1a. It can also be sent to the case acquisition means.

本発明は、工業、鉱業、農業、林業、水産業、運輸業、医療産業、金融産業、商業、その他あらゆる産業における専門家の知識を活用することにより、あらゆる産業に利用することができる。   The present invention can be used in all industries by utilizing the knowledge of experts in industries, mining, agriculture, forestry, fisheries, transportation, medical, financial, commercial, and all other industries.

実施形態のエキスパートシステム生成装置のブロック図である。It is a block diagram of the expert system production | generation apparatus of embodiment. コンサルテツリー生成ブロックの機能の説明図である。It is explanatory drawing of the function of a consultation tree production | generation block. ツリーチェックブロックの機能の説明図である。It is explanatory drawing of the function of a tree check block. コンサルティング手段のブロック図である。It is a block diagram of a consulting means. 決定木生成に関するフローチャートである。It is a flowchart regarding decision tree generation. ステップS300の詳細フローチャートである。It is a detailed flowchart of step S300. ステップS305の詳細フローチャートである。It is a detailed flowchart of step S305. ステップS3051の詳細フローチャートである。It is a detailed flowchart of step S3051. ステップS30511の詳細フローチャートである。It is a detailed flowchart of step S30511. ステップS3055の詳細フローチャートである。It is a detailed flowchart of step S3055. ステップS3056の詳細フローチャートである。It is a detailed flowchart of step S3056. ステップS30561の詳細フローチャートである。It is a detailed flowchart of step S30561. ステップS400の詳細フローチャートである。It is a detailed flowchart of step S400. ステップS402の詳細フローチャートである。It is a detailed flowchart of step S402. ステップS403の詳細フローチャートである。It is a detailed flowchart of step S403. コンサルティングに関するフローチャートである。It is a flowchart regarding consulting. ステップS700の詳細フローチャートである。It is a detailed flowchart of step S700. ステップS701の詳細フローチャートである。It is a detailed flowchart of step S701. ステップS702の詳細フローチャートである。It is a detailed flowchart of step S702. 事例編集パネルを示す図である。It is a figure which shows a case edit panel. フィックスターゲットエレメントバリューとして、固定された値を登録するための表示画面である。It is a display screen for registering a fixed value as a fixed target element value. 生成された決定木を示す表示画面である。It is a display screen which shows the produced | generated decision tree. 剪定終了後の決定木を示す表示画面である。It is a display screen which shows the decision tree after the end of pruning. 剪定によって自動的に例外処理された事例を示す表示画面である。It is a display screen which shows the example automatically exception-processed by pruning. 汚泥処理による焼却灰のテストピースを焼き締める作業について得られた決定木を示す表示画面である。It is a display screen which shows the decision tree obtained about the operation | work which bakes the test piece of the incinerated ash by sludge processing. エレメントの例外処理を行う前と行った後を示す表示画面である。It is a display screen which shows before and after performing exception processing of an element. 日付のエレメントを例外とする前の決定木を示す表示画面の一部である。It is a part of a display screen showing a decision tree before an exception of a date element. 日付のエレメントを例外とした後の決定木を示す表示画面の一部である。It is a part of a display screen showing a decision tree after the date element is an exception. 展開連接が完了した後のスタイル編集パネルを示す表示画面である。It is a display screen which shows the style edit panel after completion | finish of expansion | deployment connection. 詳細連接が完了した後のスタイル編集パネルを示す表示画面である。It is a display screen which shows the style edit panel after detailed connection is completed. 事例編集パネルにおいてコンサルティングを選択する場合を示す表示画面である。It is a display screen which shows the case where consulting is selected in a case edit panel. 事例編集パネルにおいてターゲットエレメントを選択する場合を示す表示画面である。It is a display screen which shows the case where a target element is selected in a case edit panel. コンサルティングを行う場合の入力画面を示す図である。It is a figure which shows the input screen in the case of performing consulting. 回収溶媒精製プラントの模式図である。It is a schematic diagram of a recovery solvent purification plant.

符号の説明Explanation of symbols

1…事例獲得手段
2…ルール生成手段
3…コンサルティング手段
1 ... Case acquisition means 2 ... Rule generation means 3 ... Consulting means

Claims (35)

エキスパートシステムを構築するためのエキスパートシステム生成装置であって、
該エキスパートシステムの構築対象となる外部システムから観測される状況とそれに付随する結果とを蓄積する事例獲得手段と、
該蓄積された状況と結果とを自動学習し、該状況から該結果が生じる統計的な傾向を知識として導くルール生成手段と、
該導かれた統計的な傾向から、観測されるある状況に対する結果を自動判断するコンサルティング手段とを備え、
該事例獲得手段と該ルール生成手段と該コンサルティング手段とを単独で動作させたり、相互に連携させたりすることによって該状況と該結果を更新し、より妥当な知識へと自動的に更新することを特徴とするエキスパートシステム生成装置。
An expert system generator for building an expert system,
Case acquisition means for accumulating a situation observed from an external system to be constructed of the expert system and a result associated therewith,
Rule generation means for automatically learning the accumulated situation and result, and for deriving as a knowledge a statistical tendency resulting from the situation;
A consulting means for automatically judging the result for a certain observed situation from the derived statistical tendency,
Update the situation and the results by operating the case acquisition means, the rule generation means, and the consulting means independently or in cooperation with each other, and automatically update them to more appropriate knowledge. An expert system generator characterized by
事例獲得手段はエキスパートシステムの構築対象となる外部システムに関する状況と結果とをデータとして獲得して蓄積し、
ルール生成手段は該事例獲得手段によって獲得し蓄積された該データから統計的な傾向をルールという形式で自動抽出し、
コンサルティング手段は該ルール生成手段によって生成された該ルールを参照して該外部システムの現在のデータから状況に対する結果を自動判断し、
該事例獲得手段、該ルール生成手段及び該コンサルティング手段は単独で動作させることが可能であり、
該ルール生成手段は、該事例獲得手段及び該コンサルティング手段と連携して該データの集積とともに該ルールを自動的に更新し、より状況に適合したルールに更新していくことを特徴とする請求項1記載のエキスパートシステム生成装置。
Case acquisition means acquires and accumulates the status and results related to the external system for which the expert system is built as data,
The rule generation means automatically extracts a statistical tendency in the form of rules from the data acquired and accumulated by the case acquisition means,
The consulting means automatically determines the result for the situation from the current data of the external system with reference to the rule generated by the rule generating means,
The case acquisition means, the rule generation means and the consulting means can be operated independently,
The rule generation unit automatically updates the rule together with the data accumulation in cooperation with the case acquisition unit and the consulting unit, and updates the rule to a more suitable rule. The expert system generator according to 1.
事例獲得手段で獲得されるデータは属性及び属性値からなる事例であり、
コンサルティング手段において導かれる結論は結論属性値であることを特徴とする請求項2記載のエキスパートシステム生成装置。
The data acquired by the case acquisition means is a case consisting of attributes and attribute values.
3. The expert system generation apparatus according to claim 2, wherein the conclusion derived in the consulting means is a conclusion attribute value.
ルール生成手段はルールを決定木の形式で生成することを特徴とする請求項2又は3記載のエキスパートシステム生成装置。   4. The expert system generation apparatus according to claim 2, wherein the rule generation means generates a rule in the form of a decision tree. ルール生成手段は、事例の過不足に関わらず、決定木を自動生成することが可能とされていることを特徴とする請求項4記載のエキスパートシステム生成装置。   5. The expert system generation apparatus according to claim 4, wherein the rule generation means is capable of automatically generating a decision tree regardless of the number of cases. ルール生成手段は、不明な条件属性値が存在する事例であっても決定木の生成が可能とされていることを特徴とする請求項5記載のエキスパートシステム生成装置。   6. The expert system generation apparatus according to claim 5, wherein the rule generation means is capable of generating a decision tree even in cases where unknown condition attribute values exist. ルール生成手段は、不明な結論属性値が存在する事例であっても決定木の生成が可能であることを特徴とする請求項5又は6記載のエキスパートシステム生成装置。   7. The expert system generation apparatus according to claim 5, wherein the rule generation means can generate a decision tree even in a case where an unknown conclusion attribute value exists. ルール生成手段は、所定の事例に対しては結論属性値を固定値に設定できることを特徴とする請求項4乃至7のいずれか1項記載のエキスパートシステム生成装置。   8. The expert system generation apparatus according to claim 4, wherein the rule generation means can set a conclusion attribute value to a fixed value for a predetermined case. ルール生成手段は、獲得される事例の属性値の分布に関する事前の知識が得られている場合において、一度生成した決定木をトレースした結果導かれる不明な結論属性値に対して、該結論属性値を含む事例を追加することを特徴とする請求項5乃至8のいずれか1項記載のエキスパートシステム生成装置。   In the case where prior knowledge about the distribution of attribute values of the acquired cases is obtained, the rule generation means performs the decision attribute value for an unknown conclusion attribute value derived as a result of tracing the decision tree generated once. 9. The expert system generation device according to claim 5, wherein a case including the above is added. コンサルティング手段は、外部から自動的に条件属性値を獲得し、既得した決定木から結論属性値を導くことを特徴とする請求項4乃至9のいずれか1項記載のエキスパートシステム生成装置。   10. The expert system generation apparatus according to claim 4, wherein the consulting means automatically acquires a condition attribute value from the outside and derives a conclusion attribute value from an already obtained decision tree. コンサルティング手段は、実行プログラム形式の外部システムを自動起動し、該外部システムの出力値を条件属性値に変換して獲得することを特徴とする請求項10記載のエキスパートシステム生成装置。   11. The expert system generation apparatus according to claim 10, wherein the consulting means automatically starts an external system in the form of an execution program, converts the output value of the external system into a condition attribute value, and acquires the condition attribute value. コンサルティング手段は、外部システムに対して結論属性値を適用することを特徴とする請求項10又は11記載のエキスパートシステム生成装置。   12. The expert system generation apparatus according to claim 10 or 11, wherein the consulting means applies the conclusion attribute value to the external system. コンサルティング手段は、実行プログラム形式の外部システムを自動起動し、コンサルティング手段によって得られた結論属性値を該外部システムの入力値に変換して引き渡すことが可能とされていることを特徴とする請求項12記載のエキスパートシステム生成装置。   The consulting means can automatically start an external system in the form of an execution program, convert a conclusion attribute value obtained by the consulting means into an input value of the external system, and deliver it. 12. The expert system generation device according to 12. ルール生成手段は、生成された決定木の妥当性を評価し、その結果をもとに、より妥当性の高い決定木に更新することを特徴とする請求項4乃至13のいずれか1項記載のエキスパートシステム生成装置。   14. The rule generation means evaluates the validity of the generated decision tree, and updates the decision tree with a higher validity based on the result. Expert system generator. ルール生成手段は、事例の例外化が可能とされていることを特徴とする請求項14記載のエキスパートシステム生成装置。   15. The expert system generation device according to claim 14, wherein the rule generation means can make an exception of a case. ルール生成手段は、条件属性項目の例外化が可能とされていることを特徴とする請求項14又は15記載のエキスパートシステム生成装置。   16. The expert system generation apparatus according to claim 14, wherein the rule generation means is capable of making exceptions to condition attribute items. ルール生成手段は、分岐枝の剪定が可能とされていることを特徴とする請求項14乃至16のいずれか1項記載のエキスパートシステム生成装置。   The expert system generation device according to claim 14, wherein the rule generation means is capable of pruning a branch branch. 分岐枝の剪定は、任意の条件属性項目間、及び任意の条件属性と任意の結論属性との間のどちらにおいても行うことが可能とされていることを特徴とする請求項17のエキスパートシステム生成装置。   18. The expert system generation according to claim 17, wherein the pruning of the branch branch can be performed between any condition attribute item and between any condition attribute and any conclusion attribute. apparatus. ルール生成手段は、決定木をたどった結果として1つの条件事例に対して複数の結論属性値が導かれる場合、該当する事例を例外として該決定木を再生成することを特徴とする請求項14乃至18のいずれか1項記載のエキスパートシステム生成装置。   The rule generation means regenerates the decision tree with the corresponding case as an exception when a plurality of conclusion attribute values are derived for one condition case as a result of following the decision tree. The expert system production | generation apparatus of any one of thru | or 18. 事例獲得手段は、事例を自動的に獲得することが可能とされていることを特徴とする請求項3乃至19のいずれか1項記載のエキスパートシステム生成装置。   20. The expert system generation apparatus according to claim 3, wherein the case acquisition means can automatically acquire a case. 専門家が経験として得る情報を事例として集積し、互いに同じ知識要素を含む多重知識構造や、知識を構成している知識要素が別の知識の上位概念や下位概念であるような階層知識構造や、該多重知識構造の一つの特別な知識構造であり、多くの異なる観点からの知識の集合体である複数視点知識構造を有する知識を決定木として抽出することを可能とされていることを特徴とする請求項4乃至20のいずれか1項記載のエキスパートシステム生成装置。   Information obtained by experts as examples is accumulated as examples, multiple knowledge structures that include the same knowledge elements, and hierarchical knowledge structures in which the knowledge elements that make up the knowledge are superordinate concepts or subordinate concepts of different knowledge The knowledge structure is a special knowledge structure of the multiple knowledge structure, and it is possible to extract knowledge having a multi-view knowledge structure, which is a collection of knowledge from many different viewpoints, as a decision tree. The expert system generation device according to any one of claims 4 to 20. ルール生成手段は、事例に内在する様々な因果関係を表現する決定木若しくは相互に関連を持つ決定木群を生成し、生成された該決定木若しくは決定木群により因果関係を分析することが可能とされていることを特徴とする請求項21に記載のエキスパートシステム生成装置。   Rule generation means can generate decision trees that express various causal relationships inherent in cases or groups of mutually related decision trees, and analyze the causal relationships using the generated decision trees or decision tree groups The expert system generation device according to claim 21, wherein ルール生成手段は、事例の各属性項目に対して、条件属性か結論属性かを任意に選択できることを特徴とする請求項22記載のエキスパートシステム生成装置。   The expert system generation apparatus according to claim 22, wherein the rule generation means can arbitrarily select a condition attribute or a conclusion attribute for each attribute item of the case. ルール生成手段は、特定の結論属性に対応する決定木のみを生成することが可能とされていることを特徴とする請求項22又は23に記載のエキスパートシステム生成装置。   The expert system generation device according to claim 22 or 23, wherein the rule generation means is capable of generating only a decision tree corresponding to a specific conclusion attribute. ルール生成手段は、事例が集積された事例ベースに対して複数の結論属性項目を持つことを可能とし、各結論属性に対応する決定木を比較するためのユーザーインターフェースを備えていることを特徴とする請求項22乃至24のいずれか1項記載のエキスパートシステム生成装置。   The rule generation means can have a plurality of conclusion attribute items for a case base in which cases are accumulated, and has a user interface for comparing decision trees corresponding to each conclusion attribute. The expert system generation device according to any one of claims 22 to 24. ルール生成手段は、生成された決定木の結論属性値に、別の決定木を結合させる展開連接が可能とされていることを特徴とする請求項22乃至25のいずれか1項記載のエキスパートシステム生成装置。   The expert system according to any one of claims 22 to 25, wherein the rule generation means is capable of expanding and concatenating another decision tree with a conclusion attribute value of the generated decision tree. Generator. ルール生成手段は、生成された決定木の条件属性項目に対して、該条件属性項目の全属性値を結論属性値として持つ別の決定木を結合させる詳細連接が可能とされていることを特徴とする請求項22乃至26のいずれか1項記載のエキスパートシステム生成装置。   The rule generation means is characterized in that detailed concatenation is possible for a condition attribute item of the generated decision tree, in which another decision tree having all attribute values of the condition attribute item as conclusion attribute values is combined. 27. The expert system generation device according to any one of claims 22 to 26. ルール生成手段は、結論属性値が数値型である場合において、該結論属性値を回帰直線で近似し、近似残差を結論属性の幅として求めることを特徴とする請求項22乃至27のいずれか1項記載のエキスパートシステム生成装置。   The rule generation means, when the conclusion attribute value is a numerical type, approximates the conclusion attribute value with a regression line and obtains the approximate residual as the width of the conclusion attribute. The expert system generator according to claim 1. 請求項1乃至28のいずれか1項記載のエキスパートシステム生成装置を用いて専門家の知識をルール化することを特徴とするエキスパートシステム生成装置の実施方法。   29. A method for implementing an expert system generation device, characterized in that expert knowledge is ruled using the expert system generation device according to any one of claims 1 to 28. ルール化された専門家の知識により、該専門家の行為を自動化することを特徴とする請求項29記載のエキスパートシステム生成装置の実施方法。   30. The method of implementing an expert system generation apparatus according to claim 29, wherein the expert's action is automated based on the ruled expert's knowledge. ルール化された専門家の知識により、人の作業を支援することを特徴とする請求項30記載のエキスパートシステム生成装置の実施方法。   31. The method of implementing an expert system generation apparatus according to claim 30, wherein a person's work is supported by the knowledge of a ruled expert. ルール化された専門家の知識により、人を教育することを特徴とする請求項30又は31記載のエキスパートシステム生成装置の実施方法。   32. The method for implementing an expert system generation apparatus according to claim 30 or 31, wherein a person is educated based on ruled expert knowledge. 専門家は産業プロセスに関する専門家であることを特徴とする請求項30乃至32のいずれか1項記載のエキスパートシステム生成装置の実施方法。   33. The method of implementing an expert system generation apparatus according to any one of claims 30 to 32, wherein the expert is an expert on an industrial process. 産業プロセスは精留塔を利用した精製プラントであることを特徴とする請求項33記載のエキスパートシステム生成装置の実施方法。   34. The method for implementing an expert system generation apparatus according to claim 33, wherein the industrial process is a refining plant using a rectification column. 精製プラントからの事例の獲得は、精留塔に設けられた温度センサ、圧力センサ、流量センサ、サウンドセンサ、画像センサの少なくとも一つを介してなされることを特徴とする請求項34記載のエキスパートシステム生成装置の実施方法。   35. The expert according to claim 34, wherein the acquisition of the case from the refinery plant is performed through at least one of a temperature sensor, a pressure sensor, a flow rate sensor, a sound sensor, and an image sensor provided in the rectifying column. Implementation method of system generation device.
JP2005133850A 2004-04-30 2005-05-02 Expert system creation device and executing method for the same device Pending JP2005339529A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005133850A JP2005339529A (en) 2004-04-30 2005-05-02 Expert system creation device and executing method for the same device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004135580 2004-04-30
JP2005133850A JP2005339529A (en) 2004-04-30 2005-05-02 Expert system creation device and executing method for the same device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2011233189A Division JP5572615B2 (en) 2004-04-30 2011-10-24 Expert system generation device and implementation method of expert system generation device

Publications (1)

Publication Number Publication Date
JP2005339529A true JP2005339529A (en) 2005-12-08

Family

ID=35492979

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005133850A Pending JP2005339529A (en) 2004-04-30 2005-05-02 Expert system creation device and executing method for the same device

Country Status (1)

Country Link
JP (1) JP2005339529A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010116450A1 (en) * 2009-03-30 2010-10-14 富士通株式会社 Decision tree generation program, decision tree generation method, and decision tree generation apparatus
JP2012043459A (en) * 2004-04-30 2012-03-01 Yoichiro Ito Expert system generation apparatus and method for executing expert system generation apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05224936A (en) * 1992-02-10 1993-09-03 Nippon Telegr & Teleph Corp <Ntt> Rule generating method
JPH0696044A (en) * 1992-09-11 1994-04-08 Meidensha Corp Method for generating determination tree in recursive learning system
JPH06208568A (en) * 1993-01-08 1994-07-26 Nikon Corp Fault diagnosis assisting device
JPH08161172A (en) * 1994-12-08 1996-06-21 Nippon Telegr & Teleph Corp <Ntt> Knowledge correction type learning system
JPH09204310A (en) * 1996-01-25 1997-08-05 Toshiba Corp Judgement rule correction device and judgement rule correction method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05224936A (en) * 1992-02-10 1993-09-03 Nippon Telegr & Teleph Corp <Ntt> Rule generating method
JPH0696044A (en) * 1992-09-11 1994-04-08 Meidensha Corp Method for generating determination tree in recursive learning system
JPH06208568A (en) * 1993-01-08 1994-07-26 Nikon Corp Fault diagnosis assisting device
JPH08161172A (en) * 1994-12-08 1996-06-21 Nippon Telegr & Teleph Corp <Ntt> Knowledge correction type learning system
JPH09204310A (en) * 1996-01-25 1997-08-05 Toshiba Corp Judgement rule correction device and judgement rule correction method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012043459A (en) * 2004-04-30 2012-03-01 Yoichiro Ito Expert system generation apparatus and method for executing expert system generation apparatus
WO2010116450A1 (en) * 2009-03-30 2010-10-14 富士通株式会社 Decision tree generation program, decision tree generation method, and decision tree generation apparatus
JP5293810B2 (en) * 2009-03-30 2013-09-18 富士通株式会社 Decision tree generation program, decision tree generation method, and decision tree generation apparatus
US8606737B2 (en) 2009-03-30 2013-12-10 Fujitsu Limited Recording medium storing decision tree generating program, decision tree generating method and decision tree generating apparatus

Similar Documents

Publication Publication Date Title
Maytorena et al. The influence of experience and information search styles on project risk identification performance
JP2829241B2 (en) Plant support equipment
CN110532019B (en) Method for tracing history of software code segment
KR20120069606A (en) Method of establishing a process decision support system
JP2018156346A5 (en)
CN116681250A (en) Building engineering progress supervisory systems based on artificial intelligence
JP2009015603A (en) Operation item extraction device, operation item extraction method, and operation item extraction program
JP7012865B2 (en) Manufacturing system design support device
JP4069701B2 (en) Work support device
JP2005339529A (en) Expert system creation device and executing method for the same device
Chakhchoukh et al. Understanding how in-visualization provenance can support trade-off analysis
JP5572615B2 (en) Expert system generation device and implementation method of expert system generation device
JP2018147351A (en) Knowledge model construction system and knowledge model construction method
Suschnigg et al. Industrial Production Process Improvement by a Process Engine Visual Analytics Dashboard.
WO2021104608A1 (en) Method for producing an engineering proposal for a device or plant
JP2012037787A (en) Plant operation proficiency evaluation apparatus and method
JPH0644074A (en) Knowledge base, inference method and descriptive text preparation method
JP6775740B1 (en) Design support device, design support method and design support program
DE102020215589A1 (en) CONTROLLING A DEEP-SEQUENCE MODEL WITH PROTOTYPES
JP6519901B1 (en) Plant equipment information management system
JP2022179882A (en) Plan evaluation apparatus and plan evaluation method
Taillandier et al. Knowledge revision in systems based on an informed tree search strategy: application to cartographic generalisation
Scheffer et al. Supporting maintenance operators using augmented reality decision-making: visualize, guide, decide & track
WO2020200750A1 (en) Method and system for operating an industrial automation system
Schwarz et al. Towards an integrated sustainability evaluation of energy scenarios with automated information exchange

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080418

A625 Written request for application examination (by other person)

Free format text: JAPANESE INTERMEDIATE CODE: A625

Effective date: 20080502

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110823

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20111024

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120113