JPH0668066A - Decision condition generating method - Google Patents

Decision condition generating method

Info

Publication number
JPH0668066A
JPH0668066A JP24576792A JP24576792A JPH0668066A JP H0668066 A JPH0668066 A JP H0668066A JP 24576792 A JP24576792 A JP 24576792A JP 24576792 A JP24576792 A JP 24576792A JP H0668066 A JPH0668066 A JP H0668066A
Authority
JP
Japan
Prior art keywords
combination
storage device
attribute
attribute values
negative
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.)
Withdrawn
Application number
JP24576792A
Other languages
Japanese (ja)
Inventor
Kenichi Hagiwara
賢一 萩原
Takeshi Terasaki
健 寺崎
Teruaki Matsui
照明 松井
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP24576792A priority Critical patent/JPH0668066A/en
Publication of JPH0668066A publication Critical patent/JPH0668066A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To use a small-sized computer by applying the version space method to the field to easily generate and correct a decision condition. CONSTITUTION:After a storage device 100 is initialized by a processor 200, the combination of attribute values of a positive instance in instance data 300 is set to the storage device, and the number of positive instances is set to '1', and combinations of attribute values of negative instances are set in the storage device. One is added to the number of negative instances of a combination of attribute values if this combination of attribute values exists in combinations of attribute values set as negative instances, and the number of negative instances is set. 'necessary' is set to the necessary/unnecessary column corresponding to the combination having the smallest number of attributes out of combinations of attributes whose number of negative instances is '0', and 'unnecessary' is set to the necessary/unnecessary column corresponding to the combination of all attribute values including combinations of attribute values, which are set to 'necessary' by the processing, out of combinations of attribute values whose number of negative instances is '0'. This operation is repeated to generate the combination of attribute values, which is included in positive instances but is not included in negative instances, as the decision condition.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は判別条件生成方法に関す
る。詳しくは、各種設備において、いくつかの観測デー
タが与えられた場合に、それらの属性の成否(観測され
た数値データが特定の値域にあるか否か、または離散デ
ータが特定の集合に属しているか否か)が、その設備の
ある目的に適合する(正の例)か否(負の例)かを判別
するための判別条件を、属性値及びこの属性値に基づく
判別結果により構成される事例データと、属性値の組合
せ等が設定される記憶装置の内容とに基づいて生成する
方法に関し、例えばプラントの故障診断システム等に適
用される判別条件生成方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a discriminating condition generating method. In detail, in some equipment, when some observation data are given, the success or failure of those attributes (whether the observed numerical data is in a specific range, or the discrete data belongs to a specific set). Whether or not) is suitable for a certain purpose of the facility (positive example) and whether or not (negative example) is determined by an attribute value and a determination result based on this attribute value. The present invention relates to a method of generating based on case data and contents of a storage device in which a combination of attribute values and the like are set, for example, a discrimination condition generating method applied to a failure diagnosis system of a plant or the like.

【0002】[0002]

【従来の技術】従来、この種の判別条件は、各種設備に
組み込まれて設備の各部分からの状態信号を受け、これ
らの状態信号に基づいて設備の故障の有無等を判別する
ために使用されている。ここで、設備は同一であっても
その設置環境や運転の仕方によって故障の起き方に差異
が出るものであるため、故障診断の判別条件を設定する
に当たっても、一つの設備について画一的な判別条件を
設定することはできない。そこで、理想的には、その設
備を保守している専門家等が把握している故障原因と、
故障時の現象の現われ方等を踏まえた判別条件を、設備
ごとに個別に設定して設備に組み込むことが望まれる。
2. Description of the Related Art Conventionally, this type of determination condition is incorporated in various types of equipment and receives status signals from various parts of the equipment, and is used to determine the presence or absence of equipment failure based on these status signals. Has been done. Here, even if the equipment is the same, the way in which the failure occurs differs depending on the installation environment and the operating method, so even when setting the conditions for determining failure diagnosis, there is a uniform The judgment condition cannot be set. Therefore, ideally, the cause of failure understood by the experts who maintain the equipment,
It is desirable to set the judgment conditions based on the appearance of phenomena at the time of failure individually for each equipment and incorporate it into the equipment.

【0003】従来、このような専門家のノウハウに基づ
く判別条件を作成するためには、判別時に注目するデー
タ(設備各部分からの状態信号等)を決定し、これらの
データの具体的数値等について一定の条件が成立してい
るか否かという属性の成否を決定し、これら属性の成否
の現われ方と故障時の原因との相関をすべてのケースに
ついて整理することが専門家に求められていた。このた
め、専門家の思い違いにより誤った判別条件を作成して
しまったり、考慮が足りずに属性の種類や故障ケースに
過不足が生じる場合があった。
Conventionally, in order to create a discrimination condition based on such expert know-how, data to be noticed at the time of discrimination (state signals from each part of the equipment, etc.) are determined, and specific numerical values of these data are used. Experts were required to determine the success or failure of the attributes of whether or not a certain condition has been met, and to sort out the correlation between the appearance of the success or failure of these attributes and the cause of failure in all cases. . For this reason, there are cases in which an erroneous determination condition is created due to the misunderstanding of an expert, and due to insufficient consideration, there are excesses and deficiencies in the types of attributes and failure cases.

【0004】また、こうして作成した判別条件を検証す
るためには、データを入力して判別条件による判別結果
を専門家の知見と比較し、もし誤りがあれば予め設定し
た属性や判別条件を修正することが必要であった。この
場合、専門家は誤りのあった故障ケースについて個々に
属性や判別条件を修正するので、属性や判別条件の相互
関連に気付かず、いつまでも修正作業を繰り返して終わ
らないという事態も生じていた。
Further, in order to verify the discriminant condition thus created, data is input and the discriminant result by the discriminant condition is compared with the expert's knowledge, and if there is an error, the preset attribute or discriminant condition is corrected. It was necessary to do. In this case, since the expert individually corrects the attribute and the judgment condition for the faulty failure case, there is a situation in which the correction work is not completed forever without noticing the mutual relation of the attribute and the judgment condition.

【0005】これらの問題点を解決するために、従来か
ら判別条件の修正を自動化する方法がいくつか提案され
てきた(例えば、Ginsberg,A.,Weiss,S. and Politaki
s,P.," SEEK 2: A Generalized Approach to Automatic
Knowledge Base Refinement" Proc. of IJCAI - 85,p
p. 367 - 374, 1985 参照)。これらの方法は、誤りの
あった故障ケースについて、すべての判別条件の相互関
連を調べた上で最も有効そうな判別条件を修正するもの
である。但し、これらの方法が効率良く動作するために
は、対象となる判別条件が事前にかなりうまく整理され
ていることが必要であり、また、属性の成立条件の修正
には使うことができない。このため、最初に属性や判別
条件を整理する専門家の負担は依然として大きく残され
ていた。
In order to solve these problems, some methods have conventionally been proposed for automating the correction of discrimination conditions (for example, Ginsberg, A., Weiss, S. and Politaki.
s, P., "SEEK 2: A Generalized Approach to Automatic
Knowledge Base Refinement "Proc. Of IJCAI-85, p
p. 367-374, 1985). These methods correct the discriminant condition that seems to be most effective after examining the mutual relations of all the discriminant conditions in the fault case having an error. However, in order for these methods to operate efficiently, it is necessary that the target discriminating conditions are well organized in advance, and they cannot be used to correct the conditions for establishing attributes. For this reason, the burden on the expert who first sorts out the attributes and the discrimination conditions remains large.

【0006】そこで、この負担を軽減するために、事例
に基づいて判別条件を自動生成する方法が、従来からい
くつか提案されている(例えばバージョン空間法,Mich
ell,T.M. "Version Spaces : A Candidate Elimination
Approach to Rule Learning" Proc. of 5th IJCAI, p
p. 305 - 310, 1977 参照)。これらの方法は、いくつ
かの属性の成否及び専門家による判別結果から構成され
る事例を入力し、それらの事例を誤りなく判別する判別
条件を生成するものである。なお、これらの方法は「例
題からの学習」と呼ばれている。
Therefore, in order to reduce this burden, some methods have been proposed in the past for automatically generating a discrimination condition based on a case (for example, the version space method, Mich.
ell, TM "Version Spaces: A Candidate Elimination
Approach to Rule Learning "Proc. Of 5th IJCAI, p
p. 305-310, 1977). These methods input a case composed of success or failure of some attributes and a judgment result by an expert, and generate a judgment condition for judging the cases without error. Note that these methods are called "learning from examples".

【0007】[0007]

【発明が解決しようとする課題】例題からの学習を利用
して知識ベースを作成し、洗練化するとき、我々は下記
の3つの要素を用意する。 判別条件の条件部を記述する属性値の体系 判別条件の実行部を記述する目標概念の集合 目標概念の正例と負例とからなる事例データ なお、以下において、「属性とそれらが取り得る属性値
の体系」という意味で、「背景知識」という用語を適宜
使用する。
When creating and refining a knowledge base using learning from examples, we provide the following three elements. System of attribute values that describe the condition part of the discriminant condition Set of target concepts that describe the execution part of the discriminant condition Case data consisting of positive and negative examples of the target concept Note that in the following, "attributes and their possible attributes The term “background knowledge” is used as appropriate to mean “system of values”.

【0008】ところが、例題からの学習などの方法を適
用しようとする現場は、一般に以下のような状況にあ
る。 (1)現場では、背景知識が必ずしも整理されていな
い。例えば、マンパワー割り付け業務では、「今月の負
荷が高い」というような表現が使われる。しかし、負荷
が「高い」という属性値の定義は、必ずしも一定してい
ない。すなわち、ある人間は、担当者の能力上限に対し
て負荷が「70%以上」のとき「高い」といい、また、
別の人間は、「90%以上」のとき「高い」という。こ
れは明らかに混乱のもととなり、知識ベース作成の作業
効率を低下させる。
However, the field where the method such as learning from the example is applied is generally in the following situation. (1) Background knowledge is not always organized on-site. For example, in the manpower allocation work, an expression such as "the load of this month is high" is used. However, the definition of the attribute value that the load is “high” is not always constant. That is, a person is said to be “high” when the load is “70% or more” with respect to the capacity upper limit of the person in charge.
Another person is "high" when "90% or more". This obviously causes confusion and reduces the work efficiency of knowledge base creation.

【0009】(2)現場から収集した事例データの品質
は必ずしも良くない。事例データには、いくつかの属性
値とそのとき専門家が推論した目標概念とが記録されて
いる。専門家が常に正しい推論結果を出すという保証は
ない。また、必要な属性値がすべて誤りなく記録されて
いるとは限らない。事例データは学習すべき目標概念の
具体例であり、この事例データの中に誤ったものや例外
として扱った方が判り易いものが含まれていると、知識
ベースの作成効率や信頼性は低下する。
(2) The quality of case data collected from the site is not always good. In the case data, some attribute values and the goal concept inferred by the expert at that time are recorded. There is no guarantee that the expert will always give correct inference results. Also, not all required attribute values are recorded without error. Case data is a concrete example of a goal concept to be learned, and if this case data contains mistakes or things that are easy to understand as exceptions, the efficiency and reliability of knowledge base creation will decrease. To do.

【0010】(3)漸進的でない知識ベースの変更は歓
迎されない。専門家は、洗練化の過程で属性値の定義を
変更したり、事例データを追加除外する。このとき、一
般的には作成される判別条件の形が変わる。この形の変
化が大きいと、専門家がそれを理解するのが難しくな
る。このことは、専門家の協力を得る上で好ましくな
い。
(3) Non-gradual knowledge base changes are not welcome. The expert changes the definition of the attribute value or excludes the case data during the refinement process. At this time, generally, the form of the discriminant conditions created changes. This large change in shape makes it difficult for professionals to understand it. This is unfavorable for the cooperation of experts.

【0011】このような現場の状況であるため、完全な
背景知識と誤りのない事例データとを前提とする例題か
らの学習は、適用が困難である。本発明は上記問題点を
解決するためになされたものであり、下記の事項をその
目的とする。 (1)専門家による背景知識の設定及び調整を支援可能
にすること 背景知識は、知識ベース全体の整合性を保証するために
重要なものである。この要件は、専門家の背景知識を取
り入れ易くし、属性値の意味を明確に定義するために必
要である。また、専門家が学習過程を制御できるように
し、学習の結果として得られる判別条件を判り易いもの
にするためにも必要である。
Because of the situation in the field, it is difficult to apply the learning from the examples that are based on the complete background knowledge and the case data without error. The present invention has been made to solve the above problems, and has the following objects. (1) Supporting the setting and adjustment of background knowledge by experts Background knowledge is important for ensuring the consistency of the entire knowledge base. This requirement is necessary to facilitate the incorporation of background knowledge of experts and to clearly define the meaning of attribute values. It is also necessary to allow an expert to control the learning process and to easily understand the discrimination condition obtained as a result of learning.

【0012】(2)特異な事例データを検出できること 事例データは、判別条件を作成し検証する上で重要なも
のである。この要件は、事例データの中から誤ったもの
や例外的なものを検出し易くし、学習効率を高めるため
に必要である。 (3)洗練化の前後において判別条件の変化を最小限に
抑えること この要件は、洗練化の過程を専門家にとって判り易くす
るために必要である。そして、判別条件を漸進的に洗練
化していけるようにするためにも必要である。
(2) Being able to detect peculiar case data Case data is important for creating and verifying discrimination conditions. This requirement is necessary for facilitating detection of erroneous or exceptional data from the case data and improving learning efficiency. (3) Minimize changes in discriminant conditions before and after refinement This requirement is necessary to make the process of refinement easy for experts to understand. It is also necessary so that the discriminant conditions can be gradually refined.

【0013】より具体的に言えば、本発明は、例題から
の学習(特に、バージョン空間法)を現場で適用して判
別条件を容易に生成し、その判別条件を用いて判別処理
を行うと共に、判別に誤りがあったときには直ちに判別
条件を修正できるような判別条件生成方法の提供をその
目的としている。
More specifically, according to the present invention, learning from an example (in particular, version space method) is applied in the field to easily generate a discrimination condition, and the discrimination processing is performed using the discrimination condition. The object of the present invention is to provide a discrimination condition generation method capable of immediately correcting the discrimination condition when there is an error in discrimination.

【0014】[0014]

【課題を解決するための手段】上記目的を達成するた
め、第1発明は、複数種類の属性についての各属性値
と、これらの属性値に対する判別結果とからなる事例を
複数有し、少なくとも一つの事例の判別結果が正である
事例データと、同一の属性が重複しないように組み合わ
される属性値の組合せと、これらの属性値の組合せに対
応し、判別結果が正である事例(以下、正例という)そ
のものか、それとも、その正の事例の属性を組み合わせ
たものなのかを判別するための値としての正例数及び負
である事例(以下、負例という)の数としての負例数
と、前記属性値の組合せの要不要に関する要否とがそれ
ぞれ設定される記憶装置と、事例データに基づき、記憶
装置の初期化、正例数及び負例数の設定、並びに要否の
設定を行う処理装置とを備え、処理装置により、記憶装
置における属性値の組合せ及び要否を「空白」とし、か
つ正例数及び負例数に「0」を設定して記憶装置を初期
化した後、事例データ中の正例における複数の属性値に
ついてすべての組合せを記憶装置に設定すると共に事例
データ中の正例に対応する正例数に「1」を設定し、事
例データ中の負例における複数の属性値の組合せを記憶
装置に設定し、記憶装置における属性値の組合せの各々
について、各組合せが負例として設定された属性値の組
合せ中に存在すれば負例数を一つ積算することにより負
例数を設定し、記憶装置における負例数が「0」である
属性値の組合せのうち、属性数が最も少ない組合せに対
応する要否に「要」を設定すると共に、記憶装置におけ
る負例数が「0」である属性値の組合せのうち、上記処
理により要否が「要」と設定された属性値の組合せを包
含するすべての属性値の組合せに対応する要否に「否」
を設定することにより、正例に含まれ、かつ負例に含ま
れない属性値の組合せを正例及び負例の判別条件として
生成するものである。
In order to achieve the above object, the first aspect of the present invention has a plurality of cases each including attribute values of a plurality of types of attributes and a determination result for these attribute values, and at least one Corresponding to the combination of case data in which the discrimination result of two cases is positive, the combination of the attribute values in which the same attribute is not duplicated, and the combination of these attribute values, the discrimination result is positive (hereinafter, The number of positive examples as a value to determine whether it is itself or a combination of the attributes of the positive examples and the number of negative examples as the number of negative examples (hereinafter referred to as negative examples). And a storage device in which the necessity of necessity of the combination of the attribute value is set, respectively, and based on the case data, initialization of the storage device, setting of the number of positive cases and negative cases, and setting of necessity With the processing equipment The processing device sets the combination and necessity of attribute values in the storage device to “blank”, sets the positive example number and the negative example number to “0”, and initializes the storage device. All combinations of a plurality of attribute values in the positive example are set in the storage device, the number of positive cases corresponding to the positive example in the case data is set to “1”, and the plurality of attribute values in the negative example in the case data are set. The number of negative examples is set by setting combinations in the storage device, and for each combination of attribute values in the storage device, if each combination exists in the combination of attribute values set as a negative example, the number of negative examples is integrated. Is set, and "necessity" is set to the necessity or non-necessity corresponding to the combination having the smallest number of attributes among the combinations of the attribute values having the negative number of "0" in the storage device, Of attribute value combinations that are "0" Chi, "No" in necessity for all combinations of attribute values including a combination of attribute values necessity is set to "required" by the process
Is set, a combination of attribute values included in the positive example and not included in the negative example is generated as the determination condition for the positive example and the negative example.

【0015】第2発明は、第1発明の判別条件生成方法
により生成された記憶装置と、属性値が入力される入力
装置と、推論結果が出力される出力装置と、入力装置か
ら入力された属性値を記憶装置の内容と比較して推論を
行い、推論結果の評価に応じて記憶装置の内容を修正す
る処理装置とを備え、処理装置は、入力装置から入力さ
れた属性値を、記憶装置における要否が「要」である属
性値の組合せと比較し、この属性値の組合せを前記入力
装置から入力された属性値が少なくとも含んでいれば
「正」、含んでいなければ「負」という推論結果を出力
装置に出力させ、次に、上記推論結果が正しいと評価さ
れたときには何ら処理を行わず、また、上記推論結果が
正しくないと評価され、入力装置から別の結論「負」が
入力されたときには、記憶装置内に追加された属性値の
組合せ欄に入力装置に保存されている属性値を設定する
と共に、正例数に「0」、負例数に「1」、要否に「空
白」をそれぞれ設定し、記憶装置における従前の属性値
の組合せのうち、新たに追加した属性値の組合せの内容
に含まれるものに対応する負例数を「1」だけ増やし、
かつ、対応する要否が「要」であればこれを「空白」に
し、次いで、記憶装置を検索して要否が「否」である属
性値の組合せの内容が、要否が「要」である他の何れの
属性値の組合せの内容をも含まない場合は要否を「否」
から「要」に変更し、前記推論結果が正しくないと評価
され、入力装置から別の結論「正」が入力されたときに
は、記憶装置内に追加された属性値の組合せ欄に、入力
装置に保存されている属性値を設定すると共に、正例数
に「1」、負例数に「0」、要否に「要」をそれぞれ設
定し、このようにして記憶装置の内容を修正することに
より、正例及び負例の判別条件を生成するものである。
According to a second aspect of the present invention, a storage device generated by the discriminating condition generating method of the first aspect of the invention, an input device to which an attribute value is input, an output device to which an inference result is output, and an input device is input. A processing device that compares the attribute value with the content of the storage device to perform inference, and corrects the content of the storage device according to the evaluation of the inference result, and the processing device stores the attribute value input from the input device. It is compared with a combination of attribute values whose necessity in the device is "necessary", and "positive" if the attribute values input from the input device include at least this combination of attribute values, and "negative" if not included. When the above inference result is evaluated to be correct, no processing is performed, and the above inference result is evaluated to be incorrect. When is input The attribute value stored in the input device is set in the attribute value combination field added in the storage device, and the number of positive cases is set to "0", the number of negative cases is set to "1", and "blank" is set for necessity. The number of negative examples corresponding to those included in the content of the newly added attribute value combination among the attribute value combinations previously set in the storage device is increased by "1",
If the corresponding necessity is "necessary", this is set to "blank", and then the contents of the attribute value combination whose necessity is "not required" are searched for in the storage device and the necessity is "necessary". If it does not include the contents of any other combination of attribute values, the necessity is “No”.
To "necessary", the inference result is evaluated as incorrect, and another conclusion "correct" is input from the input device, the attribute value combination field added in the storage device is added to the input device. The stored attribute value is set, and the number of positive examples is set to "1", the number of negative examples is set to "0", and the necessity is set to "necessary", and the contents of the storage device are corrected in this way. According to this, the discrimination conditions of the positive example and the negative example are generated.

【0016】[0016]

【作用】本発明は、次のような作用を有する。 A.背景知識の調整を支援する。 (1)例外的な事例データの検出 バージョン空間法では、少数の負例が存在するために、
共通の属性値の組合せを持ちながら、より一般化された
節点としてまとめられない複数の節点が発生し得る。そ
の結果、作成される判別条件は細分化する。そこで本発
明では、バージョン空間における最も一般的な節点を調
べ、下記の条件を満たす節点があればそれらを検出す
る。 ・含まれる属性の個数が同一である。 ・1個を除く残りのすべての属性値が同一である。
The present invention has the following actions. A. Support adjustment of background knowledge. (1) Detection of exceptional case data Since there are a small number of negative cases in the version space method,
Multiple nodes may occur that have common attribute value combinations but are not grouped as more generalized nodes. As a result, the created discrimination conditions are subdivided. Therefore, in the present invention, the most common nodes in the version space are examined, and if there are nodes that satisfy the following conditions, they are detected. -The number of included attributes is the same. • All but one attribute value is the same.

【0017】次に、これらの節点がより一般化された節
点としてまとまることを阻害している負例を検出する。
そして、これら一般化される可能性のある節点と、それ
らが共通して持つ属性とを専門家に提示する。更に、一
般化を阻害している事例データを例外の可能性があるも
のとして専門家に提示する。
Next, a negative example in which these nodes are prevented from being collected as a more generalized node is detected.
Then, the experts are presented with the nodes that may be generalized and the attributes that they have in common. In addition, case data that impedes generalization is presented to experts as possible exceptions.

【0018】(2)未知の事例データの検出 学習結果の信頼性を評価するために、一般に次の方法が
採られる。すなわち、事例データを学習用とテスト用と
に分割し、まず、学習用の事例データを使って判別条件
を作成する。次に、テスト用の事例データの各々につい
て、その属性値を判別条件に与え、その推論結果と事例
データ中の目標概念とを比較する。そして、両者が一致
した事例データ数の全体に対する割合を判別条件の信頼
性の評価値とする。
(2) Detection of unknown case data In order to evaluate the reliability of the learning result, the following method is generally adopted. That is, the case data is divided into learning data and test data, and first, the discrimination conditions are created using the learning data. Next, for each of the test case data, the attribute value is given to the discrimination condition, and the inference result is compared with the target concept in the case data. Then, the ratio of the number of case data items in which both match to the whole is taken as the evaluation value of the reliability of the discrimination condition.

【0019】推論を実行せずにバージョン空間において
直接、上記の評価を行うために、テスト用事例データを
バージョン空間の節点に対応付ける。もし、現在のバー
ジョン空間の節点に対応付けられない正例があれば、そ
れらを検出し、目標概念と共に専門家に提示する。ま
た、現在のバージョン空間の節点に対応付けられる負例
があれば、それらを検出し、目標概念と共に専門家に提
示する。このとき、負例に共通して含まれる属性値も検
出し、併せて提示する。
In order to perform the above evaluation directly in the version space without performing inference, the test case data are associated with the nodes in the version space. If there are positive examples that cannot be associated with the current version space nodes, they are detected and presented to the expert along with the goal concept. Also, if there are negative examples associated with the nodes in the current version space, they are detected and presented to the expert together with the goal concept. At this time, the attribute values commonly included in the negative examples are also detected and presented together.

【0020】以上の拡張機能は、何れもバージョン空間
の中の特定の節点に対応付けられた事例データを専門家
に提示する。専門家は、指摘された事例データを現在対
応付けられている節点から除くことを試みる。そのため
には、次の2つの対処法がある。 指摘された事例データ自体を取り除く。 専門家は、指摘された事例データの内容を見直し、これ
が誤っていたり例外的なものであることが判れば、それ
を修正または削除する。
Each of the above-mentioned extended functions presents to the expert case data associated with a specific node in the version space. The expert attempts to remove the pointed case data from the currently associated nodes. For that purpose, there are the following two countermeasures. Remove the pointed out case data itself. The expert reviews the content of the case data pointed out and, if found to be incorrect or exceptional, corrects or deletes it.

【0021】背景知識の定義を変更して、指摘された
事例データを他の節点に移動する。専門家は、指摘され
た属性値の定義を見直し、下記のような移動を実現する
ために定義を変更する。 ・本発明の方法が指摘した少数派の事例データを他の節
点に移動する。 ・本発明の方法が指摘した負例をバージョン空間の外に
移動する。 ・本発明の方法が指摘した正例をバージョン空間の中に
移動する。 本発明の方法では、注目している節点が共通してもつ属
性の組合せを提示する。これらの属性の内のいくつかが
定義変更の対象となる。
The definition of background knowledge is changed to move the pointed out case data to another node. The expert reviews the definition of the indicated attribute value and changes the definition in order to realize the following movement. Move the minority case data pointed out by the method of the present invention to another node. Move the negative examples pointed out by the method of the invention out of the version space. Move the positive example pointed out by the method of the present invention into the version space. The method of the present invention presents a combination of attributes that the nodes of interest have in common. Some of these attributes are subject to definition changes.

【0022】B.現場の事例データを利用する。 (1)連続的な属性値の許容 バージョン空間法は、離散的な属性値しか受け付けな
い。そこで、連続的な属性値の値域をいくつかの離散的
な区間に分割し、新たな属性値として背景知識に入れら
れるようにし、連続的な属性値も扱えるようにした。連
続的な属性値が与えられると、その値を含む区間に対応
する離散的な属性値に変換される。
B. Use on-site case data. (1) Permitting continuous attribute values The version space method accepts only discrete attribute values. Therefore, we divided the range of continuous attribute values into some discrete intervals so that we could include them in the background knowledge as new attribute values, and we were able to handle continuous attribute values as well. When a continuous attribute value is given, it is converted into a discrete attribute value corresponding to the section including the value.

【0023】(2)欠損値の許容 事例データの属性に欠損値があると、バージョン空間法
は学習できない。そこで、欠損値が存在する場合は、そ
の属性はどんな値でもよいものと解釈することにして、
事例データのすべての属性に値が設定されていなくても
良いようにした。
(2) Acceptance of Missing Values If the attribute of the case data has a missing value, the version space method cannot be learned. Therefore, if there is a missing value, interpret that attribute as any value.
Values are not required to be set for all attributes of case data.

【0024】(3)少数の事例データへの対応 十分な量の事例データに基づいてバージョン空間内の節
点を消去していき、最後に1つの節点に収束しなけれ
ば、バージョン空間法は学習を完了できない。そこで、
入力されたすべての事例データを使ってもバージョン空
間が1つの節点に収束しないときは、最も一般的な節点
を学習結果として出力するようにした。そして、知識ベ
ースの運用時に負例が得られたら、過剰な一般化を修正
するようにした。
(3) Correspondence to a small number of case data If the nodes in the version space are deleted based on a sufficient amount of case data, and finally converge to one node, the version space method does learning. I can't finish. Therefore,
When the version space does not converge to one node even if all the input case data are used, the most general node is output as the learning result. Then, if a negative example was obtained during the operation of the knowledge base, the excessive generalization was corrected.

【0025】(4)誤った事例データの検出 同じ属性値の組合せで異なる目標概念を含む事例データ
があると、バージョン空間法は学習に失敗する。そこ
で、バージョン空間を作成する前に、矛盾した事例デー
タがあればそれを検出するようにし、目標概念と共に専
門家に提示するようにした。例えば、同じ属性値の組合
せで正例がm個、負例がn個あり、m<nの場合を考え
る。このとき、正例となっている事例データを、誤りの
可能性があるものとして専門家に提示する。すなわち、
バージョン空間の中の1つの節点に正例と負例とが同時
に対応付けられた状態を検出すると、少数派の事例デー
タの方を専門家に提示する。
(4) Detection of erroneous case data If there are case data containing different target concepts with the same combination of attribute values, the version space method fails to learn. Therefore, before creating the version space, if there is inconsistent case data, it is detected and presented to the expert together with the goal concept. For example, consider the case where there are m positive examples and n negative examples with the same combination of attribute values, and m <n. At this time, the case data that is a positive example is presented to the expert as a possibility of an error. That is,
When a state in which a positive example and a negative example are simultaneously associated with one node in the version space is detected, the minor case data is presented to the expert.

【0026】(5)事例データの自動収集 一般に事例データの収集には、時間と手間がかかる。特
に、あるデータから計算して事例データを作り出す場合
には尚更である。そこで、一度作った判別条件により判
別処理を行いながら、専門家に判別結果を評価してもら
い、その結果を事例データとして自動的に蓄積するよう
にした。
(5) Automatic collection of case data Generally, it takes time and effort to collect case data. This is especially true when case data is created by calculating from certain data. Therefore, while performing the discrimination process based on the discriminant that was created once, an expert evaluates the discrimination result, and the result is automatically stored as case data.

【0027】(6)使用属性の選択 事例データに含まれる属性には、判別処理に直接必要な
いものもあり得るが、それらを除いて事例データを作り
直すのには多くの時間がかかる。そこで、事例データを
作り直さなくても、必要な属性のみを選択できるように
した。
(6) Selection of Usage Attribute Although some attributes included in the case data may not be directly necessary for the discrimination processing, it takes a lot of time to recreate the case data except them. Therefore, we made it possible to select only the required attributes without recreating the case data.

【0028】C.小形コンピュータにより利用する。従
来の判別条件生成方法は一括処理方法であることから、
処理時間や使用する計算機資源を外部から制御すること
ができない。このため、小形のコンピュータを使用して
一定時間内に判別条件を生成できない場合があった。バ
ージョン空間は、属性値の組合せの中で事例データに矛
盾しないすべてのものを節点として含むので、一般に大
きな容量が必要になる。そこで、小形コンピュータを使
用するという観点から、1つの正例からバージョン空間
を作成するようにした。そして、その空間には含まれな
い正例があるときには、新たにバージョン空間を作成
し、もとの空間との差分のみを保持することとした。
C. Used by a small computer. Since the conventional determination condition generation method is a batch processing method,
The processing time and the computer resources used cannot be controlled externally. For this reason, there are cases in which a small computer cannot be used to generate the determination condition within a certain period of time. Since the version space includes, as nodes, all of the combinations of attribute values that do not conflict with the case data, a large capacity is generally required. Therefore, from the viewpoint of using a small computer, the version space is created from one positive example. Then, when there is a positive example that is not included in the space, a new version space is created and only the difference from the original space is retained.

【0029】D.現場において効率良く判別処理を行
う。 (1)判別条件をルールに変換 高速に判別処理を行うために、バージョン空間の形で得
られた判別条件をルールの形に変換して利用するように
した。 (2)判別条件を現場で修正 バージョン空間から判別条件を一度生成すると、変更で
きない。また、仮りに判別処理に誤りがあっても、判別
条件を修正することができない。そこで、判別結果に対
する専門家の評価を入力して判別条件をその場で修正で
きるようにした。
D. Efficiently perform discrimination processing on site. (1) Converting discriminant conditions into rules In order to perform discrimination processing at high speed, the discriminant conditions obtained in the form of version space are converted into the form of rules for use. (2) Correct the discriminant conditions on site Once the discriminant conditions are generated from the version space, they cannot be changed. Further, even if there is an error in the discrimination processing, the discrimination condition cannot be corrected. Therefore, we made it possible to input the expert's evaluation of the discrimination result and correct the discrimination condition on the spot.

【0030】[0030]

【実施例】以下、図に沿って各発明の実施例を説明す
る。図1及び図2は第1発明の第1実施例であり、この
実施例は単一正例を含む事例データから記憶装置内に判
別条件を生成するものである。図1において、事例デー
タ300は、属性13101〜属性n310nを格納する属
性欄と、これらを正または負と判別した判別結果330
を格納する判別結果欄とを備え、1行が一つの事例を構
成する。記憶装置100は、同一属性の値が重複しない
属性値の組合せ110を格納する欄、事例データ300
の中に存在する正の事例か、あるいはその正の事例の属
性を組合せたものかを判別するための値すなわち正例数
130を格納する欄、及び、負の事例数の積算値である
負例数131を格納する欄及び要否150を格納する欄
を備えている。
Embodiments of the present invention will be described below with reference to the drawings. 1 and 2 show a first embodiment of the first invention, and this embodiment is for generating a discrimination condition in a storage device from case data including a single positive example. In FIG. 1, the case data 300 includes an attribute column that stores attribute 1 310 1 to attribute n 310 n , and a determination result 330 that determines these as positive or negative.
And a determination result column for storing one case, one row constitutes one case. The storage device 100 is a field for storing a combination 110 of attribute values in which the values of the same attribute do not overlap, the case data 300.
For storing a positive case existing in the case, or a combination of the attributes of the positive case, that is, a column for storing the number 130 of positive cases, and a negative value that is an integrated value of the number of negative cases. A column for storing the number of examples 131 and a column for storing the necessity 150 are provided.

【0031】処理装置200は、事例データ300に格
納した属性13101〜属性n310n及び判別結果330
から、記憶装置100の属性値の組合せ110、正例数
130及び負例数131の各欄に、次の要領で値を格納
し、更に要否150の欄に値を設定する。
The processor 200 stores the attributes 1 310 1 to n 310 n and the discrimination result 330 stored in the case data 300.
Thus, the values are stored in the columns of the combination 110 of attribute values, the number 130 of positive examples, and the number 131 of negative examples of the storage device 100 in the following manner, and the values are set in the column 150 of necessity.

【0032】(1)記憶装置100を初期化する。 1)属性値の組合せ110の欄をすべて空白にする。 2)正例数130の欄に「0」を設定する。 3)負例数131の欄に「0」を設定する。 4)要否150の欄に「空白」を設定する。(1) Initialize the storage device 100. 1) Leave all the fields of the attribute value combination 110 blank. 2) Set "0" in the column for the number of positive examples 130. 3) Set "0" in the negative number 131 column. 4) Set "Blank" in the column of necessity 150.

【0033】(2)記憶装置100に正例を設定する。 1)事例データ300から、判別結果330が「正」であ
る行を探し、その属性13101〜属性n310nを読み込
み、記憶装置100の属性値の組合せ110の欄に設定
する。 2)設定した属性値の組合せ110の正例数130の欄に
「1」を設定する。 3)読み込んだ属性13101〜属性n310nのすべての組
合せを作成し、1)における属性値の組合せ110の欄の
後の行に順次追加する。
(2) A positive example is set in the storage device 100. 1) A line whose discrimination result 330 is “correct” is searched from the case data 300, and its attributes 1 310 1 to n 310 n are read and set in the column of the attribute value combination 110 of the storage device 100. 2) Set "1" in the column of the number 130 of positive examples of the set 110 of attribute values. 3) Create all combinations of the read attribute 1 310 1 to attribute n 310 n , and add them sequentially to the line after the column of the attribute value combination 110 in 1).

【0034】(3)記憶装置100に負例を設定する。 1)事例データ300から、判別結果330が「負」であ
る行を探し、その属性13101〜属性n310nを読み込
み、記憶装置100の属性値の組合せ110の欄に重複
しないように設定する。 2)読み込んだ属性13101〜属性n310nの組合せが包
含するものが、記憶装置100の属性値の組合せ110
の欄に存在すれば、負例数131の欄の値を一つ積算す
る。 3)事例データ300の中の判別結果330が「負」であ
る残りのすべてに対し、上記の1),2)の操作を繰り返
す。
(3) A negative example is set in the storage device 100. 1) From the case data 300, search for a line in which the determination result 330 is “negative”, read its attributes 1 310 1 to n 310 n , and set them in the column of the attribute value combination 110 of the storage device 100 so that they do not overlap. To do. 2) The combination of the read attribute 1 310 1 to attribute n 310 n includes the attribute value combination 110 of the storage device 100.
If it exists in the column of, the value in the column of the negative example number 131 is integrated by one. 3) The above operations 1) and 2) are repeated for all the remaining cases where the discrimination result 330 in the case data 300 is “negative”.

【0035】(4)要否の設定 1)記憶装置100において、負例数131が「0」であ
り、かつ、要否150の欄が「空白」であって属性値の
組合せ110の欄の属性数が最も少ない行を検索し、そ
の行の要否150の欄に「要」を設定する。 2)記憶装置100において、負例数131が「0」であ
り、かつ、要否150の欄が「空白」であって1)により
検索された行の属性の組合せを包含する行をすべて検索
し、それらの行の要否150の欄に「否」を設定する。 3)記憶装置100において、負例数131が「0」であ
り、かつ、要否150の欄が「空白」である行に対し、
上記1),2)の操作を繰り返す。
(4) Necessity Setting 1) In the storage device 100, the negative example number 131 is “0”, the necessity 150 column is “blank”, and the attribute value combination 110 column is A line having the smallest number of attributes is searched, and "necessity" is set in the column of necessity 150 of the line. 2) In the storage device 100, search for all rows in which the number of negative examples 131 is “0” and the column of necessity 150 is “blank” and includes the attribute combinations of the rows searched in 1) Then, “No” is set in the column of necessity 150 of those lines. 3) In the storage device 100, for a line in which the number of negative examples 131 is “0” and the column of necessity 150 is “blank”,
Repeat steps 1) and 2) above.

【0036】このような(1)〜(4)の処理を行なう
ことにより、例えば図2に示すような属性値a1,b
1,c1,……を持つ事例データ300から、記憶装置
100の属性値の組合せ110、正例数130、負例数
131及び要否150を設定することができる。
By performing the processes (1) to (4) as described above, for example, the attribute values a1 and b as shown in FIG.
The combination 110 of attribute values of the storage device 100, the number 130 of positive examples, the number 131 of negative examples, and the necessity 150 can be set from the case data 300 having 1, c1, ....

【0037】この実施例によれば、事例データ300の
判別結果330が「正」である事例すなわち正例に含ま
れ、かつ判別結果330が「負」である事例すなわち負
例に含まれないような属性値の組合せ110(a1,c
1及びb1,c1)を容易に検出することができ、これ
らを正例及び負例の判別条件として生成することができ
る。また、属性値の組合せのすべてを展開しないため、
記憶装置100に必要な記憶容量を削減することがで
き、小形コンピュータの利用が可能になる。すべての事
例データ300を処理した後で、残りの組合せの中で最
も一般的な判別条件を生成するため、事例データ300
が少なくても学習を完了することができる。これによ
り、現場の事例データを利用できる効果がある。
According to this embodiment, the discrimination result 330 of the case data 300 is included in the case where the discrimination result 330 is "positive", that is, the positive example, and is not included in the case where the discrimination result 330 is "negative", that is, the negative example. Attribute value combinations 110 (a1, c
1 and b1, c1) can be easily detected, and these can be generated as positive and negative discrimination conditions. Also, since not all combinations of attribute values are expanded,
The storage capacity required for the storage device 100 can be reduced, and a small computer can be used. After processing all the case data 300, the case data 300 is generated to generate the most general discriminant condition among the remaining combinations.
Learning can be completed with less. This has the effect of being able to use case data from the site.

【0038】図3は第1発明の第2実施例を示してい
る。この実施例は、第1実施例と同一の構成要素を有し
ていて処理装置200における処理内容が異なってお
り、複数の正例を含む事例データ300から記憶装置1
00内に判別条件を生成するものである。すなわち、処
理装置200は、事例データ300に格納した属性1
101〜属性n310n及び判別結果330から、記憶装
置100の属性値の組合せ110、正例数130及び負
例数131の各欄に、次の要領で値を格納し、更に要否
150の欄に値を設定する。
FIG. 3 shows a second embodiment of the first invention. This embodiment has the same components as those of the first embodiment, but the processing contents of the processing device 200 are different, and the storage device 1 is selected from the case data 300 including a plurality of positive examples.
The determination condition is generated in 00. That is, the processing device 200 has the attribute 13 stored in the case data 300.
From 1 1 to attribute n 310 n and the determination result 330, values are stored in the respective fields of the combination 110 of attribute values, the number 130 of positive examples and the number 131 of negative examples of the storage device 100 in the following manner, and whether or not there is a need 150 Set a value in the column.

【0039】(1)記憶装置100を初期化する。 1)属性値の組合せ110の欄をすべて空白にする。 2)正例数130の欄に「0」を設定する。 3)負例数131の欄に「0」を設定する。 4)要否150の欄に「空白」を設定する。(1) Initialize the storage device 100. 1) Leave all the fields of the attribute value combination 110 blank. 2) Set "0" in the column for the number of positive examples 130. 3) Set "0" in the negative number 131 column. 4) Set "Blank" in the column of necessity 150.

【0040】(2)記憶装置100に最初の正例を設定
する。 1)事例データ300から、判別結果330が「正」であ
る行を探し、その属性13101〜属性n310nを読み込
み、記憶装置100の属性値の組合せ110の欄に設定
する。 2)設定した属性値の組合せ110の正例数130の欄に
「1」を設定する。 3)読み込んだ属性13101〜属性n310nのすべての組
合せを作成し、1)における属性値の組合せ110の欄の
後の行に順次追加する。 4)事例データ300から、判別結果330が「正」であ
る行を探し、その属性13101〜属性n310nを読み込
み、その読み込んだ属性値の組合せで記憶装置100の
中に存在しない属性値の組合せを、属性値の組合せ11
0の欄の後の行に順次追加する。この事例データ300
の中の判別結果330の欄が「正」である残りのすべて
の行に対して、この操作を繰り返す。
(2) The first positive example is set in the storage device 100. 1) A line whose discrimination result 330 is “correct” is searched from the case data 300, and its attributes 1 310 1 to n 310 n are read and set in the column of the attribute value combination 110 of the storage device 100. 2) Set "1" in the column of the number 130 of positive examples of the set 110 of attribute values. 3) Create all combinations of the read attribute 1 310 1 to attribute n 310 n , and add them sequentially to the line after the column of the attribute value combination 110 in 1). 4) From the case data 300, a line in which the determination result 330 is “correct” is searched for, the attributes 1 310 1 to n 310 n are read, and the attributes that do not exist in the storage device 100 are the combination of the read attribute values. The value combination is the attribute value combination 11
Sequentially add to the lines after the 0 column. This case data 300
This operation is repeated for all the remaining rows in which the column of the discrimination result 330 in is “correct”.

【0041】(3)記憶装置100に負例を順次設定す
る。 1)事例データ300から、判別結果330が「負」であ
る行を探し、その属性13101〜属性n310nを読み込
み、記憶装置100の属性値の組合せ110の欄に重複
しないように設定する。 2)読み込んだ属性13101〜属性n310nの組合せが包
含するものが、記憶装置100の属性値の組合せ110
の欄に存在すれば、負例数131の欄の値を一つ積算す
る。 3)事例データ300の中の判別結果330が「負」であ
る残りのすべてに対し、上記の1),2)の操作を繰り返
す。
(3) Negative examples are sequentially set in the storage device 100. 1) From the case data 300, search for a line in which the determination result 330 is “negative”, read its attributes 1 310 1 to n 310 n , and set them in the column of the attribute value combination 110 of the storage device 100 so that they do not overlap. To do. 2) The combination of the read attribute 1 310 1 to attribute n 310 n includes the attribute value combination 110 of the storage device 100.
If it exists in the column of, the value in the column of the negative example number 131 is integrated by one. 3) The above operations 1) and 2) are repeated for all the remaining cases where the discrimination result 330 in the case data 300 is “negative”.

【0042】(4)要否の設定 1)記憶装置100において、負例数131が「0」であ
り、かつ、要否150の欄が「空白」であって属性値の
組合せ110の欄の属性数が最も少ない行を検索し、そ
の行の要否150の欄に「要」を設定する。 2)記憶装置100において、負例数131が「0」であ
り、かつ、要否150の欄が「空白」であって1)により
検索された行の属性の組合せを包含する行をすべて検索
し、それらの行の要否150の欄に「否」を設定する。 3)記憶装置100において、負例数131が「0」であ
り、かつ、要否150の欄が「空白」である行に対し、
上記1),2)の操作を繰り返す。
(4) Necessity Setting 1) In the storage device 100, the negative example number 131 is "0", the necessity 150 column is "blank", and the attribute value combination 110 column is A line having the smallest number of attributes is searched, and "necessity" is set in the column of necessity 150 of the line. 2) In the storage device 100, search for all rows in which the number of negative examples 131 is “0” and the column of necessity 150 is “blank” and includes the attribute combinations of the rows searched in 1) Then, “No” is set in the column of necessity 150 of those lines. 3) In the storage device 100, for a line in which the number of negative examples 131 is “0” and the column of necessity 150 is “blank”,
Repeat steps 1) and 2) above.

【0043】上記(1)〜(4)の処理を行なうことに
より、例えば図3に示すような属性値a1,b1,c
1,……を持つ事例データ300から、記憶装置100
の属性値の組合せ110、正例数130、負例数131
及び要否150を設定することができ、判別条件を生成
することができる。
By performing the processes (1) to (4), the attribute values a1, b1, c as shown in FIG. 3 are obtained.
From the case data 300 having 1, ...
110 attribute value combinations, 130 positive examples, 131 negative examples
Also, the necessity 150 can be set, and the determination condition can be generated.

【0044】この実施例によれば、事例データ300の
判別結果330が「正」である事例に含まれ、かつ判別
結果330が「負」である事例に含まれないような属性
値の組合せ110を容易に検出することができ、これら
を正例及び負例の判別条件として生成することができ
る。また、この実施例においても、第1実施例と同一の
効果を得ることができる。
According to this embodiment, a combination 110 of attribute values such that the discrimination result 330 of the case data 300 is included in the case of “positive” and is not included in the case of the discrimination result 330 of “negative”. Can be easily detected, and these can be generated as the discrimination conditions of the positive example and the negative example. Further, also in this embodiment, the same effect as that of the first embodiment can be obtained.

【0045】図4は第1発明の第3実施例を示すもの
で、この実施例も、処理装置200における処理内容が
第1実施例と異なっており、現場で収集した欠損値のあ
る事例データ300から記憶装置100内に判別条件を
生成するものである。すなわち、処理装置200は、第
1実施例における処理(1)〜(4)に加えて、事例デ
ータ300の欠損値を検出して記憶装置100の内容を
設定する処理を行なう。
FIG. 4 shows a third embodiment of the first invention. In this embodiment as well, the processing contents in the processing device 200 are different from those in the first embodiment, and case data with missing values collected at the site. The determination condition is generated in the storage device 100 from 300. That is, the processing device 200 performs the process of detecting the missing value of the case data 300 and setting the content of the storage device 100 in addition to the processes (1) to (4) in the first embodiment.

【0046】*欠損値処理 事例データ300の属性13101〜属性n310nに欠損
値がある場合、以下の処理を行なう。第1実施例におけ
る処理(1)〜(4)を行なって記憶装置100の内容
を生成する。このとき、欠損値が含まれる属性310を
検出したら、その属性は除いて記憶装置100に設定す
る。例えば、図4のように第1番目の事例において属性
2の値が欠損していたら、この属性2を除いた残りの属性
1、属性3の値で組合せ(a1,c1),(a1),(c
1)を作り、記憶装置100に設定する。
* Missing value processing When there are missing values in the attributes 1 310 1 to n 310 n of the case data 300, the following processing is performed. The contents of the storage device 100 are generated by performing the processes (1) to (4) in the first embodiment. At this time, when the attribute 310 including the missing value is detected, the attribute is excluded and set in the storage device 100. For example, as shown in Fig. 4, the attributes in the first case
If the value of 2 is missing, the remaining attributes except this attribute 2
1 , combinations of values of attribute 3 (a1, c1), (a1), (c
1) is created and set in the storage device 100.

【0047】この実施例によれば、第1実施例と同一の
効果があるほか、現場で収集した事例データ300に欠
損値が含まれていてもこれを許容して記憶装置100の
内容を設定し、正例と負例とを判別する判別条件を生成
することができる。
According to this embodiment, in addition to the same effect as the first embodiment, even if the case data 300 collected at the site includes a missing value, this is allowed and the contents of the storage device 100 are set. However, it is possible to generate the determination condition for determining the positive example and the negative example.

【0048】図5及び図6は第1発明の第4実施例であ
り、この実施例は第1実施例に知識ベース500を生成
する処理を追加したものである。図5に示す知識ベース
500は、プロダクションルールに代表されるIF〜T
HEN形式のルールから構成されている。
FIGS. 5 and 6 show a fourth embodiment of the first invention, which is a modification of the first embodiment to which a process for generating a knowledge base 500 is added. The knowledge base 500 shown in FIG. 5 includes IF to T represented by production rules.
It is composed of HEN format rules.

【0049】処理装置200は、次のような処理を行な
う。 (1)記憶装置100の生成 第1実施例における処理(1)〜(4)を行なって、記
憶装置100に値を設定する。 (2)知識ベースの生成 1)記憶装置100において、要否150の欄が「要」で
ある行を検索する。 2)検索された行の属性値の組合せ110に基づいて、ル
ールの条件部(IF部)を属性の連言形(andによっ
て結ばれた形)により表現し、ルールの結論部(THE
N部)を「正」とするルールを生成する。 3)記憶装置100において、要否150の欄が「要」で
ある残りのすべてに対して上記1),2)の操作を繰り返
す。
The processing device 200 performs the following processing. (1) Generation of Storage Device 100 The processes (1) to (4) in the first embodiment are performed to set values in the storage device 100. (2) Generation of Knowledge Base 1) In the storage device 100, a line in the column of necessity 150 is “necessary” is searched. 2) Based on the combination 110 of the attribute values of the retrieved row, the condition part (IF part) of the rule is expressed by the attribute conjunctive form (form connected by and), and the rule conclusion part (THE
A rule that makes N part) "positive" is generated. 3) In the storage device 100, the above-mentioned operations 1) and 2) are repeated for all the remaining items whose “necessity” 150 column is “necessary”.

【0050】第1実施例における処理(1)〜(4)を
行なうと図6に示すような内容の記憶装置100が生成
され、更に、上述した知識ベースの生成操作を行なうこ
とにより、知識ベース500が生成される。この実施例
によれば、第1実施例の効果に加えて、判別条件をルー
ルにするため、高速に推論することができ、また、一般
的な推論ソフトウェアを利用できるという利点がある。
従って、既存のルール型システムと連携でき、現場にお
いて効率良く判別処理を行なうことができる。
When the processes (1) to (4) in the first embodiment are performed, the storage device 100 having the contents as shown in FIG. 6 is generated, and further, the knowledge base generating operation described above is performed to thereby generate the knowledge base. 500 is generated. According to this embodiment, in addition to the effect of the first embodiment, there is an advantage that since the discriminating condition is a rule, it is possible to make inference at high speed and to use general inference software.
Therefore, it is possible to cooperate with the existing rule type system, and it is possible to efficiently perform the discrimination processing on the spot.

【0051】図7及び図8は第1発明の第5実施例を示
している。この実施例は、第1実施例に使用属性指定部
350を追加したものである。図7において、使用属性
指定部350は、事例データ300の属性13101〜属
n310nに対応して判別条件生成に使用することを示
す「要」または使用しないことを示す「空白」を格納す
るための欄から構成されている。
7 and 8 show a fifth embodiment of the first invention. In this embodiment, a use attribute designating section 350 is added to the first embodiment. In FIG. 7, the usage attribute designating unit 350 sets “necessary” indicating that it is used for generating the discrimination condition or “blank” indicating that it is not used in correspondence with the attributes 1 310 1 to n 310 n of the case data 300. It is composed of columns for storing.

【0052】処理装置200は、以下のようにして記憶
装置100の内容を生成する。 (0)使用する属性の決定 使用属性指定部350に「要」と設定された属性310
の属性13101〜属性 n310nのみを使用する。 (1)記憶装置100の生成 使用すると指定した属性310を用いて、第1実施例に
おける処理(1)〜(4)を行ない、記憶装置100の
内容を生成する。例えば、図8の場合、属性2及び属性3
のみを使って記憶装置100の内容を生成する。
The processing device 200 stores as follows.
Generate the contents of device 100. (0) Determining attributes to be used Attributes 310 for which "necessary" is set in the usage attribute designating section 350
Attributes of13101~attribute n310nUse only. (1) Generation of Storage Device 100 Using the attribute 310 designated to be used, the first embodiment
Processing (1) to (4) in the storage device 100.
Generate content. For example, in the case of FIG.2And attributes3
The contents of the storage device 100 are generated using only the.

【0053】この実施例によれば、第1実施例と同様の
効果に加えて、記憶装置100の内容を生成する時間を
短縮でき、また、記憶装置100の容量を削減できる効
果がある。更に、事例ベース300を作り替えることな
く知識ベースないし判別条件を調整することができる。
According to this embodiment, in addition to the same effects as the first embodiment, there is an effect that the time for generating the contents of the storage device 100 can be shortened and the capacity of the storage device 100 can be reduced. Furthermore, the knowledge base or the discrimination condition can be adjusted without recreating the case base 300.

【0054】図9〜図12は第1発明の第6実施例を示
している。この実施例は、連続値の事例データ300か
ら知識ベースを生成できるようにしたもので、第1実施
例における事例データ300を連続値を持つ事例データ
とし、また、属性値定義部400を付加したものであ
る。図9において、事例データ300は、属性1〜属性n
に対応して連続値を持つデータ13201〜データn32
nを有している。また、属性値定義部400は、属性
410、成立条件420及び属性値430からなる。
9 to 12 show a sixth embodiment of the first invention. In this embodiment, a knowledge base can be generated from continuous value case data 300. The case data 300 in the first embodiment is used as case data having continuous values, and an attribute value definition unit 400 is added. It is a thing. In FIG. 9, the case data 300 includes attributes 1 to n.
Data 1 320 1 to data n 32 having continuous values corresponding to
It has 0 n . The attribute value definition unit 400 includes an attribute 410, a satisfaction condition 420, and an attribute value 430.

【0055】処理装置200は、第1実施例における処
理(1)〜(4)に、属性410の連続値を属性値43
0に置き換える処理を追加して記憶装置100の内容を
生成する。すなわち、処理装置200は次の処理を行な
う。 (0)属性値の決定 1)事例データ300から連続値を持つデータ3201
読み込む。 2)各データ3201に対し、属性値定義部400に格納
されている属性1の成立条件420を検索する。 3)データが成立条件420を満足した行の属性値430
を、事例データ300の属性3101の欄に書き込む。 4)すべての事例データに対し上記1)〜3)の処理を行な
う。
The processing device 200 sets the continuous value of the attribute 410 to the attribute value 43 in the processes (1) to (4) in the first embodiment.
The process of replacing with 0 is added to generate the contents of the storage device 100. That is, the processing device 200 performs the following processing. (0) Determination of attribute value 1) Read data 320 1 having continuous values from case data 300. 2) With respect to each data 320 1 , the satisfaction condition 420 of the attribute 1 stored in the attribute value definition unit 400 is searched. 3) The attribute value 430 of the row whose data satisfies the condition 420
Is written in the column of attribute 310 1 of the case data 300. 4) Perform steps 1) to 3) on all case data.

【0056】(1)記憶装置100の生成 第1実施例における処理(1)〜(4)を実行し、記憶
装置100の内容を生成する。例えば、事例データ30
0と属性値定義部400とが各々図10、図11のとお
りである場合、属性410の連続値は図12に示すよう
な属性値に変換される。
(1) Generation of Storage Device 100 The processes (1) to (4) in the first embodiment are executed to generate the contents of the storage device 100. For example, case data 30
When 0 and the attribute value definition unit 400 are as shown in FIGS. 10 and 11, respectively, the continuous value of the attribute 410 is converted into the attribute value as shown in FIG.

【0057】この実施例によれば、第1実施例と同一の
効果に加えて、連続値の事例データ300から記憶装置
100の内容を生成することができ、連続値をとる属性
を利用できることから現場の事例データを利用できると
いう利点がある。
According to this embodiment, in addition to the same effect as the first embodiment, the contents of the storage device 100 can be generated from the case data 300 of continuous values, and the attribute of taking continuous values can be used. There is an advantage that case data from the field can be used.

【0058】図13及び図14は第1発明の第7実施例
を示している。この実施例は、第1実施例に出力装置6
00を付加すると共に処理装置200に所定の処理を付
加し、判別条件の有効性について表示するようにしたも
のである。図13において、出力装置600は、記憶装
置100の要否150が「要」である判別条件につい
て、関連する正例数130の個数を表示するものであ
る。
13 and 14 show a seventh embodiment of the first invention. In this embodiment, the output device 6 is the same as the first embodiment.
00 is added to the processing device 200, and a predetermined process is added to the processing device 200 to display the validity of the determination condition. In FIG. 13, the output device 600 displays the number of related positive example numbers 130 for the determination condition that the necessity 150 of the storage device 100 is “necessary”.

【0059】処理装置200は、以下の処理を行なう。 (0)記憶装置100の生成 第1実施例における処理(1)〜(4)を行なう。 (1)正例数130の表示 1)記憶装置100の中の要否150が「要」である行を
読み込む。 2)その行の属性値の組合せ110を包含し、正例数13
0が「1」であって要否150が「否」となる記憶装置
100の行を検索する。 3)該当する記憶装置100の行をカウントする。 4)記憶装置100の中の要否150が「要」であるすべ
ての行に対して、1)〜3)の操作を繰り返し、出力装置6
00に「要」である判別条件について、関連する正例数
130の個数を表示する。
Processing device 200 performs the following processing. (0) Generation of storage device 100 The processes (1) to (4) in the first embodiment are performed. (1) Display of the number 130 of positive examples 1) Read the line in the storage device 100 whose necessity 150 is "necessary". 2) Including the combination 110 of attribute values in that row, the number of positive examples is 13
A row of the storage device 100 in which 0 is “1” and necessity 150 is “no” is searched. 3) Count the rows of the corresponding storage device 100. 4) The operations of 1) to 3) are repeated for all the rows in the storage device 100 whose necessity 150 is “necessary”, and the output device 6
The number of related positive example numbers 130 is displayed for the determination condition that is “necessary” in 00.

【0060】なお、図14は、事例データ300及び記
憶装置100の内容に対する出力装置600の表示内容
を示している。この実施例によれば、第1実施例の効果
に加えて、判別条件生成に使用した事例データ数を見る
ことにより、生成した判別条件の利用頻度を把握するこ
とができる。また、生成された判別条件の有効性を順序
付けることができ、判別条件の評価が容易になる。
Note that FIG. 14 shows the display contents of the output device 600 with respect to the contents of the case data 300 and the storage device 100. According to this embodiment, in addition to the effect of the first embodiment, the frequency of use of the generated discriminating condition can be grasped by looking at the number of case data used for generating the discriminating condition. Further, the validity of the generated discriminant conditions can be ordered, and the discriminant conditions can be easily evaluated.

【0061】図15〜図17は第1発明の第8実施例を
示している。この実施例は、図15に示すように、第1
実施例における事例データ300が事例番号360の格
納欄を備え、かつ、事例データ300をチェックした結
果を表示する出力装置600を付加すると共に、記憶装
置100に、正例番号130A及び負例番号131Aの
格納欄を設けたものである。
15 to 17 show an eighth embodiment of the first invention. This embodiment, as shown in FIG.
The case data 300 in the embodiment is provided with a storage field for the case number 360, an output device 600 for displaying the result of checking the case data 300 is added, and the storage device 100 has a positive example number 130A and a negative example number 131A. The storage column is provided.

【0062】処理装置200は以下の処理を実行する。 (1)記憶装置100の生成 1)第1実施例における処理(1)〜(4)により、記憶
装置100に値を設定する。 2)但し、記憶装置100を初期化する際に、正例番号1
30A及び負例番号131Aの欄に「0」を設定する処
理を追加する。 3)事例データ300から、判別結果330が「負」であ
る属性13101〜属性n310nを読み込み、記憶装置1
00の属性値の組合せ110の欄に設定すると同時に、
事例データ300の事例番号360を、記憶装置100
の負例番号131Aの欄に設定する処理を追加する。同
じく、事例データ300から、判別結果330が「正」
である属性13101〜属性n310nを読み込み、記憶装
置100の属性値の組合せ110の欄に設定すると同時
に、事例データ300の事例番号360を、記憶装置1
00の正例番号130Aの欄に設定する処理を追加す
る。
The processing device 200 executes the following processing. (1) Generation of storage device 100 1) Values are set in the storage device 100 by the processes (1) to (4) in the first embodiment. 2) However, when the storage device 100 is initialized, the positive example number 1
A process of setting "0" is added to the fields of 30A and negative example number 131A. 3) From the case data 300, the attribute 1 310 1 to the attribute n 310 n whose determination result 330 is “negative” are read, and the storage device 1 is read.
At the same time as setting in the field of attribute value combination 110 of 00,
The case number 360 of the case data 300 is stored in the storage device 100.
The process of setting in the column of negative example number 131A is added. Similarly, the determination result 330 is “correct” from the case data 300.
Attribute 1 310 1 to attribute n 310 n are set and set in the column of the attribute value combination 110 of the storage device 100, and at the same time, the case number 360 of the case data 300 is set to the storage device 1
A process of setting in the column of the positive example number 130A of 00 is added.

【0063】(2)事例データのチェックと表示 1)記憶装置100において、正例数130が「0」より
大きく、かつ、負例数131も「0」より大きい行を検
索する。 2)上記1)により検索された行を出力装置600に出力す
る。 3)記憶装置100において、1)により検索した行を除い
た残りの行に対して、上記1),2)の操作を繰り返す。
(2) Checking and Displaying Case Data 1) In the storage device 100, a line in which the number 130 of positive examples is larger than “0” and the number 131 of negative examples is also larger than “0” is searched. 2) The line retrieved in 1) above is output to the output device 600. 3) In the storage device 100, the above operations 1) and 2) are repeated for the remaining lines except the line searched in 1).

【0064】前記(1)のような処理を行なうことによ
り、図16に示すような内容の記憶装置100が生成さ
れる。更に、前記(2)の処理を行なうことにより、出
力装置600には図17のような表示例601が得られ
る。この実施例によれば、第1実施例の効果に加えて、
事例データ300に含まれる矛盾を検出して表示させる
ことができ、誤った事例データを検出することができ
る。
By performing the processing as described in (1) above, the storage device 100 having the contents as shown in FIG. 16 is generated. Further, by performing the processing of (2), a display example 601 as shown in FIG. 17 is obtained on the output device 600. According to this embodiment, in addition to the effects of the first embodiment,
Inconsistencies included in the case data 300 can be detected and displayed, and erroneous case data can be detected.

【0065】図18〜図20は、第1発明の第9実施例
を示している。この実施例は、図18に示すごとく、第
1実施例に、目標の組合せ番号810の欄と正の組合せ
番号820の欄を持つ分析結果記憶部800と、この分
析結果記憶部800の内容を表示する出力装置600と
を付加し、記憶装置100に、組合せ番号120を格納
する欄を設けたものであり、この構成によって記憶装置
100の状態を分析し、判別条件を表示できるようにし
たものである。
18 to 20 show a ninth embodiment of the first invention. In this embodiment, as shown in FIG. 18, the analysis result storage unit 800 having a target combination number 810 column and a positive combination number 820 column and the contents of the analysis result storage unit 800 are added to the first embodiment. An output device 600 for displaying is added, and a column for storing the combination number 120 is provided in the storage device 100. With this configuration, the state of the storage device 100 can be analyzed and the determination condition can be displayed. Is.

【0066】処理装置200は次の処理を行なう。 (1)記憶装置100の生成 1)第1実施例における処理(1)〜(4)により、記憶
装置100に値を設定する。 2)記憶装置100を初期化する際に、組合せ番号120
の欄に「1」から通番を設定する処理を追加する。
Processing device 200 performs the following processing. (1) Generation of storage device 100 1) Values are set in the storage device 100 by the processes (1) to (4) in the first embodiment. 2) When the storage device 100 is initialized, the combination number 120
A process for setting a serial number from "1" is added to the column of.

【0067】(2)記憶装置100の状態分析 1)記憶装置100の要否150の欄が「要」であり、か
つ、属性値の組合せ110の属性値数が最小の行を一つ
選択する。同時に、要否150の欄を「*」に変更す
る。 2)上記1)により選択された行の属性値の組合せ110の
属性値数と同一で、かつ、属性値の組合せ110の「属
性値数−1」個の属性値が同一であり、かつ、記憶装置
100の要否150の欄が「要」の行を検索する。
(2) State analysis of the storage device 100 1) Select one row in which the column of necessity 150 of the storage device 100 is "necessary" and the attribute value combination 110 has the smallest number of attribute values. . At the same time, the column of necessity 150 is changed to “*”. 2) The number of attribute values of the attribute value combination 110 of the row selected in 1) above is the same, and the "attribute value number-1" attribute values of the attribute value combination 110 are the same, and The row of “necessity” in the column of necessity 150 of the storage device 100 is searched.

【0068】3)上記2)の条件に合う行が検索されたら、
次の処理を行なう。 a.上記2)の条件に合う行の要否150の欄に、その行
が選択されたことを示す「*」を設定する。 b.分析結果記憶部800の正の組合せ番号820の欄
に、1)で選択した行の組合せ番号120と、2)で検索さ
れた行の組合せ番号120とを設定する。 c.1),2)の組合せに共通する属性の組合せを持ち、か
つ、記憶装置100の要否150の欄が「要」である行
を検索する。 (i)検索できたら、分析結果記憶部800の正の組合せ
番号820の欄に、この検索された行の組合せ番号12
0を設定すると同時に、要否150の欄を「*」に変更
する。そして、再度、検索を繰り返す。 (ii)記憶装置100の中で検出できなければ、後述の
5)の処理を行なう。
3) When a line satisfying the condition of 2) above is searched,
Perform the following processing. a. In the column of necessity 150 of the line meeting the condition of 2), "*" indicating that the line is selected is set. b. The combination number 120 of the row selected in 1) and the combination number 120 of the row searched in 2) are set in the positive combination number 820 column of the analysis result storage unit 800. c. A row having an attribute combination common to the combinations 1) and 2) and having a “necessity” in the necessity / non-necessity 150 column of the storage device 100 is searched. (I) If the search is successful, the combination number 12 of this searched line is entered in the column of the positive combination number 820 of the analysis result storage unit 800.
At the same time as setting 0, the column of necessity 150 is changed to “*”. Then, the search is repeated again. (Ii) If it cannot be detected in the storage device 100, it will be described later.
Perform step 5).

【0069】4)上記2)の条件に合う行が一つも検索され
ず、記憶装置100の要否150の欄に「要」の行が存
在すれば、前記1)からの処理を繰り返す。 5)上記2)の条件に合う行が一つ以上検索されたら、分析
結果記憶部800の正の組合せ番号820が示す記憶装
置100の行のすべてに共通する属性値の組合せと一致
する行を検索し、その組合せ番号120を、分析結果記
憶部800の目標の組合せ番号810に設定する。 6)記憶装置100において、要否150の欄が「要」で
ある行がなくなるまで、前記1)〜5)の操作を繰り返す。 7)最後に、記憶装置100の要否150の欄の「*」を
「要」に戻す。
4) If no line satisfying the condition of 2) above is searched and there is a line of "necessity" in the column of necessity 150 of the storage device 100, the process from 1) is repeated. 5) When one or more rows satisfying the condition of 2) above are retrieved, a row matching the attribute value combination common to all the rows of the storage device 100 indicated by the positive combination number 820 of the analysis result storage unit 800 is searched. The combination number 120 is searched and set as the target combination number 810 of the analysis result storage unit 800. 6) The above operations 1) to 5) are repeated until there is no line in the storage device 100 where the column of necessity 150 is “necessary”. 7) Finally, "*" in the column of necessity 150 of the storage device 100 is returned to "necessary".

【0070】(3)分析結果の表示 分析結果記憶部800の内容に基づいて、目標の組合わ
せ番号810が示す属性値の組合せ110と、正の組合
せ番号820が示す属性値の組合せ110とを、出力装
置600に表示する。
(3) Display of Analysis Result Based on the contents of the analysis result storage section 800, the attribute value combination 110 indicated by the target combination number 810 and the attribute value combination 110 indicated by the positive combination number 820 are displayed. , Are displayed on the output device 600.

【0071】前記(1)の処理を行なうことにより、図
19に示すような内容の記憶装置100が生成され、ま
た、前記(2),(3)の処理を行なうことにより、図
20に示すような表示例601が出力装置600に表示
される。この実施例によれば、第1実施例と同様の効果
に加えて、記憶装置100から生成されたルールの共通
部分を容易に検出することができると共に、知識ベース
システム開発時の負荷が軽減されるという効果がある。
更に、この実施例では生成された判別条件を統一し得る
組合せを検出できるため、判別条件の評価を容易に行な
うことができる。
By performing the process (1), the storage device 100 having the contents shown in FIG. 19 is generated, and by performing the processes (2) and (3), the process shown in FIG. 20 is performed. Such a display example 601 is displayed on the output device 600. According to this embodiment, in addition to the effect similar to that of the first embodiment, it is possible to easily detect the common part of the rules generated from the storage device 100 and reduce the load during the development of the knowledge base system. Has the effect of
Further, in this embodiment, since the combination that can unify the generated discrimination conditions can be detected, the discrimination conditions can be easily evaluated.

【0072】図21〜図23は第1発明の第10実施例
を示している。この実施例は、図21に示すように、第
9実施例における分析結果記憶部800に負の組合せ番
号830を格納する欄を追加し、事例データ300に事
例番号360を格納する欄を追加すると共に、記憶装置
100に負例番号131Aを格納する欄を追加したもの
であり、これによって記憶装置100の状態を分析して
判別条件及びそれと関連する事例を表示するようにした
ものである。
21 to 23 show a tenth embodiment of the first invention. In this embodiment, as shown in FIG. 21, a column for storing the negative combination number 830 is added to the analysis result storage unit 800 in the ninth embodiment, and a column for storing the case number 360 is added to the case data 300. Along with this, a column for storing the negative example number 131A is added to the storage device 100, whereby the state of the storage device 100 is analyzed and the discrimination conditions and cases associated therewith are displayed.

【0073】処理装置200は次の処理を行なう。 (1)記憶装置100の生成 1)第9実施例における処理(1)に基づいて、記憶装置
100に値を設定する。 2)記憶装置100を初期化する際に、負例番号131A
の欄に「0」を設定する処理を追加する。 3)事例データ300から判別結果330の欄が「負」で
ある属性13101〜属性310nを読み込み、記憶装置
100の属性値の組合せ110の欄に設定すると同時
に、事例データ300の事例番号360を、記憶装置1
00の負例番号131Aの欄に設定する処理を追加す
る。
Processing device 200 performs the following processing. (1) Generation of storage device 100 1) A value is set in the storage device 100 based on the process (1) in the ninth embodiment. 2) When initializing the storage device 100, a negative example number 131A
A process of setting “0” in the column of is added. 3) The attribute 1 310 1 to attribute 310 n in which the column of the discrimination result 330 is “negative” is read from the case data 300 and set in the column of the attribute value combination 110 of the storage device 100, and at the same time, the case number of the case data 300 Storage device 1
A process to be set in the column of negative example number 131A of 00 is added.

【0074】(2)記憶装置100の状態分析 1)第9実施例に示した方法に基づいて、記憶装置100
及び分析結果記憶部800に値を設定する。 2)分析結果記憶部800の目標の組合せ番号810が示
す記憶装置100の属性値の組合せ110を包含し、か
つ、負例番号131Aが「0」でない行を検索し、その
組合せ番号120を分析結果記憶部800の負の組合せ
番号830に設定する。
(2) State analysis of storage device 100 1) Storage device 100 is analyzed based on the method shown in the ninth embodiment.
And a value is set in the analysis result storage unit 800. 2) A line that includes the attribute value combination 110 of the storage device 100 indicated by the target combination number 810 of the analysis result storage unit 800 and the negative example number 131A is not “0” is searched, and the combination number 120 is analyzed. The negative combination number 830 of the result storage unit 800 is set.

【0075】(3)分析結果の表示 分析結果記憶部800の内容に基づいて、目標の組合せ
番号810が示す属性値の組合せ110と、正の組合せ
番号820が示す属性値の組合せ110と、負の組合せ
番号830と同一の値となる記憶装置100の組合せ番
号120の行の負例番号131Aを、出力装置600に
表示する。
(3) Display of Analysis Result Based on the contents of the analysis result storage unit 800, the attribute value combination 110 indicated by the target combination number 810, the attribute value combination 110 indicated by the positive combination number 820, and the negative The negative example number 131A of the row of the combination number 120 of the storage device 100 having the same value as the combination number 830 of No.

【0076】前記(1)の処理を行なうことにより、図
22に示すような内容の記憶装置100が生成され、ま
た、前記(2),(3)の処理を行なうことにより、図
23に示すような表示例601が出力装置600に表示
される。この実施例によれば、第1実施例と同様の効果
に加えて、判別条件の共通化を阻害している負の事例を
容易に検出することができるため例外的な事例データを
検出できると共に、知識ベースシステム開発時の負荷が
軽減されるという効果がある。更に、この実施例では生
成された判別条件を統一し得る組合せを検出できるた
め、判別条件の評価を容易に行なうことができる。
By performing the process (1), the storage device 100 having the contents shown in FIG. 22 is generated, and by performing the processes (2) and (3), the process shown in FIG. 23 is performed. Such a display example 601 is displayed on the output device 600. According to this embodiment, in addition to the effect similar to that of the first embodiment, it is possible to easily detect a negative case that hinders the commonization of the determination condition, so that exceptional case data can be detected. The effect is that the load at the time of developing a knowledge base system is reduced. Further, in this embodiment, since the combination that can unify the generated discrimination conditions can be detected, the discrimination conditions can be easily evaluated.

【0077】図24〜図26は第1発明の第11実施例
を示している。この実施例は、図24に示すように、第
1実施例における事例データ300に、テストに使用す
るか否かを識別するテスト用識別340を格納する欄を
追加し、記憶装置100に、成立数160,不成立数1
61及び誤成立数162を格納する欄を追加すると共
に、出力装置600を追加したものである。これによ
り、記憶装置100の状態のテストを可能にして事例数
を表示することとした。
24 to 26 show an eleventh embodiment of the first invention. In this embodiment, as shown in FIG. 24, a column for storing a test identification 340 for identifying whether or not to use for a test is added to the case data 300 in the first embodiment, and the storage device 100 is established. Number 160, number of failures 1
61 and a column for storing the number of false establishments 162 are added, and an output device 600 is added. As a result, the state of the storage device 100 can be tested and the number of cases is displayed.

【0078】処理装置200は、次の処理を行なう。 (1)記憶装置100の生成 1)第1実施例に示した方法に基づいて、記憶装置100
に値を設定する。なお、事例データ300のテスト用識
別340が「要」でない行のみを使用する。 2)記憶装置100を初期化する際に、成立数160,不
成立数161,誤成立数162を格納する欄のすべてに
「0」を設定する処理を追加する。
Processing device 200 performs the following processing. (1) Generation of Storage Device 100 1) Storage device 100 based on the method shown in the first embodiment.
Set the value to. It should be noted that only the rows in which the test identification 340 of the case data 300 is not "necessary" are used. 2) When the storage device 100 is initialized, a process of setting “0” is added to all the columns storing the established number 160, the unestablished number 161, and the falsely established number 162.

【0079】(2)記憶装置100の状態をテスト 1)事例データ300から、テスト用識別340が「要」
である属性13101〜属性n310nとその判別結果33
0を読み込む。 2)読み込んだ属性13101〜属性n310nの組合せ(す
なわち属性値の組合せ)と、記憶装置100の要否15
0が「要」である行の属性値の組合せ110を比較し、
次の判定を行なう。 a.読み込んだ属性13101〜属性n310nの組合せ
が、属性値の組合せ110を包含し、かつ、判別結果3
30が「正」であれば、成立数160の欄に「1」を加
算する。 b.読み込んだ属性13101〜属性n310nの組合せ
が、属性値の組合せ110を包含し、かつ、判別結果3
30が「負」であれば、誤成立数162の欄に「1」を
加算する。 c.記憶装置100の要否150の欄が「要」である行
に対して、上記a,bの操作を繰り返す。 d.上記cの操作の結果、判別結果330が「正」であ
ったにも関わらず、記憶装置100の要否150が
「要」である行の属性値の組合せ110を一つも包含し
なかったならば、不成立数161の欄に「1」を加算す
る。 3)事例データ300のテスト用識別340が「要」であ
るすべての行に対して上記1),2)の操作を行なう。
(2) Test the state of the storage device 100 1) From the case data 300, the test identification 340 is "necessary"
Attribute 1 310 1 to attribute n 310 n and the determination result 33
Read 0. 2) read the attribute 1 310 1 to the combination of the attribute n 310 n (i.e. a combination of attribute values), necessity 15 of the storage device 100
Compare the attribute value combinations 110 of the rows where 0 is “necessary”,
Make the following decisions. a. The combination of the read attribute 1 310 1 to attribute n 310 n is, includes a combination 110 of an attribute value, and the determination result 3
If 30 is “positive”, “1” is added to the column of the established number 160. b. The combination of the read attribute 1 310 1 to attribute n 310 n is, includes a combination 110 of an attribute value, and the determination result 3
If 30 is “negative”, “1” is added to the column of the number of false establishments 162. c. The above operations a and b are repeated for the row in the storage device 100 where the column of necessity 150 is "necessary". d. As a result of the operation c, if the determination result 330 is “correct” but the necessity 150 of the storage device 100 does not include one of the attribute value combinations 110 of “necessary”. For example, “1” is added to the column of the unsatisfied number 161. 3) The above operations 1) and 2) are performed on all the rows of the case data 300 for which the test identification 340 is “necessary”.

【0080】(3)事例数の表示 記憶装置100の成立数160,不成立数161,誤成
立数162に基づいて、出力装置600に表示する。
(3) Display of Number of Cases The number of cases is displayed on the output device 600 based on the established number 160, the unestablished number 161, and the falsely established number 162 of the storage device 100.

【0081】前記(1)の処理を行なうことにより、図
25に示すような記憶装置100が生成される。また、
(2),(3)の処理により記憶装置100の成立数1
60,不成立数161,誤成立数162を出力装置60
0に表示すると、図26のようになる。この実施例によ
れば、第1実施例と同一の効果が得られるほか、判別条
件の性能としてどのくらいのテスト用事例データを満足
するのかを評価でき、また、事例データを作り替えずに
判別条件をテストできることから、判別条件の評価を有
効に行なうことができる。更に、知識ベースシステム開
発時の負荷を軽減することが可能である。
By performing the processing of (1), the storage device 100 as shown in FIG. 25 is created. Also,
By the processing of (2) and (3), the number of established storage devices 100 is 1
60, the number of non-established 161, the number of falsely established 162, the output device 60
When it is displayed at 0, it becomes as shown in FIG. According to this embodiment, the same effect as in the first embodiment can be obtained, and it is possible to evaluate how much test case data is satisfied as the performance of the discrimination condition, and the discrimination condition can be evaluated without recreating the case data. Since the test can be performed, the judgment condition can be effectively evaluated. Furthermore, it is possible to reduce the load when developing the knowledge base system.

【0082】図27〜図29は、第1発明の第12実施
例を示している。この実施例は、図27に示すごとく、
第11実施例における事例データ300に事例番号36
0を格納する欄を追加し、また、記憶装置100に不成
立正例番号171及び誤成立負例番号172を格納する
欄を追加したものである。これにより、記憶装置100
の状態をテストして事例数及び事例番号を表示するよう
にした。
27 to 29 show a twelfth embodiment of the first invention. In this embodiment, as shown in FIG.
The case number 36 is added to the case data 300 in the eleventh embodiment.
A column for storing 0 is added, and a column for storing the false positive example number 171 and the false negative example number 172 is added to the storage device 100. As a result, the storage device 100
The state of was tested and the case number and case number were displayed.

【0083】処理装置200は、次のような処理を行な
う。 (1)記憶装置100の生成 1)第11実施例で説明した方法に基づいて、記憶装置1
00に値を設定する。 2)記憶装置100を初期化する際に、成立数160,不
成立数161,誤成立数162を格納する欄に「0」
を、不成立正例番号171,誤成立負例番号172を格
納する欄に「空白」を設定する処理を追加する。 (2)記憶装置100の状態をテスト 第11実施例で説明した方法に基づいて、不成立数16
1を積算するとき及び誤成立数162を積算するときの
それぞれについて、不成立正例番号171,誤成立負例
番号172の欄に事例番号360を設定する処理を追加
する。 (3)事例番号の表示 第11実施例による事例数の表示にあわせて、不成立正
例番号171,誤成立負例番号172を表示する処理を
追加する。
Processing device 200 performs the following processing. (1) Generation of storage device 100 1) Storage device 1 based on the method described in the eleventh embodiment
Set the value to 00. 2) When the storage device 100 is initialized, “0” is entered in the columns for storing the established number 160, the unestablished number 161, and the falsely established number 162.
Is added to the column for storing the non-established positive example number 171 and the false established negative example number 172. (2) Testing the state of the storage device 100 Based on the method described in the eleventh embodiment, the number of failures 16
Processing for setting the case number 360 in the columns of the positive positive example number 171 and the negative negative example number 172 is added for the case of integrating 1 and the case of accumulating the number of false cases 162, respectively. (3) Display of the case number In addition to the display of the number of cases according to the eleventh embodiment, a process for displaying the unsatisfied positive example number 171 and the falsely established negative example number 172 is added.

【0084】前記(1)の処理により、図28に示すよ
うな記憶装置100が生成される。また、(2),
(3)の処理により、成立数160,不成立数161,
誤成立数162と共に事例番号を表示すると図29のよ
うになる。この実施例によれば、各判別条件の性能と、
間違った事例データ300の事例番号360が明確にな
る。また、知識ベースシステム開発時の負荷が軽減され
る。更に、判別条件が判別を誤った事例を検出できるた
め、学習時に使用されなかった未知の事例データを検出
することができる。
By the process (1), the storage device 100 as shown in FIG. 28 is generated. Also, (2),
By the processing of (3), the number of established 160, the number of unestablished 161,
FIG. 29 shows the case number displayed together with the falsely established number 162. According to this embodiment, the performance of each discrimination condition,
The case number 360 of the wrong case data 300 becomes clear. Also, the load at the time of developing the knowledge base system is reduced. Furthermore, since it is possible to detect a case in which the discrimination condition is erroneously discriminated, it is possible to detect unknown case data that was not used during learning.

【0085】図30〜図32は第2発明の第1実施例を
示している。この実施例は、記憶装置100の内容を用
いて推論を行いながら学習するようにしたものである。
図30に示す記憶装置100は、例えば第1発明の第1
実施例により生成されたものである。この記憶装置10
0は、前述のように属性値の組合せ110,正例数13
0,負例数131,要否150を格納する欄から構成さ
れている。処理装置200は、入力装置700から属性
の値を入力し、記憶装置100の内容に従って推論し、
その推論結果を出力装置600に出力する。更に、この
推論結果に対する評価を入力装置700から入力し、記
憶装置100の内容を変更する。このように処理装置2
00は、入力装置700から属性の値を入力し、推論結
果を出力装置600に出力することを繰り返しながら、
同時に記憶装置100の内容を変更していく。
30 to 32 show a first embodiment of the second invention. In this embodiment, the contents of the storage device 100 are used for inference and learning.
The storage device 100 shown in FIG. 30 is, for example, the first invention of the first invention.
It is generated by the embodiment. This storage device 10
0 is the combination 110 of attribute values and the number of positive examples is 13 as described above.
It is composed of columns for storing 0, the number of negative examples 131, and necessity 150. The processing device 200 inputs the value of the attribute from the input device 700, infers it according to the contents of the storage device 100,
The inference result is output to the output device 600. Further, the evaluation of the inference result is input from the input device 700, and the content of the storage device 100 is changed. Thus, the processing device 2
00 repeatedly inputs the value of the attribute from the input device 700 and outputs the inference result to the output device 600,
At the same time, the contents of the storage device 100 are changed.

【0086】以下に、処理装置200における処理の詳
細を説明する。例えば、記憶装置100の内容が図31
のようであるとして以下に詳述する。 (1)推論 1)入力装置700から属性の値を入力する。属性値の入
力の仕方には、例えば下記のようなものがある。何れの
方式を採っても本実施例は有効である。 ・本実施例を使ったシステムの利用者が属性値を設定す
る。 ・本実施例を使ったシステムがファイル等にある属性値
を読み込む。 ・本実施例を使ったシステムが利用者に属性名を提示
し、値を読み込む。 ここでは、属性1,属性2,属性3の値として、それぞれ
a1,b2,c1を入力したものとする。
Details of the processing in the processing device 200 will be described below. For example, the contents of the storage device 100 are shown in FIG.
It will be described in detail below. (1) Inference 1) Input an attribute value from the input device 700. For example, the following methods are available for inputting the attribute value. This embodiment is effective regardless of which method is adopted. The user of the system using this embodiment sets attribute values. -The system using this embodiment reads the attribute value in a file or the like. The system using this embodiment presents the attribute name to the user and reads the value. Here, it is assumed that a1, b2, and c1 are input as the values of attribute 1 , attribute 2 , and attribute 3 , respectively.

【0087】2)入力装置700から入力した属性値を、
記憶装置100の中の要否150の欄が「要」である行
の属性値の組合せ110と比較する。もし、入力した属
性値が、属性値の組合せ110の内容と一致するか、内
容を含んでいれば、「正」という推論結果を出力装置6
00に出力する。もし、入力した属性値が、属性値の組
合せ110の内容と一致せず、内容を含んでいない場合
には、記憶装置100の中の要否150の欄が「要」で
ある次の行の属性値の組合せ110と比較する。そし
て、入力した属性値が、属性値の組合せ110の内容と
一致するか、内容を含んでいれば、「正」という推論結
果を出力装置600に出力する。
2) The attribute value input from the input device 700 is
A comparison is made with the attribute value combination 110 of the row in the storage device 100 where the column of necessity 150 is “necessary”. If the input attribute value matches the content of the attribute value combination 110 or includes the content, an inference result of "correct" is output to the output device 6
Output to 00. If the input attribute value does not match the content of the attribute value combination 110 and does not include the content, the necessity / non-necessity 150 column in the storage device 100 indicates the next row. Compare with the attribute value combination 110. Then, if the input attribute value matches the content of the attribute value combination 110 or includes the content, the inference result “correct” is output to the output device 600.

【0088】もし、入力した属性値が、記憶装置100
の中の要否150の欄が「要」であるすべての行の属性
値の組合せ110の内容と一致せず、内容を含まない場
合には、「負」という推論結果を出力装置600に出力
する。ここでは、入力した属性値a1,b2,c1が、
記憶装置100の中の要否150の欄が「要」である最
初の行の属性値の組合せ110の内容a1,c1を含ん
でいるので、「正」という推論結果を出力装置600に
出力する。
If the input attribute value is the storage device 100
In the case where the column of necessity 150 does not match the contents of the attribute value combinations 110 of all the lines that are “necessary” and does not include the contents, the inference result “negative” is output to the output device 600. To do. Here, the input attribute values a1, b2, c1 are
Since the column of necessity 150 in the storage device 100 includes the contents a1 and c1 of the attribute value combination 110 of the first row that is “necessary”, the inference result “correct” is output to the output device 600. .

【0089】(2)推論結果の評価 3)続いて、入力装置700から推論結果の評価を入力す
る。このとき、先に入力した属性値は保存されているも
のとする。推論結果の評価の入力の仕方には、例えば下
記のようなものがある。本実施例は、何れの方式を採っ
ても有効である。 ・本実施例を使ったシステムが利用者に推論結果を提示
し、評価を読み込む。 ・本実施例を使ったシステムがファイル等にある情報を
もとにして評価を決定する。 出力装置600に出力された推論結果が正しければ、入
力装置700には何も設定されない。また、推論結果が
正しくなければ、入力装置700に正しい結論が設定さ
れる。ここでは、属性値a1,b2,c1に対する推論
結果「正」が、正しくないと評価されたものとする。こ
の場合、入力装置700に正しい結論「負」が設定され
る。
(2) Evaluation of inference result 3) Subsequently, evaluation of the inference result is input from the input device 700. At this time, it is assumed that the previously input attribute value has been saved. For example, the following methods are available for inputting the evaluation of the inference result. This embodiment is effective regardless of which method is used. -The system using this embodiment presents the inference result to the user and reads the evaluation. -The system using this embodiment determines the evaluation based on the information in the file or the like. If the inference result output to the output device 600 is correct, nothing is set in the input device 700. If the inference result is not correct, the correct conclusion is set in the input device 700. Here, it is assumed that the inference result “correct” for the attribute values a1, b2, c1 is evaluated as incorrect. In this case, the input device 700 is set to the correct conclusion “negative”.

【0090】(3)記憶装置の内容の修正 4)推論結果が正しいと評価され、入力装置700に何も
設定されなかったときは、何の処理も行わない。 5)推論結果が正しくないと評価され、入力装置700に
別の結論が設定されたときは、以下のような処理を行
う。 6)入力装置700に設定された結論が「負」のときに
は、記憶装置100の最後に行を追加し、その属性値の
組合せ110の欄に、入力装置700に保存されている
属性値を設定する。そして、その行の正例数130及び
負例数131にそれぞれ「0」及び「1」を設定する。
更に、その行の要否150の欄に「空白」を設定する。
(3) Correction of contents of storage device 4) When the inference result is evaluated as correct and nothing is set in the input device 700, no processing is performed. 5) When the inference result is evaluated to be incorrect and another conclusion is set in the input device 700, the following processing is performed. 6) When the conclusion set in the input device 700 is "negative", a line is added to the end of the storage device 100, and the attribute value combination 110 has the attribute value stored in the input device 700 set. To do. Then, "0" and "1" are set in the positive example number 130 and the negative example number 131 of the row, respectively.
Further, "blank" is set in the column of necessity 150 of that line.

【0091】7)記憶装置100の行を検索し、上記6)で
追加した行の属性値の組合せ110の内容を含む属性値
の組合せ110の内容を含む属性値の組合せ110を持
つ行を探す。そしてその行の負例数131の欄の値を
「1」だけ増やす。 8)もし、上記7)で探した行の要否150の内容が、
「要」である場合にはそれを「空白」にする。 9)記憶装置100の行を検索し、上記6)で追加した行の
属性値の組合せ110の内容を含む属性値の組合せ11
0を持つ行のすべてに対して、上記7),8)の処理を繰り
返す。すべての処理を終えたら、次の処理に移る。
7) A row in the storage device 100 is searched for a row having an attribute value combination 110 including the content of the attribute value combination 110 including the content of the attribute value combination 110 of the row added in 6) above. . Then, the value in the negative example number 131 column of that row is increased by "1". 8) If the content of the necessity 150 of the line searched in 7) above,
If it is "required", it is set to "blank". 9) A combination of attribute values including the contents of the combination 110 of the attribute values of the row added in 6) above by searching the rows of the storage device 100
The above processes 7) and 8) are repeated for all the rows having 0. When all the processing is completed, move to the next processing.

【0092】10)記憶装置100の行を検索し、要否1
50の内容が「否」の行を探す。そして、その行の属性
値の組合せ110の内容が、要否150の内容が「要」
である他の何れかの行の属性値の組合せ110の内容を
含む場合には、何の処理もせず、「否」のままにしてお
く。 11)もし、上記10)で探した行の属性値の組合せ110の
内容が、要否150の内容が「要」である他の何れの行
の属性値の組合せ110の内容をも含まない場合は、要
否150の内容を「否」から「要」に変更する。 12)記憶装置100の内容を検索し、要否150の内容
が「否」の行のすべてに対して、上記10),11)の処理を
繰り返す。
10) Search for a line in the storage device 100 and determine whether it is necessary 1
Search for the line in which the content of 50 is "No". Then, the content of the attribute value combination 110 in that row is “necessary” and the content of the necessity 150 is “necessary”
If the content of the attribute value combination 110 of any other row is included, no processing is performed and it is left as “no”. 11) If the content of the attribute value combination 110 of the row searched for in 10) above does not include the content of the attribute value combination 110 of any other row whose content of necessity 150 is "necessary" Changes the content of the necessity 150 from "no" to "necessary". 12) The contents of the storage device 100 are searched, and the processes of 10) and 11) above are repeated for all the lines in the contents of the necessity 150 which are “No”.

【0093】すべての処理を終えたら、上記6)から始ま
った、入力装置700に設定された結論が「負」のとき
の処理を終える。この例では、上記6)から12)までの処
理により、記憶装置100の内容は図32のように変更
される。すなわち、最後の行に属性値a1,b2,c1
の組合せが追加され、その正例数と負例数はそれぞれ
「0」と「1」に設定される。そして、属性値a1,b
2,c1の組合せを含むa1,c1の行、a1の行、c
1の行の負例数がそれぞれ「1」だけ加算されている。
また、a1,c1の行の要否が「要」から「空白」に変
更されている。
When all the processing is completed, the processing starting from the above 6) when the conclusion set in the input device 700 is "negative" is completed. In this example, the contents of the storage device 100 are changed as shown in FIG. 32 by the processes 6) to 12). That is, the attribute values a1, b2, c1 are in the last line.
Is added, and the number of positive examples and the number of negative examples are set to “0” and “1”, respectively. Then, the attribute values a1 and b
A1, c1 row, a1 row, c containing a combination of 2, c1
Negative numbers in the row of 1 are added by "1".
Further, the necessity of the lines a1 and c1 is changed from "necessary" to "blank".

【0094】13)入力装置700に設定された結論が
「正」のときは、記憶装置100の最後に行を追加し、
その属性値の組合せ110の欄に、入力装置700に保
存されている属性値を設定する。そしてその行の正例数
130及び負例数131にそれぞれ「1」及び「0」を
設定する。更に、その行の要否150の欄に「要」を設
定する。 以上が処理装置200における処理の詳細である。
13) When the conclusion set in the input device 700 is "correct", a line is added to the end of the storage device 100,
The attribute value stored in the input device 700 is set in the column of the attribute value combination 110. Then, "1" and "0" are set to the positive example number 130 and the negative example number 131 of the row, respectively. Further, "necessary" is set in the column of necessity 150 in that row. The above is the details of the processing in the processing device 200.

【0095】この実施例によれば、第1発明の第1実施
例と同一の効果が得られるほか、記憶装置100の内容
を使って推論を行うことができ、推論結果を評価するこ
とによって、推論が正しくない場合には記憶装置100
の内容をその場で直ちに修正できる利点がある。すなわ
ち、判別結果に対する運用時の評価に基づいて判別条件
を修正することができるから、現場において効率良く判
別処理を行うことができる。
According to this embodiment, the same effect as that of the first embodiment of the first invention can be obtained, and inference can be performed using the contents of the storage device 100. By evaluating the inference result, If the inference is not correct, the storage device 100
There is an advantage that the contents of can be corrected immediately on the spot. That is, since the determination condition can be corrected based on the evaluation of the determination result during operation, the determination process can be efficiently performed on site.

【0096】図33は、第2発明の第2実施例を示して
いる。この実施例は、第2発明の第1実施例に事例デー
タ300を追加することにより、学習しながら事例デー
タ300を蓄積できるようにしたものである。図33に
おいて、記憶装置100は例えば第1発明の第1実施例
により構成されたもので、第2発明の第1実施例にかか
る記憶装置100と同一である。また、事例データ30
0は、属性13101〜属性n310nの格納欄、判別結果
330の格納欄からなり、何れも最初は空白である。
FIG. 33 shows a second embodiment of the second invention. In this embodiment, the case data 300 is added to the first embodiment of the second invention so that the case data 300 can be accumulated while learning. In FIG. 33, the storage device 100 is constituted by, for example, the first embodiment of the first invention, and is the same as the storage device 100 according to the first embodiment of the second invention. Also, case data 30
0 consists of a storage column for attributes 1 310 1 to n 310 n, and a storage column for the discrimination result 330, all of which are initially blank.

【0097】処理装置200は、第2発明の第1実施例
と同様に、入力装置700から属性の値を入力し、記憶
装置100の内容に従って推論し、その推論結果を出力
装置600に出力する。更に、この推論結果に対する評
価を入力装置700から入力し、記憶装置100の内容
を変更する。このように処理装置200は、入力装置7
00から属性の値を入力し、推論結果を出力装置600
に出力することを繰り返しながら、同時に記憶装置10
0の内容を変更していく。第2発明の第1実施例と異な
るのは、入力した属性の値と、推論結果に対する評価と
を事例データ300に格納する処理が付加されている点
である。
As in the first embodiment of the second invention, the processing device 200 inputs the attribute value from the input device 700, infers it according to the contents of the storage device 100, and outputs the inference result to the output device 600. . Further, the evaluation of the inference result is input from the input device 700, and the content of the storage device 100 is changed. As described above, the processing device 200 includes the input device 7
The attribute value is input from 00 and the inference result is output to the output device 600.
Output to the storage device 10 at the same time.
The contents of 0 will be changed. The difference from the first embodiment of the second invention is that a process of storing the input attribute value and the evaluation of the inference result in the case data 300 is added.

【0098】以下に、処理装置200における処理の詳
細を説明する。例えば、記憶装置100の内容が図31
のようであるとして以下に詳述する。 (1)推論 この処理は第2発明の第1実施例について説明したのと
同一であるため、詳述を省略する。すなわち、以下の処
理を行なう。 1)入力装置700から属性の値を入力する。 2)入力装置700から入力した属性値を、記憶装置10
0の中の要否150の欄が「要」である行の属性値の組
合せ110と比較する。
Details of the processing in the processing device 200 will be described below. For example, the contents of the storage device 100 are shown in FIG.
It will be described in detail below. (1) Inference Since this process is the same as that described in the first embodiment of the second invention, detailed description thereof will be omitted. That is, the following processing is performed. 1) Input an attribute value from the input device 700. 2) The attribute value input from the input device 700 is stored in the storage device 10.
It is compared with the attribute value combination 110 of the row in which the column of necessity 150 in 0 is “necessary”.

【0099】(2)推論結果の評価 以下の3)の処理は第2発明の第1実施例と一部異なる。 3)続いて、入力装置700から推論結果の評価を入力す
る。このとき、先に入力した属性値は保存されているも
のとする。推論結果の評価の入力の仕方には、例えば下
記のようなものがある。本実施例は、何れの方式を採っ
ても有効である。 ・本実施例を使ったシステムが利用者に推論結果を提示
し、評価を読み込む。 ・本実施例を使ったシステムがファイル等にある情報を
もとにして評価を決定する。 出力装置600に出力された推論結果が正しければ、入
力装置700には何も設定されない。この場合は、入力
装置700に保存されている属性値と、出力装置600
に出力された推論結果を、それぞれ事例データ300の
最後の行の属性13101〜属性n310nの欄と、判別結
果330の欄に格納する。
(2) Evaluation of inference result The processing of 3) below is partly different from the first embodiment of the second invention. 3) Then, the evaluation of the inference result is input from the input device 700. At this time, it is assumed that the previously input attribute value has been saved. For example, the following methods are available for inputting the evaluation of the inference result. This embodiment is effective regardless of which method is used. -The system using this embodiment presents the inference result to the user and reads the evaluation. -The system using this embodiment determines the evaluation based on the information in the file or the like. If the inference result output to the output device 600 is correct, nothing is set in the input device 700. In this case, the attribute value stored in the input device 700 and the output device 600
The inference result output to each of the case data 300 is stored in the columns of attribute 1 310 1 to attribute n 310 n and the discrimination result 330 column in the last row of the case data 300.

【0100】出力装置600に出力された推論結果が正
しくなければ、入力装置700に正しい結論が設定され
る。この場合は、入力装置700に保存されている属性
値と、入力装置700に設定された推論結果を、それぞ
れ事例データ300の最後の行の属性13101〜属性n
310nの欄と判別結果330の欄とに格納する。
If the inference result output to the output device 600 is incorrect, a correct conclusion is set in the input device 700. In this case, the attribute value stored in the input device 700 and the inference result set in the input device 700 are used as the attributes 1 310 1 to n of the last line of the case data 300, respectively.
It is stored in the column of 310 n and the column of the discrimination result 330.

【0101】(3)記憶装置の内容の修正 以下の処理については、第2発明の第1実施例における
処理4)〜13)と同一であるため、詳述を省略する。
(3) Correction of contents of storage device The following processing is the same as the processing 4) to 13) in the first embodiment of the second invention, and therefore detailed description thereof will be omitted.

【0102】この実施例によれば、第2発明の第1実施
例の効果に加えて、判別結果に対する運用時の評価に基
づき、例えば第1発明の第1実施例において使用するた
めの事例データ300を自動的に収集できる利点があ
る。これにより、判別条件を運用時にも改善でき、現場
において効率良く判別処理を行なうことが可能になる。
According to this embodiment, in addition to the effects of the first embodiment of the second invention, case data for use in, for example, the first embodiment of the first invention is based on the evaluation of the discrimination result during operation. There is an advantage that 300 can be collected automatically. As a result, the discrimination conditions can be improved even during operation, and the discrimination processing can be efficiently performed on site.

【0103】図34〜図38は第2発明の第3実施例を
示している。この実施例は、第2発明の第1実施例に知
識ベース500を追加したものであり、これによって知
識ベース500を用いて推論しながら学習できるように
した。図34において、記憶装置100及び知識ベース
500は、例えば第1発明の第4実施例により生成され
たものである。記憶装置100は、前記同様に、属性値
の組合せ110、正例数130、負例数131、要否1
50の欄から構成される。知識ベース500には、記憶
装置100の中の属性値の組合せのうち、要否150の
欄が「要」である行の属性値の組合せ110に対応した
ルールが格納されている。
34 to 38 show a third embodiment of the second invention. In this embodiment, a knowledge base 500 is added to the first embodiment of the second invention so that learning can be performed while inferring using the knowledge base 500. In FIG. 34, the storage device 100 and the knowledge base 500 are generated by, for example, the fourth embodiment of the first invention. The storage device 100 is, as described above, the combination 110 of attribute values, the number 130 of positive examples, the number 131 of negative examples, and necessity 1
It consists of 50 columns. In the knowledge base 500, among the combinations of attribute values in the storage device 100, the rules corresponding to the attribute value combinations 110 of the rows in which the column of necessity 150 is “necessary” are stored.

【0104】処理装置200は、入力装置700から属
性の値を入力し、知識ベース500の内容に従って推論
を行ない、その推論結果を出力装置600に出力する。
更に、この推論結果に対する評価を入力装置700から
入力し、記憶装置100及び知識ベース500の内容を
変更する。このように、処理装置200は、入力装置7
00から属性の値を入力し、推論結果を出力装置600
に出力することを繰り返しながら、同時に記憶装置10
0と知識ベース500との内容を変更していく。
The processing device 200 inputs the value of the attribute from the input device 700, makes an inference according to the contents of the knowledge base 500, and outputs the inference result to the output device 600.
Furthermore, the evaluation of this inference result is input from the input device 700, and the contents of the storage device 100 and the knowledge base 500 are changed. As described above, the processing device 200 includes the input device 7
The attribute value is input from 00 and the inference result is output to the output device 600.
Output to the storage device 10 at the same time.
The contents of 0 and the knowledge base 500 are changed.

【0105】以下に、処理装置200における処理の詳
細を説明する。例えば、記憶装置100と知識ベース5
00の内容がそれぞれ図35、図36のようであるとす
る。 (1)推論 1)この処理は、第2発明の第1実施例における処理1)と
同一である。すなわち、入力装置700から属性の値を
入力する。また、入力する属性の値は、前記同様にa
1,b2,c1とする。 2)この処理は第2発明の第1実施例と異なる。すなわ
ち、入力装置700から入力した属性値を、知識ベース
500に格納されたルールの属性値の組合せと比較す
る。もし、入力した属性値が、ルールの属性値の組合せ
の内容と一致するか、内容を含んでいれば、「正」とい
う推論結果を出力装置600に出力する。もし、入力し
た属性値が、ルールの属性値の組合せの内容と一致せ
ず、内容を含んでいない場合には、知識ベース500に
格納された次のルールの属性値の組合せと比較する。
The details of the processing in the processing device 200 will be described below. For example, the storage device 100 and the knowledge base 5
It is assumed that the contents of 00 are as shown in FIGS. 35 and 36, respectively. (1) Inference 1) This process is the same as the process 1) in the first embodiment of the second invention. That is, the value of the attribute is input from the input device 700. The value of the attribute to be input is a
1, b2, c1. 2) This process is different from the first embodiment of the second invention. That is, the attribute value input from the input device 700 is compared with the combination of the attribute values of the rules stored in the knowledge base 500. If the input attribute value matches the content of the combination of the attribute values of the rule or includes the content, the inference result “correct” is output to the output device 600. If the input attribute value does not match the content of the attribute value combination of the rule and does not include the content, it is compared with the attribute value combination of the next rule stored in the knowledge base 500.

【0106】そして、入力した属性値が、ルールの属性
値の組合せの内容と一致するか、内容を含んでいれば、
「正」という推論結果を出力装置600に出力する。も
し、入力した属性値が、知識ベース500に格納された
すべてのルールの属性値の組合せの内容と一致せず、内
容を含んでいない場合には、「負」という推論結果を出
力装置600に出力する。ここでは、入力した属性値a
1,b2,c1が、知識ベース500に格納された最初
のルールの属性値の組合せの内容であるa1,c1を含
んでいるので、「正」という推論結果を出力装置600
に出力する。
Then, if the input attribute value matches or contains the content of the combination of the attribute values of the rule,
The inference result “positive” is output to the output device 600. If the input attribute value does not match the content of the attribute value combinations of all the rules stored in the knowledge base 500 and does not include the content, the inference result “negative” is output to the output device 600. Output. Here, the input attribute value a
1, b2 and c1 include a1 and c1 which are the contents of the combination of the attribute values of the first rule stored in the knowledge base 500, the inference result of "correct" is output to the output device 600.
Output to.

【0107】(2)推論結果の評価 この処理については第2発明の第1実施例における処理
3)と同一であるので、詳述を省略する。 (3)記憶装置と知識ベースの内容の修正 この処理では、まず、第2発明の第1実施例で述べた4)
〜7)と同一の処理を行なう。その後、次の8)の処理を行
なう。 8)もし、7)の処理によって探した行の要否150の内容
が「要」である場合には、それを「空白」にする。そし
て、この行に対応するルールを知識ベース500から削
除する。
(2) Evaluation of inference result This processing is the processing in the first embodiment of the second invention.
Since it is the same as 3), detailed description is omitted. (3) Correction of contents of storage device and knowledge base In this processing, first, 4) described in the first embodiment of the second invention is described.
~ Perform the same processing as 7). After that, the following process 8) is performed. 8) If the content of the necessity 150 of the line searched by the process of 7) is "necessary", it is set to "blank". Then, the rule corresponding to this row is deleted from the knowledge base 500.

【0108】次いで、第2発明の第1実施例における
9),10)の処理を行なう。その後、次の11)の処理を実行
する。 11)もし、10)の処理により探した行の組合せ110の内
容が、要否150の内容が「要」である他の何れの行の
属性値の組合せ110の内容をも含まない場合には、要
否150の内容を「否」から「要」に変更する。そし
て、この行に対応するルールを、知識ベース500に追
加する。その後の処理は、第2発明の第1実施例におけ
る12)の処理と同一である。すなわち、 12)記憶装置100の行を検索し、要否150の内容が
「否」であるすべてに対して、上記10),11)の処理を繰
り返す。すべての処理が終わったら、上記6)から始まっ
た、入力装置700に設定された結論が「負」のときの
処理を終える。
Then, in the first embodiment of the second invention.
Perform steps 9) and 10). After that, the following 11) processing is executed. 11) If the content of the row combination 110 searched by the processing of 10) does not include the content of the attribute value combination 110 of any other row whose content of necessity 150 is “necessary” The content of the necessity 150 is changed from “No” to “Necessary”. Then, the rule corresponding to this row is added to the knowledge base 500. The subsequent processing is the same as the processing of 12) in the first embodiment of the second invention. That is, 12) the rows of the storage device 100 are searched, and the processes of 10) and 11) above are repeated for all the contents of the necessity 150, which is “NO”. When all the processing is completed, the processing starting from 6) when the conclusion set in the input device 700 is “negative” is completed.

【0109】この例では、上記6)〜12)の処理により、
記憶装置100と知識ベース500の内容は、それぞれ
図37及び図38のように変更される。すなわち、最後
の行に属性値a1,b2,c1の組合せが追加され、そ
の正例数と負例数とはそれぞれ「0」と「1」とに設定
される。そして、属性値a1,b2,c1の組合せを含
むa1,c1の行、a1の行、c1の行の負例数がそれ
ぞれ「1」だけ加算されている。また、a1,c1の行
の要否が「要」から「否」に変更されている。これに伴
い、知識ベース500から対応するルールが削除されて
いる。
In this example, by the processing of 6) to 12) above,
The contents of the storage device 100 and the knowledge base 500 are changed as shown in FIGS. 37 and 38, respectively. That is, the combination of the attribute values a1, b2, and c1 is added to the last line, and the number of positive examples and the number of negative examples are set to "0" and "1", respectively. Then, the negative example numbers of the rows of a1, c1, the rows of a1, and the rows of c1 including the combination of the attribute values a1, b2, c1 are respectively added by “1”. Further, the necessity of the lines a1 and c1 is changed from "necessity" to "no". Along with this, the corresponding rule is deleted from the knowledge base 500.

【0110】13)入力装置700に設定された結論が
「正」のときには、記憶装置100の最後に行を追加し
てその属性値の組合せ110の欄に、入力装置700に
保存されている属性値を設定する。そして、その行の正
例数130及び負例数131にそれぞれ「1」及び
「0」を設定する。更に、その行の要否150の欄に
「要」を設定する。そして、この行に対応するルールを
知識ベース500に追加する。以上が処理装置200に
おける処理の詳細である。
13) When the conclusion set in the input device 700 is "correct", a line is added to the end of the storage device 100, and the attribute stored in the input device 700 is added to the attribute value combination 110 column. Set the value. Then, "1" and "0" are set to the positive example number 130 and the negative example number 131 of the row, respectively. Further, "necessary" is set in the column of necessity 150 in that row. Then, the rule corresponding to this row is added to the knowledge base 500. The above is the details of the processing in the processing device 200.

【0111】本実施例によれば、第2発明の第1実施例
の効果に加えて、判別条件をルールにするので既存のル
ール型システムと連携することができ、高速な推論を可
能にして現場で効率良く判別処理を行なうことができる
と共に、一般的なソフトウェアを利用できるという効果
がある。
According to this embodiment, in addition to the effect of the first embodiment of the second invention, since the discriminating condition is a rule, it is possible to cooperate with the existing rule type system and enable high speed inference. There is an effect that the discrimination processing can be efficiently performed on site and general software can be used.

【0112】図39〜図41は第2発明の第4実施例を
示している。この実施例は、第2発明の第1実施例に属
性値定義部400を追加したものであり、これによって
連続値を用いて記憶装置100の内容を用いながら推論
を行ない、学習するようにしたものである。図39にお
いて、記憶装置100及び属性値定義部400は、例え
ば第1発明の第6実施例により生成されたものである。
記憶装置100の構成は前記同様であり、属性値定義部
400は、連続値をとる属性の名前を格納した属性41
0、その連続値に対する判別条件を格納した成立条件4
20、及びその判別条件が成立したときに該当属性がと
る属性値を格納した属性値430の各欄から構成されて
いる。
39 to 41 show a fourth embodiment of the second invention. In this embodiment, an attribute value defining unit 400 is added to the first embodiment of the second invention, whereby inference is performed and learning is performed while using the contents of the storage device 100 using continuous values. It is a thing. In FIG. 39, the storage device 100 and the attribute value definition unit 400 are generated by, for example, the sixth embodiment of the first invention.
The configuration of the storage device 100 is the same as that described above, and the attribute value definition unit 400 uses the attribute 41 that stores the names of the attributes having continuous values.
0, Satisfaction condition 4 that stores the determination condition for the continuous value
20 and an attribute value 430 column that stores the attribute value of the corresponding attribute when the determination condition is satisfied.

【0113】処理装置200は、入力装置700から属
性の連続値を入力し、属性値定義部400の内容に従っ
て連続値を属性値に変換し、記憶装置100の内容に従
って推論を行ない、その推論結果を出力装置600に出
力する。更に、この推論結果に対する評価を入力装置7
00から入力し、記憶装置100の内容を変更する。こ
のように、処理装置200は、入力装置700から属性
の値を入力し、推論結果を出力装置600に出力するこ
とを繰り返しながら、同時に記憶装置100の内容を変
更していく。
The processing device 200 inputs the continuous value of the attribute from the input device 700, converts the continuous value into the attribute value according to the contents of the attribute value defining section 400, and makes an inference according to the contents of the storage device 100. Is output to the output device 600. Furthermore, the evaluation of the inference result is performed by the input device 7
00 to change the contents of the storage device 100. As described above, the processing device 200 repeatedly inputs the value of the attribute from the input device 700 and outputs the inference result to the output device 600, and simultaneously changes the content of the storage device 100.

【0114】以下に、処理装置200における処理の詳
細を説明する。例えば、記憶装置100と属性値定義部
400の内容が、それぞれ図40及び図41のようであ
るとする。 (1)推論 以下の1)の処理は、第2発明の第1実施例における1)の
処理と異なっている。 1)入力装置700から属性の値を入力する。属性の値の
入力の仕方には、例えば下記のようなものがあり、何れ
の方式でも本実施例は有効である。 ・本実施例を使ったシステムの利用者が属性の値を設定
する。 ・本実施例を使ったシステムがファイルなどにある属性
の値を読み込む。 ・本実施例を使ったシステムが利用者に属性名を提示
し、値を読み込む。
The details of the processing in the processing device 200 will be described below. For example, it is assumed that the contents of the storage device 100 and the attribute value definition unit 400 are as shown in FIGS. 40 and 41, respectively. (1) Inference The process 1) below is different from the process 1) in the first embodiment of the second invention. 1) Input an attribute value from the input device 700. There are the following methods of inputting attribute values, for example, and the present embodiment is effective in any method. The user of the system using this embodiment sets attribute values. -The system using the present embodiment reads the value of an attribute in a file or the like. The system using this embodiment presents the attribute name to the user and reads the value.

【0115】そして、これらの値を属性値定義部400
を使って属性値に変換する。すなわち、それぞれの属性
について、属性値定義部400に格納された行で、属性
410の内容が該当属性の名前と一致するものを探す。
入力装置700から入力した該当属性の値を、その行の
成立条件420に格納された判別条件と比較する。も
し、その判別条件が成立したときは、その行の属性値4
30の内容を該当属性の属性値とする。もし、その判別
条件が成立しないときは、属性値定義部400に格納さ
れた行で、属性410の内容が該当属性の名前と一致す
る次のものを探す。そして、上記判別条件との比較を繰
返し、最終的に該当属性の属性値を決定する。
Then, these values are set to the attribute value definition unit 400.
Convert to an attribute value using. That is, for each attribute, the line stored in the attribute value definition unit 400 is searched for in which the content of the attribute 410 matches the name of the corresponding attribute.
The value of the corresponding attribute input from the input device 700 is compared with the determination condition stored in the satisfaction condition 420 of the row. If the determination condition is met, the attribute value 4 of the line
The content of 30 is set as the attribute value of the corresponding attribute. If the determination condition is not satisfied, the line stored in the attribute value definition unit 400 is searched for the next item whose contents of the attribute 410 match the name of the corresponding attribute. Then, the comparison with the determination condition is repeated to finally determine the attribute value of the corresponding attribute.

【0116】属性値定義部400を使って変換した属性
値を、ここでは便宜的に、入力装置700から入力した
属性値と呼ぶことにする。例えば、属性1,属性2,属性
3の値として、それぞれ6,24,29を入力したもの
とする。属性1については、属性値定義部400に格納
された第1番目の行の判別条件が成立し、その属性値a
1に変換される。属性2については、属性値定義部40
0に格納された第3番目の行の判別条件は成立せず、第
4番目の判別条件が成立し、その属性値b2に変換され
る。属性3については、属性値定義部400に格納され
た第5番目の行の判別条件が成立し、その属性値c1に
変換される。すなわち、入力装置700からa1,b
2,c1の属性値を入力したことに相当する。次に、第
2発明の第1実施例における処理2)と同様の処理を行な
う。
The attribute value converted by using the attribute value defining section 400 will be referred to as an attribute value input from the input device 700 here for convenience. For example, attribute 1 , attribute 2 , attribute
It is assumed that 6, 24 and 29 are input as the values of 3 , respectively. For the attribute 1 , the determination condition of the first row stored in the attribute value definition unit 400 is satisfied, and the attribute value a
Converted to 1. For attribute 2 , the attribute value definition unit 40
The discriminating condition of the third row stored in 0 is not satisfied, but the fourth discriminating condition is satisfied, and the attribute value b2 is converted. For the attribute 3 , the determination condition of the fifth row stored in the attribute value definition unit 400 is satisfied, and the attribute value c1 is converted. That is, from the input device 700 to a1, b
This is equivalent to inputting attribute values of 2 and c1. Next, the same processing as the processing 2) in the first embodiment of the second invention is performed.

【0117】(2)推論結果の評価、及び、 (3)記憶装置の内容の修正 これらについては、第2発明の第1実施例における処理
3)〜13)と同様の処理を行なう。
(2) Evaluation of inference result, and (3) Correction of contents of storage device. These are the processes in the first embodiment of the second invention.
Perform the same processing as 3) to 13).

【0118】この実施例によれば、第2発明の第1実施
例の効果に加えて、連続値をとる属性を利用できるた
め、現場の事例データを利用することができる。
According to this embodiment, in addition to the effect of the first embodiment of the second invention, since an attribute that takes a continuous value can be used, it is possible to use on-site case data.

【0119】図42は第2発明の第5実施例を示してい
る。この実施例は、第2発明の第4実施例に事例データ
300を追加したものであり、これにより、連続値を用
いて学習しながら事例データを自動的に蓄積するように
したものである。図42に示す記憶装置100及び属性
値定義部400は、第2発明の第4実施例と同様に、例
えば第1発明の第6実施例により生成されたものであ
る。
FIG. 42 shows a fifth embodiment of the second invention. In this embodiment, the case data 300 is added to the fourth embodiment of the second invention, whereby the case data is automatically accumulated while learning using continuous values. The storage device 100 and the attribute value definition unit 400 shown in FIG. 42 are generated by, for example, the sixth embodiment of the first invention, similarly to the fourth embodiment of the second invention.

【0120】この実施例においても、第2発明の第4実
施例と同様に、処理装置200は、入力装置700から
属性の連続値を入力し、属性値定義部400の内容に従
って連続値を属性値に変換し、記憶装置100の内容に
従って推論を行ない、その推論結果を出力装置600に
出力する。更に、この推論結果に対する評価を入力装置
700から入力し、記憶装置100の内容を変更する。
このように、処理装置200は、入力装置700から属
性の値を入力し、推論結果を出力装置600に出力する
ことを繰り返しながら、同時に記憶装置100の内容を
変更していく。
Also in this embodiment, similarly to the fourth embodiment of the second invention, the processing device 200 inputs the continuous value of the attribute from the input device 700 and attributes the continuous value according to the contents of the attribute value defining section 400. The value is converted, inference is performed according to the contents of the storage device 100, and the inference result is output to the output device 600. Further, the evaluation of the inference result is input from the input device 700, and the content of the storage device 100 is changed.
As described above, the processing device 200 repeatedly inputs the value of the attribute from the input device 700 and outputs the inference result to the output device 600, and simultaneously changes the content of the storage device 100.

【0121】この実施例が第2発明の第4実施例と異な
る点は、入力した属性の連続値と、推論結果に対する評
価を事例データ300に格納する処理が追加されている
ことである。以下に、処理装置200における処理の詳
細を説明する。 (1)推論 まず、第2発明の第4実施例と同様の処理1),2)を実行
する。 (2)推論結果の評価 次の処理3)は第2発明の第4実施例と異なっている。 3)入力装置700から推論結果の評価を入力する。この
時、先に入力した属性の連続値は保存されているものと
する。推論結果の入力の仕方には例えば下記のようなも
のがあり、何れの方式をとっても本実施例は有効であ
る。 ・本実施例を使ったシステムが利用者に推論結果を提示
し、評価を読み込む。 ・本実施例を使ったシステムがファイルなどにある情報
を基にして評価を決定する。
The difference of this embodiment from the fourth embodiment of the second invention is that a process of storing the continuous value of the input attribute and the evaluation of the inference result in the case data 300 is added. The details of the processing in the processing device 200 will be described below. (1) Inference First, the same processes 1) and 2) as in the fourth embodiment of the second invention are executed. (2) Evaluation of inference result The following processing 3) is different from the fourth embodiment of the second invention. 3) Input the evaluation of the inference result from the input device 700. At this time, it is assumed that the continuous value of the attribute previously input is saved. There are the following methods of inputting the inference result, for example, and the present embodiment is effective regardless of the method. -The system using this embodiment presents the inference result to the user and reads the evaluation. The system using the present embodiment determines the evaluation based on the information in the file or the like.

【0122】出力装置600に出力された推論結果が正
しければ、入力装置700には何も設定されない。この
場合は、入力装置700に保存されている属性の連続値
と、入力装置700に設定された推論結果とを、それぞ
れ事例データ300の最後の行のデータ13201〜デー
n320nの欄と、判別結果330の欄とに格納する。
出力装置600に出力された推論結果が正しくなけれ
ば、入力装置700に正しい結論が設定される。この場
合は、入力装置700に保存されている属性の連続値
と、入力装置700に設定された推論結果とを、それぞ
れ事例データ300の最後の行のデータ13201〜デー
n320nの欄と、判別結果330の欄とに格納する。
If the inference result output to the output device 600 is correct, nothing is set in the input device 700. In this case, the continuous values of the attributes stored in the input device 700 and the inference result set in the input device 700 are displayed in the columns of data 1 320 1 to data n 320 n in the last row of the case data 300, respectively. And the determination result 330 column.
If the inference result output to the output device 600 is incorrect, the correct conclusion is set in the input device 700. In this case, the continuous values of the attributes stored in the input device 700 and the inference result set in the input device 700 are displayed in the columns of data 1 320 1 to data n 320 n in the last row of the case data 300, respectively. And the determination result 330 column.

【0123】(3)記憶装置の内容の修正 この処理では、第2発明の第4実施例と同様に処理4)〜
13)が実行される。以上が、処理装置200における処
理の詳細である。
(3) Correction of contents of storage device In this processing, processing 4) to 4) are carried out in the same manner as in the fourth embodiment of the second invention.
13) is executed. The above is the details of the processing in the processing device 200.

【0124】この実施例によれば、第2発明の第4実施
例と同一の効果に加えて、例えば第1発明の第6実施例
において使用するための事例データ300を自動的に収
集できる利点がある。また、現場の事例データを利用す
ることができる。
According to this embodiment, in addition to the same effect as the fourth embodiment of the second invention, for example, the case data 300 for use in the sixth embodiment of the first invention can be automatically collected. There is. In addition, case data at the site can be used.

【0125】図43は第2発明の第6実施例を示してい
る。この実施例は、第2発明の第4実施例に知識ベース
500を追加したものであり、これによって連続値を用
いて知識ベース500により推論しながら学習できるよ
うにしたものである。図43において、記憶装置100
と知識ベース500は、例えば第1発明の第6実施例及
び第4実施例を組合せることにより生成されたものであ
る。処理装置200は、入力装置700から属性の連続
値を入力し、属性値定義部400の内容に従って連続値
を属性値に変換し、知識ベース500の内容に従って推
論し、その推論結果を出力装置600に出力する。更
に、この推論結果に対する評価を入力装置700から入
力し、記憶装置100と知識ベース500の内容を変更
する。このように、処理装置200は、入力装置700
から属性の値を入力し、推論結果を出力装置600に出
力することを繰り返しながら、同時に記憶装置100と
知識ベース500の内容を変更していく。
FIG. 43 shows a sixth embodiment of the second invention. In this embodiment, a knowledge base 500 is added to the fourth embodiment of the second aspect of the invention so that the knowledge base 500 can infer and learn using continuous values. In FIG. 43, the storage device 100
The knowledge base 500 and the knowledge base 500 are generated by, for example, combining the sixth and fourth embodiments of the first invention. The processing device 200 inputs the continuous value of the attribute from the input device 700, converts the continuous value into the attribute value according to the contents of the attribute value definition unit 400, infers according to the contents of the knowledge base 500, and outputs the inference result to the output device 600. Output to. Further, the evaluation of this inference result is input from the input device 700, and the contents of the storage device 100 and the knowledge base 500 are changed. As described above, the processing device 200 includes the input device 700.
The value of the attribute is input and the inference result is output to the output device 600, and the contents of the storage device 100 and the knowledge base 500 are changed at the same time.

【0126】以下に、処理装置200における処理の詳
細を説明する。 (1)推論 まず、第2発明の第4実施例における処理1)と同様の処
理を行う。次に、第2発明の第4実施例とは異なる次の
処理2)を実行する。 2)入力装置700から入力した属性値を、知識ベース5
00に格納されたルールの属性値の組合せと比較する。
もし、入力した属性値が、ルールの属性値の組合せと一
致するか、内容を含んでいれば、「正」という推論結果
を出力装置600に出力する。もし、入力した属性値
が、ルールの属性値の組合せの内容と一致せず、内容を
含んでいない場合には、知識ベース500に格納された
次のルールの属性値の組合せと比較する。
Details of the processing in the processing device 200 will be described below. (1) Inference First, the same processing as the processing 1) in the fourth embodiment of the second invention is performed. Next, the following processing 2) different from the fourth embodiment of the second invention is executed. 2) The attribute value input from the input device 700 is used as the knowledge base 5
00 and the combination of the attribute values of the rule stored in 00.
If the input attribute value matches the attribute value combination of the rule or contains the content, the inference result “positive” is output to the output device 600. If the input attribute value does not match the content of the attribute value combination of the rule and does not include the content, it is compared with the attribute value combination of the next rule stored in the knowledge base 500.

【0127】そして、入力した属性値が、ルールの属性
値の組合せの内容と一致するか、内容を含んでいれば、
「正」という推論結果を出力装置600に出力する。も
し、入力した属性値が、知識ベース500に格納された
すべてのルールの属性値の組合せの内容と一致せず、内
容を含まない場合は、「負」という推論結果を出力装置
600に出力する。
If the input attribute value matches or contains the content of the combination of rule attribute values,
The inference result “positive” is output to the output device 600. If the input attribute value does not match the content of the combination of attribute values of all rules stored in the knowledge base 500 and does not include the content, the inference result “negative” is output to the output device 600. .

【0128】(2)推論結果の評価 この処理については、第2発明の第4実施例における3)
の処理と同一である。 (3)記憶装置と知識ベースの内容の修正 はじめに第2発明の第4実施例と同一の処理4)〜7)を行
う。次に、上記第4実施例とは異なる次の処理8)を行な
う。 8)もし、処理7)で探した行の要否150の内容が「要」
である場合には、それを「空白」にする。そして、この
行に対応するルールを知識ベース500から削除する。
(2) Evaluation of inference result This process is described in 3) in the fourth embodiment of the second invention.
The process is the same as that of. (3) Correction of contents of storage device and knowledge base First, the same processes 4) to 7) as in the fourth embodiment of the second invention are performed. Next, the following process 8) different from the fourth embodiment is performed. 8) If the content of the necessity 150 of the line searched in the process 7) is "necessary"
If it is, then leave it blank. Then, the rule corresponding to this row is deleted from the knowledge base 500.

【0129】次いで、第2発明の第4実施例と同様の処
理9),10)を行う。更に、上記第4実施例とは異なる次
の処理11)を行う。 11)もし、処理10)で探した行の属性値の組合せ110の
内容が、要否150の内容が「要」である他の何れの行
の属性値の組合せ110の内容をも含まない場合は、要
否150の内容を「否」から「要」に変更する。そし
て、この行に対応するルールを、知識ベース500に追
加する。
Then, the same processing 9), 10) as in the fourth embodiment of the second invention is performed. Further, the following processing 11) different from the fourth embodiment is performed. 11) If the content of the attribute value combination 110 of the row searched for in the processing 10) does not include the content of the attribute value combination 110 of any other row whose content of necessity 150 is “necessary” Changes the content of the necessity 150 from "no" to "necessary". Then, the rule corresponding to this row is added to the knowledge base 500.

【0130】次に、第2発明の第4実施例と同様の処理
12)を行った後、次の処理13)を行う。 13)入力装置700に設定された結論が「正」であると
きには、記憶装置100の最後に行を追加し、その属性
値の組合せ110の欄に、入力装置700に保存されて
いる属性値を設定する。そして、その行の正例数130
及び負例数131にそれぞれ「1」及び「0」を設定す
る。更に、その行の要否150の欄に「要」を設定す
る。そして、この行に対応するルールを、知識ベース5
00に追加する。以上が、処理装置200の処理の詳細
である。
Next, the same processing as in the fourth embodiment of the second invention is performed.
After performing 12), the following process 13) is performed. 13) When the conclusion set in the input device 700 is “correct”, a line is added to the end of the storage device 100, and the attribute value combination 110 stores the attribute values stored in the input device 700. Set. And the number of positive examples of that line is 130
And “1” and “0” are set in the negative example number 131, respectively. Further, "necessary" is set in the column of necessity 150 in that row. Then, the rule corresponding to this line is set to the knowledge base 5
Add to 00. The above is the details of the processing of the processing device 200.

【0131】この実施例によれば、第2発明の第4実施
例と同様な効果に加えて、判別条件をルールにするので
既存のルール型システムと連携でき、高速な推論を可能
にして一般的な推論ソフトウェアを利用することができ
る。
According to this embodiment, in addition to the same effect as that of the fourth embodiment of the second invention, since the discriminating condition is a rule, it is possible to cooperate with the existing rule type system and enable high-speed inference. Reasoning software is available.

【0132】[0132]

【発明の効果】以上詳述したように、第1または第2発
明によれば、属性値の組合せをすべて展開することがな
いので、記憶装置に必要とされる記憶容量が少なくて済
み、小形コンピュータでの利用が可能になるという効果
がある。また、すべての事例データを処理し終えた後
で、残りの組合せの中で最も一般的な判別条件を生成す
るため、事例データが少なくても学習を完了することが
でき、現場の事例データを有効に利用できるという利点
がある。上記効果に加えて、第2発明によれば、判別結
果に対する運用時の評価に基づいて判別条件を修正する
ことができ、現場における効率よい判別処理に寄与する
ことができる。
As described in detail above, according to the first or second invention, since all combinations of attribute values are not expanded, the storage capacity required for the storage device is small, and the size is small. This has the effect that it can be used on a computer. In addition, after processing all the case data, the most general discriminant condition is generated among the remaining combinations, so learning can be completed even if the case data is small, and It has the advantage that it can be used effectively. In addition to the above effects, according to the second aspect of the present invention, it is possible to correct the discrimination condition based on the evaluation of the discrimination result during operation, which can contribute to efficient discrimination processing on site.

【図面の簡単な説明】[Brief description of drawings]

【図1】第1発明の第1実施例を示す構成図である。FIG. 1 is a configuration diagram showing a first embodiment of the first invention.

【図2】第1発明の第1実施例を示す構成図である。FIG. 2 is a configuration diagram showing a first embodiment of the first invention.

【図3】第1発明の第2実施例を示す構成図である。FIG. 3 is a configuration diagram showing a second embodiment of the first invention.

【図4】第1発明の第3実施例を示す構成図である。FIG. 4 is a configuration diagram showing a third embodiment of the first invention.

【図5】第1発明の第4実施例を示す構成図である。FIG. 5 is a configuration diagram showing a fourth embodiment of the first invention.

【図6】第1発明の第4実施例を示す構成図である。FIG. 6 is a configuration diagram showing a fourth embodiment of the first invention.

【図7】第1発明の第5実施例を示す構成図である。FIG. 7 is a configuration diagram showing a fifth embodiment of the first invention.

【図8】第1発明の第5実施例を示す構成図である。FIG. 8 is a configuration diagram showing a fifth embodiment of the first invention.

【図9】第1発明の第6実施例を示す構成図である。FIG. 9 is a configuration diagram showing a sixth embodiment of the first invention.

【図10】第1発明の第6実施例における事例データの
説明図である。
FIG. 10 is an explanatory diagram of case data according to the sixth embodiment of the first invention.

【図11】第1発明の第6実施例における属性値定義部
の説明図である。
FIG. 11 is an explanatory diagram of an attribute value definition unit in the sixth embodiment of the first invention.

【図12】第1発明の第6実施例における事例データの
説明図である。
FIG. 12 is an explanatory diagram of case data according to the sixth embodiment of the first invention.

【図13】第1発明の第7実施例を示す構成図である。FIG. 13 is a configuration diagram showing a seventh embodiment of the first invention.

【図14】第1発明の第7実施例を示す構成図である。FIG. 14 is a configuration diagram showing a seventh embodiment of the first invention.

【図15】第1発明の第8実施例を示す構成図である。FIG. 15 is a configuration diagram showing an eighth embodiment of the first invention.

【図16】第1発明の第8実施例を示す構成図である。FIG. 16 is a configuration diagram showing an eighth embodiment of the first invention.

【図17】第1発明の第8実施例における表示例の説明
図である。
FIG. 17 is an explanatory diagram of a display example according to the eighth embodiment of the first invention.

【図18】第1発明の第9実施例を示す構成図である。FIG. 18 is a configuration diagram showing a ninth embodiment of the first invention.

【図19】第1発明の第9実施例を示す構成図である。FIG. 19 is a configuration diagram showing a ninth embodiment of the first invention.

【図20】第1発明の第9実施例における表示例の説明
図である。
FIG. 20 is an explanatory diagram of a display example in the ninth embodiment of the first invention.

【図21】第1発明の第10実施例を示す構成図であ
る。
FIG. 21 is a configuration diagram showing a tenth embodiment of the first invention.

【図22】第1発明の第10実施例を示す構成図であ
る。
FIG. 22 is a configuration diagram showing a tenth embodiment of the first invention.

【図23】第1発明の第10実施例における表示例の説
明図である。
FIG. 23 is an explanatory diagram of a display example according to the tenth embodiment of the first invention.

【図24】第1発明の第11実施例を示す構成図であ
る。
FIG. 24 is a configuration diagram showing an eleventh embodiment of the first invention.

【図25】第1発明の第11実施例を示す構成図であ
る。
FIG. 25 is a configuration diagram showing an eleventh embodiment of the first invention.

【図26】第1発明の第11実施例における表示例の説
明図である。
FIG. 26 is an explanatory diagram of a display example in the eleventh embodiment of the first invention.

【図27】第1発明の第12実施例を示す構成図であ
る。
FIG. 27 is a configuration diagram showing a twelfth embodiment of the first invention.

【図28】第1発明の第12実施例を示す構成図であ
る。
FIG. 28 is a configuration diagram showing a twelfth embodiment of the first invention.

【図29】第1発明の第12実施例における表示例の説
明図である。
FIG. 29 is an explanatory diagram of a display example in the twelfth embodiment of the first invention.

【図30】第2発明の第1実施例を示す構成図である。FIG. 30 is a configuration diagram showing a first embodiment of the second invention.

【図31】第2発明の第1実施例における記憶装置の説
明図である。
FIG. 31 is an explanatory diagram of a storage device according to the first embodiment of the second invention.

【図32】第2発明の第1実施例における記憶装置の説
明図である。
FIG. 32 is an explanatory diagram of a storage device according to the first embodiment of the second invention.

【図33】第2発明の第2実施例を示す構成図である。FIG. 33 is a configuration diagram showing a second embodiment of the second invention.

【図34】第2発明の第3実施例を示す構成図である。FIG. 34 is a configuration diagram showing a third embodiment of the second invention.

【図35】第2発明の第3実施例における記憶装置の説
明図である。
FIG. 35 is an explanatory diagram of a storage device according to a third embodiment of the second invention.

【図36】第2発明の第3実施例における知識ベースの
説明図である。
FIG. 36 is an explanatory diagram of a knowledge base in the third embodiment of the second invention.

【図37】第2発明の第3実施例における記憶装置の説
明図である。
FIG. 37 is an explanatory diagram of a storage device according to a third embodiment of the second invention.

【図38】第2発明の第3実施例における知識ベースの
説明図である。
FIG. 38 is an explanatory diagram of a knowledge base according to the third embodiment of the second invention.

【図39】第2発明の第4実施例を示す構成図である。FIG. 39 is a configuration diagram showing a fourth embodiment of the second invention.

【図40】第2発明の第4実施例における記憶装置の説
明図である。
FIG. 40 is an explanatory diagram of a storage device according to the fourth embodiment of the second invention.

【図41】第2発明の第4実施例における属性値定義部
の説明図である。
FIG. 41 is an explanatory diagram of an attribute value defining unit in the fourth embodiment of the second invention.

【図42】第2発明の第5実施例を示す構成図である。FIG. 42 is a configuration diagram showing a fifth embodiment of the second invention.

【図43】第2発明の第6実施例を示す構成図である。FIG. 43 is a configuration diagram showing a sixth embodiment of the second invention.

【符号の説明】[Explanation of symbols]

100 記憶装置 200 処理装置 300 事例データ 350 使用属性指定部 400 属性値定義部 500 知識ベース 600 出力装置 700 入力装置 800 分析結果記憶部 100 Storage Device 200 Processing Device 300 Case Data 350 Use Attribute Designation Unit 400 Attribute Value Definition Unit 500 Knowledge Base 600 Output Device 700 Input Device 800 Analysis Result Storage Unit

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】 複数種類の属性についての各属性値と、
これらの属性値に対する判別結果とからなる事例を複数
有し、少なくとも一つの事例の判別結果が正である事例
データと、 同一の属性が重複しないように組み合わされる属性値の
組合せと、これらの属性値の組合せに対応し、判別結果
が正である事例(以下、正例という)そのものか、それ
とも、その正の事例の属性を組み合わせたものなのかを
判別するための値としての正例数及び負である事例(以
下、負例という)の数としての負例数と、前記属性値の
組合せの要不要に関する要否とがそれぞれ設定される記
憶装置と、 事例データに基づき、記憶装置の初期化、正例数及び負
例数の設定、並びに要否の設定を行う処理装置とを備
え、 処理装置により、記憶装置における属性値の組合せ及び
要否を「空白」とし、かつ正例数及び負例数に「0」を
設定して記憶装置を初期化した後、 事例データ中の正例における複数の属性値についてすべ
ての組合せを記憶装置に設定すると共に事例データ中の
正例に対応する正例数に「1」を設定し、 事例データ中の負例における複数の属性値の組合せを記
憶装置に設定し、 記憶装置における属性値の組合せの各々について、各組
合せが負例として設定された属性値の組合せ中に存在す
れば負例数を一つ積算することにより負例数を設定し、 記憶装置における負例数が「0」である属性値の組合せ
のうち、属性数が最も少ない組合せに対応する要否に
「要」を設定すると共に、記憶装置における負例数が
「0」である属性値の組合せのうち、上記処理により要
否が「要」と設定された属性値の組合せを包含するすべ
ての属性値の組合せに対応する要否に「否」を設定する
ことにより、 正例に含まれ、かつ負例に含まれない属性値の組合せを
正例及び負例の判別条件として生成することを特徴とす
る判別条件生成方法。
1. Attribute values for a plurality of types of attributes,
There are multiple cases that consist of discrimination results for these attribute values, and at least one case has a positive discrimination result, case data that combines the same attributes so that they do not overlap, and these attributes Corresponding to the combination of values, the number of positive examples as a value for determining whether the case is a positive determination result (hereinafter referred to as positive example) or the combination of the attributes of the positive case, and The number of negative examples as the number of negative examples (hereinafter referred to as negative examples), the storage device in which the necessity of necessity of the combination of the attribute values is set, and the initial stage of the storage device based on the case data. Processing, which sets the number of positive cases and negative cases, and the setting of necessity, and sets the combination of attribute values and necessity in the storage device to “blank” by the processing apparatus, and sets the number of positive cases and Negative number After initializing the storage device by setting "0", all combinations of a plurality of attribute values in the positive example in the case data are set in the storage device and the number of positive examples corresponding to the positive example in the case data is set to " 1 ”is set, a combination of a plurality of attribute values in the negative example in the case data is set in the storage device, and for each combination of the attribute values in the storage device, each combination is set as a negative example. If it exists, the number of negative examples is set by accumulating the number of negative examples by one, and it corresponds to the combination having the smallest number of attributes among the combinations of the attribute values for which the number of negative examples in the storage device is “0”. “Necessity” is set for the necessity, and a combination of attribute values for which necessity is set as “necessary” by the above processing is included among combinations of attribute values for which the number of negative examples in the storage device is “0”. Supports all attribute value combinations By setting "No" to the necessity, the combination of attribute values included in the positive example and not included in the negative example is generated as the determination condition for the positive example and the negative example. Method.
【請求項2】 請求項1記載の判別条件生成方法におい
て、事例データが複数の正例を有することを特徴とする
判別条件生成方法。
2. The discrimination condition generating method according to claim 1, wherein the case data has a plurality of positive examples.
【請求項3】 請求項1記載の判別条件生成方法におい
て、事例データの属性値が欠損を有することを特徴とす
る判別条件生成方法。
3. The discrimination condition generating method according to claim 1, wherein the attribute value of the case data has a defect.
【請求項4】 請求項1記載の判別条件生成方法におい
て、処理装置は、記憶装置の内容のうち、要否が「要」
である属性値の組合せに対して結論部を「正」としたル
ールを知識ベースとして生成することを特徴とする判別
条件生成方法。
4. The determination condition generating method according to claim 1, wherein the processing device determines whether or not the content is required in the storage device.
A discriminant condition generating method characterized in that a rule having a conclusion part as "correct" is generated as a knowledge base for a combination of attribute values.
【請求項5】 請求項1記載の判別条件生成方法におい
て、処理装置は、使用属性指定部により指定された属性
のみを用いて記憶装置内の属性値の組合せを生成するこ
とを特徴とする判別条件生成方法。
5. The method according to claim 1, wherein the processing device generates a combination of attribute values in the storage device using only the attributes designated by the use attribute designating section. Condition generation method.
【請求項6】 請求項1記載の判別条件生成方法におい
て、処理装置は、事例データ内の連続値を持つデータを
属性値定義部の成立条件に応じて属性値に置き換え、こ
の属性値を事例データ内に設定することを特徴とする判
別条件生成方法。
6. The discrimination condition generating method according to claim 1, wherein the processing device replaces data having continuous values in the case data with an attribute value according to a satisfaction condition of an attribute value definition unit, and uses this attribute value as a case. A discrimination condition generation method characterized by being set in data.
【請求項7】 請求項1記載の判別条件生成方法におい
て、処理装置は、記憶装置の内容のうち要否が「要」で
ある属性値の組合せ及び正例数を出力装置により表示さ
せることを特徴とする判別条件生成方法。
7. The discrimination condition generating method according to claim 1, wherein the processing device causes the output device to display the combination of attribute values and the number of positive cases in which the necessity is “necessary” among the contents of the storage device. A method for generating a distinction condition.
【請求項8】 請求項1記載の判別条件生成方法におい
て、事例データは、各事例ごとに付された通番の事例番
号を有し、処理装置は、記憶装置内の属性値の組合せに
対して、事例データ内の判別結果に応じた事例番号を正
例番号及び負例番号として記憶装置内に設定し、これら
の正例番号及び負例番号から検出された事例データに含
まれる矛盾を出力装置により表示させることを特徴とす
る判別条件生成方法。
8. The discrimination condition generating method according to claim 1, wherein the case data has a case number of a serial number attached to each case, and the processing device sets a combination of attribute values in the storage device. , A case number corresponding to the discrimination result in the case data is set in the storage device as a positive example number and a negative example number, and a contradiction included in the case data detected from the positive example number and the negative example number is output to the output device. A method for generating a discrimination condition, characterized by displaying by.
【請求項9】 請求項1記載の判別条件生成方法におい
て、記憶装置は、属性値の組合せごとに通番の組合せ番
号を有し、処理装置は、記憶装置の内容のうち、要否が
「要」であって属性値数が最小の属性値の組合せに対応
する組合せ番号と、要否が「要」であって前記属性値の
組合せの属性値数より一つ少ない属性値数の部分が共通
する属性値の組合せに対応する組合せ番号とを正の組合
せ番号として分析結果記憶部に設定し、かつ、これらの
正の組合せ番号にかかる属性値の組合せにすべて共通す
る属性値の組合せに対応する組合せ番号を目標の組合せ
番号として分析結果記憶部に設定すると共に、この分析
結果記憶部の内容に基づいて、条件部に共通の属性値の
みを有するルールと、条件部に共通の属性値を包含した
ルール群とを出力装置に表示させることを特徴とする判
別条件生成方法。
9. The determination condition generating method according to claim 1, wherein the storage device has a serial number combination number for each combination of attribute values, and the processing device determines whether or not the contents of the storage device are required. And the combination number corresponding to the combination of the attribute values having the smallest number of attribute values and the part having the attribute value number which is one less than the number of the attribute values of the combination of the attribute values, which is required, is common. The combination number corresponding to the combination of the attribute values is set in the analysis result storage unit as a positive combination number, and the combination of the attribute values common to all the combination of the attribute values related to these positive combination numbers corresponds to the combination. The combination number is set as the target combination number in the analysis result storage unit, and based on the contents of the analysis result storage unit, the rule having only the attribute value common to the condition unit and the attribute value common to the condition unit are included. The output device A method for generating a discrimination condition, which is characterized by displaying it on a display.
【請求項10】 請求項9記載の判別条件生成方法にお
いて、事例データは、各事例ごとに付された通番の事例
番号を有し、記憶装置は、事例データにおける判別結果
が「負」である事例番号を負例番号として有すると共
に、処理装置は、目標の組合せ番号が示す記憶装置の属
性値の組合せを包含し、かつ記憶装置の負例番号が
「0」でない組合せ番号を負の組合せ番号として分析結
果記憶部に設定し、この分析結果記憶部の内容に基づい
て、条件部に共通の属性値のみを有するルールと、条件
部に共通の属性値を包含したルール群、及びルールの共
通化を阻害している事例番号を出力装置に表示させるこ
とを特徴とする判別条件生成方法。
10. The discrimination condition generating method according to claim 9, wherein the case data has a case number of a serial number given to each case, and the storage device has a discrimination result of “negative” in the case data. The processing device has a case number as a negative example number, and the processing device includes a combination of the attribute values of the storage device indicated by the target combination number, and the combination number of which the negative example number of the storage device is not “0” is a negative combination number. Based on the contents of the analysis result storage unit, a rule having only attribute values common to the condition unit, a rule group including attribute values common to the condition unit, and a common rule A method for generating a discrimination condition, characterized in that the output device displays the case number that inhibits the conversion.
【請求項11】 請求項1記載の判別条件生成方法にお
いて、事例データは、各事例ごとにテストに使用するか
否かを識別するためのテスト用識別を有し、処理装置
は、事例データのテスト用識別が「要」でない属性値の
組合せを用いて記憶装置の内容を生成すると共に、事例
データのテスト用識別が「要」である属性値の組合せと
記憶装置内の要否が「要」である属性値の組合せとを比
較し、両者の包含関係及び事例データの判別結果に応じ
て求めた成立数、誤成立数及び不成立数を記憶装置内に
設定し、前記成立数、誤成立数及び不成立数に基づい
て、記憶装置内の要否が「要」である属性値の組合せを
判別条件とした場合の成立、誤成立及び不成立の事例数
を出力装置に表示させることを特徴とする判別条件生成
方法。
11. The discrimination condition generating method according to claim 1, wherein the case data has a test identification for identifying whether or not to use for a test for each case, and the processing device stores the case data. The contents of the storage device are generated by using the combination of attribute values whose test identification is not “necessary”, and the combination of the attribute values whose test identification of the case data is “necessary” and the necessity in the storage device are “necessary”. The number of successes, the number of false wins and the number of false wins determined in accordance with the inclusion relationship between the two and the determination result of the case data are set in the storage device. Based on the number and the number of unsatisfied cases, the number of cases of success, failure, and failure is displayed on the output device when a combination of attribute values whose necessity in the storage device is “necessary” is used as a determination condition. A method for generating a judgment condition.
【請求項12】 請求項11記載の判別条件生成方法に
おいて、事例データは、各事例ごとに付された通番の事
例番号を有し、処理装置は、不成立数及び誤成立数の検
出時に不成立正例の事例番号及び誤成立負例の事例番号
を各々不成立正例番号及び誤成立負例番号として記憶装
置に設定し、成立、誤成立及び不成立の事例数と共に不
成立正例番号及び誤成立負例番号を出力装置に表示させ
ることを特徴とする判別条件生成方法。
12. The discrimination condition generation method according to claim 11, wherein the case data has a case number of a serial number attached to each case, and the processing device corrects the non-establishment when the non-establishment number and the false establishment number are detected. The case number of the example and the case number of the false negative example are set in the storage device as the positive positive example number and the false negative example number, respectively, and the positive positive example number and the false negative example are established together with the number of cases of the valid, false, and false cases. A method for generating a discrimination condition, wherein the number is displayed on an output device.
【請求項13】 請求項1記載の判別条件生成方法によ
り生成された記憶装置と、 属性値が入力される入力装置と、 推論結果が出力される出力装置と、 入力装置から入力された属性値を記憶装置の内容と比較
して推論を行い、推論結果の評価に応じて記憶装置の内
容を修正する処理装置とを備え、 処理装置は、入力装置から入力された属性値を、記憶装
置における要否が「要」である属性値の組合せと比較
し、この属性値の組合せを前記入力装置から入力された
属性値が少なくとも含んでいれば「正」、含んでいなけ
れば「負」という推論結果を出力装置に出力させ、 次に、上記推論結果が正しいと評価されたときには何ら
処理を行わず、 また、上記推論結果が正しくないと評価され、入力装置
から別の結論「負」が入力されたときには、記憶装置内
に追加された属性値の組合せ欄に入力装置に保存されて
いる属性値を設定すると共に、正例数に「0」、負例数
に「1」、要否に「空白」をそれぞれ設定し、 記憶装置における従前の属性値の組合せのうち、新たに
追加した属性値の組合せの内容に含まれるものに対応す
る負例数を「1」だけ増やし、かつ、対応する要否が
「要」であればこれを「空白」にし、 次いで、記憶装置を検索して要否が「否」である属性値
の組合せの内容が、要否が「要」である他の何れの属性
値の組合せの内容をも含まない場合は要否を「否」から
「要」に変更し、 前記推論結果が正しくないと評価され、入力装置から別
の結論「正」が入力されたときには、記憶装置内に追加
された属性値の組合せ欄に、入力装置に保存されている
属性値を設定すると共に、正例数に「1」、負例数に
「0」、要否に「要」をそれぞれ設定し、 記憶装置の内容を修正することにより正例及び負例の判
別条件を生成することを特徴とする判別条件生成方法。
13. A storage device generated by the discriminating condition generation method according to claim 1, an input device to which an attribute value is input, an output device to which an inference result is output, and an attribute value input from the input device. And a processor for correcting the contents of the storage device according to the evaluation of the inference result and performing the inference by comparing the contents of the storage device with the contents of the storage device. It is compared with a combination of attribute values whose necessity is "necessary", and if the attribute values input from the input device include at least this combination of attribute values, it is called "positive", and if not, it is called "negative". The inference result is output to the output device, and when the above inference result is evaluated as correct, no processing is performed, and the above inference result is evaluated as incorrect, and another conclusion “negative” is obtained from the input device. When entered, The attribute value stored in the input device is set in the attribute value combination field added in the storage device, and the number of positive cases is set to "0", the number of negative cases is set to "1", and "blank" is set for necessity. Among the combinations of the attribute values that have been previously set in the storage device, the number of negative examples corresponding to those included in the content of the newly added attribute value combination is increased by “1”, and whether or not it is necessary If "necessary", this is set to "blank", and then the storage device is searched, and the content of the combination of attribute values whose necessity is "No" is any other attribute whose necessity is "Necessary". When the content of the value combination is not included, the necessity is changed from “No” to “Necessary”, and the inference result is evaluated as incorrect, and when another conclusion “correct” is input from the input device, Set the attribute value saved in the input device in the attribute value combination field added in the storage device. At the same time, the number of positive cases is set to “1”, the number of negative cases is set to “0”, and the necessity is set to “Necessary”, and the judgment conditions of the positive example and the negative example are generated by correcting the contents of the storage device. Discriminating condition generating method.
【請求項14】 請求項13記載の判別条件生成方法に
おいて、処理装置は、入力装置に保存されている属性値
と、出力装置に出力された推論結果または入力装置によ
り入力された推論結果とを、複数種類の属性についての
各属性値とこれらの属性値に対する判別結果とからなる
複数の事例を格納可能とした事例データに格納すること
を特徴とする判別条件生成方法。
14. The method according to claim 13, wherein the processing device determines the attribute value stored in the input device and the inference result output to the output device or the inference result input from the input device. A method for generating a discrimination condition, characterized in that a plurality of cases consisting of attribute values for a plurality of types of attributes and discrimination results for these attribute values are stored in case data that can be stored.
【請求項15】 請求項13記載の判別条件生成方法に
おいて、処理装置は、入力装置から入力された属性値に
ついて請求項4記載の知識ベースの内容に従って推論を
行い、この推論結果の評価を入力装置から入力すると共
に、記憶装置及び知識ベースの内容を変更していくこと
を特徴とする判別条件生成方法。
15. The discrimination condition generating method according to claim 13, wherein the processing device infers the attribute value input from the input device according to the contents of the knowledge base according to claim 4, and inputs an evaluation of the inference result. A discriminating condition generating method characterized by changing the contents of a storage device and a knowledge base while inputting from a device.
【請求項16】 請求項13記載の判別条件生成方法に
おいて、処理装置は、入力装置から入力された属性値に
ついて請求項6記載の属性値定義部の内容に従って連続
値を属性値に変換し、記憶装置の内容に従って推論を行
い、推論結果を出力装置に出力すると共に、この推論結
果に対する評価を入力装置から入力し、記憶装置の内容
を変更していくことを特徴とする判別条件生成方法。
16. The method according to claim 13, wherein the processing device converts a continuous value into an attribute value for the attribute value input from the input device according to the contents of the attribute value definition unit according to claim 6. A determination condition generating method characterized in that inference is performed according to the contents of a storage device, an inference result is output to an output device, and an evaluation for this inference result is input from an input device to change the contents of the storage device.
【請求項17】 請求項16記載の判別条件生成方法に
おいて、処理装置は、入力装置に保存されている属性値
と、出力装置に出力された推論結果または入力装置によ
り入力された推論結果とを、複数種類の属性についての
各属性値とこれらの属性値に対する判別結果とからなる
複数の事例を格納可能とした事例データに格納すること
を特徴とする判別条件生成方法。
17. The discrimination condition generating method according to claim 16, wherein the processing device sets the attribute value stored in the input device and the inference result output to the output device or the inference result input by the input device. A method for generating a discrimination condition, characterized in that a plurality of cases consisting of attribute values for a plurality of types of attributes and discrimination results for these attribute values are stored in case data that can be stored.
【請求項18】 請求項16記載の判別条件生成方法に
おいて、処理装置は、入力装置から入力された属性値に
ついて請求項4記載の知識ベースの内容に従って推論を
行い、この推論結果の評価を入力装置から入力すると共
に、記憶装置及び知識ベースの内容を変更していくこと
を特徴とする判別条件生成方法。
18. The discrimination condition generating method according to claim 16, wherein the processing device infers the attribute value input from the input device according to the contents of the knowledge base according to claim 4, and inputs an evaluation of the inference result. A discriminating condition generating method characterized by changing the contents of a storage device and a knowledge base while inputting from a device.
JP24576792A 1992-08-20 1992-08-20 Decision condition generating method Withdrawn JPH0668066A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24576792A JPH0668066A (en) 1992-08-20 1992-08-20 Decision condition generating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24576792A JPH0668066A (en) 1992-08-20 1992-08-20 Decision condition generating method

Publications (1)

Publication Number Publication Date
JPH0668066A true JPH0668066A (en) 1994-03-11

Family

ID=17138509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24576792A Withdrawn JPH0668066A (en) 1992-08-20 1992-08-20 Decision condition generating method

Country Status (1)

Country Link
JP (1) JPH0668066A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007058603A (en) * 2005-08-24 2007-03-08 Nippon Telegr & Teleph Corp <Ntt> Pattern recognition method, device, and program
US11960491B2 (en) 2019-09-30 2024-04-16 Fujitsu Limited Storage medium, pattern search device, and pattern search method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007058603A (en) * 2005-08-24 2007-03-08 Nippon Telegr & Teleph Corp <Ntt> Pattern recognition method, device, and program
JP4715389B2 (en) * 2005-08-24 2011-07-06 日本電信電話株式会社 Pattern recognition method, apparatus and program
US11960491B2 (en) 2019-09-30 2024-04-16 Fujitsu Limited Storage medium, pattern search device, and pattern search method

Similar Documents

Publication Publication Date Title
Al-Ajlan The comparison between forward and backward chaining
EP0413485B1 (en) Performance improvement tool for rule based expert systems
Politakis et al. Using empirical analysis to refine expert system knowledge bases
US5269014A (en) Automatic programming system with design review capabilities
US4847795A (en) System for diagnosing defects in electronic assemblies
EP0205873A2 (en) Method for processing an expert system rulebase segmented into contextual units
US5018075A (en) Unknown response processing in a diagnostic expert system
JPH03108030A (en) Trouble diagnostic expert system
JPH04229328A (en) Method, system and apparatus for tracking fault
US5307446A (en) Knowledge acquisition system
US20220004565A1 (en) Review and curation of record clustering changes at large scale
Teng Polishing blemishes: Issues in data correction
JPH0855029A (en) Inference device for cause
Seagle et al. Acquiring expert rules with the aid of decision tables
JPH0668066A (en) Decision condition generating method
Zeleznikow et al. Knowledge discovery in the split up project
Turner A comparison of the process of knowledge elicitation with that of information requirements determination
JPS6235916A (en) Trouble diagnostic syswtem of picture processor
JPH0658716B2 (en) Failure diagnosis device and failure diagnosis system
von Wangenheim et al. Goal-oriented and similarity-based retrieval of software engineering experienceware
CN116485597B (en) Standardized training method based on post capability model
US7120616B2 (en) Method for specifying, executing and analyzing method sequences for recognition
JPH0962309A (en) Plant diagnostic device
binti Abdullah The fundamentals of case-based reasoning: application to a building defect problem
CN115659264A (en) Fault tree diagnosis method for ground measurement and control equipment

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19991102