JPH04348432A - Deciding condition generating method - Google Patents

Deciding condition generating method

Info

Publication number
JPH04348432A
JPH04348432A JP3170543A JP17054391A JPH04348432A JP H04348432 A JPH04348432 A JP H04348432A JP 3170543 A JP3170543 A JP 3170543A JP 17054391 A JP17054391 A JP 17054391A JP H04348432 A JPH04348432 A JP H04348432A
Authority
JP
Japan
Prior art keywords
attributes
cases
conditions
total number
attribute
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
JP3170543A
Other languages
Japanese (ja)
Inventor
Kenichi Hagiwara
萩原 賢一
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
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom Corp
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, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP3170543A priority Critical patent/JPH04348432A/en
Publication of JPH04348432A publication Critical patent/JPH04348432A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To enable an expert to easily generate the conditions apporoximate to the unchanged ones and also to easily refine the conditions despite the change of the attribute to be considered in a deciding state by applying the result data on a site to the fault diagnoses, etc., as the instances and at the same time to generate the partial conditions in a fixed time even with a compact computer by designating the attribute to be considered. CONSTITUTION:The least total number of attributes to be secured with the correct deciding result is obtained based on an instance base 10. Then the combination of attributes of specific types less than the least total number is prescrived as the indispensable attributes. The pairs of the least total number and the indispensable attributes are listed in a storage 20, and a processor 30 generates the deciding conditions that secure the attributes of specific types based on the enclosure relation among pairs and the contents of the pair specified by an instance. Based on the deciding conditions, all instances having the correct deciding results are decided. If some instances are not decided correct with the desiding conditions, the deciding condition generation processing and the deciding processing are repeated until those instances are deleted.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は判別条件生成方法に関し
、詳しくは、各種設備において、幾つかの属性の成否(
その属性を示す具体的数値等について一定の条件が成立
しているか否か)が与えられたとき、これらの属性の成
否が、その設備のある目的に適合する(正の例)か否(
負の例)かを判別するための判別条件を、属性の成否及
び判別結果により構成される事例に基づいて生成する方
法に関し、例えばプラントの故障診断システム等に適用
される判別条件生成方法に関する。
[Field of Industrial Application] The present invention relates to a method for generating discriminant conditions, and more specifically, the present invention relates to a method for generating discriminant conditions.
Whether or not certain conditions are met regarding specific numerical values etc. that indicate the attributes) is given, whether the success or failure of these attributes is compatible with the purpose of the equipment (positive example)
The present invention relates to a method of generating a discrimination condition for determining a negative example) based on a case constituted by success/failure of an attribute and a discrimination result, and relates to a discrimination condition generation method applied to, for example, a plant failure diagnosis system.

【0002】0002

【従来の技術】従来、この種の判別条件は、各種設備に
組み込まれて設備の各部分からの状態信号を受け、これ
らの状態信号に基づいて設備の故障の有無等を判別する
ために使用されている。ここで、設備は同一であっても
その設置環境や運転の仕方によって故障の起き方に差異
が出るものであるため、故障診断の判別条件を設定する
に当たっても、一つの設備について画一的な判別条件を
設定することはできない。そこで、理想的には、その設
備を保守している専門家等が把握している故障原因と、
故障時の現象の現われ方等を踏まえた判別条件を、設備
ごとに個別に設定して設備に組み込むことが望まれる。
[Prior Art] Conventionally, this type of discrimination condition has been used to be built into various types of equipment, receive status signals from each part of the equipment, and use these status signals to determine whether or not there is a malfunction in the equipment. has been done. Here, even if the equipment is the same, there are differences in how failures occur depending on the installation environment and operating method. Judgment conditions cannot be set. Therefore, ideally, the cause of the failure is known to the experts maintaining the equipment, and
It is desirable to individually set discrimination conditions for each piece of equipment based on the way the phenomena occur when a failure occurs, and to incorporate them into the equipment.

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

【0004】また、こうして作成した判別条件を検証す
るためには、属性の成否を入力して判別条件による判別
結果を専門家の知見と比較し、もし誤りがあれば予め設
定した判別条件を修正することが必要であった。この場
合、専門家は誤りのあった故障ケースについて個々に判
別条件を修正するので、判別条件の相互関連に気付かず
、いつまでも修正作業を繰返して終わらないという事態
も生じていた。
[0004] In addition, in order to verify the discrimination conditions created in this way, the success or failure of the attribute is input, the discrimination results based on the discrimination conditions are compared with the knowledge of experts, and if there is an error, the preset discrimination conditions are corrected. It was necessary to do so. In this case, since the expert corrects the discrimination conditions for each faulty case individually, he or she is unaware of the interrelationship of the discrimination conditions, resulting in endless repetition of correction work.

【0005】これらの問題点を解決するために、従来か
ら判別条件の修正を自動化する方法が幾つか提案されて
きた(例えば、Ginsberg,A.,Weiss,
S.and  Politakis,P.,“SEEK
2:A  Generalized  Approac
hto  Automatic  Knowledge
  BaseRefinement”  Proc.o
f  IJCAI−85,pp.367−374,19
85  参照)。これらの方法は、誤りのあった故障ケ
ースについて、全ての判別条件の相互関連を調べた上で
最も有効そうな判別条件を修正するものである。ただし
、これらの方法が効率よく動作するためには、対象とな
る判別条件が事前にかなりうまく整理されていることが
必要である。このため、最初に判別条件を整理する専門
家の負担は依然として大きく残されていた。
[0005] In order to solve these problems, several methods have been proposed to automate the modification of discriminant conditions (for example, Ginsberg, A., Weiss,
S. and Politakis, P. , “SEEK
2:A Generalized Approac.
hto Automatic Knowledge
BaseRefinement" Proc.o
f IJCAI-85, pp. 367-374,19
85). These methods modify the most effective discrimination condition after examining the correlation of all discrimination conditions for a failure case in which an error occurred. However, in order for these methods to work efficiently, it is necessary that the target discrimination conditions are well-organized in advance. For this reason, the burden on experts who first organize the discrimination conditions remained heavy.

【0006】そこで、この負担を軽減するために、事例
に基づいて判別条件を自動生成する方法が、従来から幾
つか提案されている(例えば、Quinlan,J.R
.,“Inductionof  Decision 
 Trees”,Machine  Learning
  1(1),Kluwer,pp.81−106,1
986  参照)。これらの方法は、幾つかの属性の成
否及び専門家による判別結果から構成される事例を多数
入力し、それらの事例を誤りなく判別する判別条件を生
成するものである。
[0006] In order to reduce this burden, several methods have been proposed in the past for automatically generating discriminant conditions based on cases (for example, Quinlan, J.R.
.. , “Induction of Decision
“Trees”, Machine Learning
1(1), Kluwer, pp. 81-106,1
986). These methods input a large number of cases consisting of success/failure of several attributes and judgment results by experts, and generate judgment conditions for judging those cases without error.

【0007】[0007]

【発明が解決しようとする課題】これらの方法は、各々
の入力事例は全ての属性に関してその成否を持つことを
前提としているが、現場での応用を考えると、入力事例
としては現場でこれまでに蓄積されてきた実績データを
使えることが望ましい。ところが、一般に実績データで
は判別に必要なデータのみが記録されていることが多く
、全ての属性に関してその成否を情報として持っている
とは限らない。このため、従来の判別条件生成方法では
現場に蓄積された実績データを事例として利用すること
ができないという欠点があった。
[Problem to be solved by the invention] These methods assume that each input example has success or failure with respect to all attributes. It is desirable to be able to use the actual data accumulated over the years. However, in general, performance data often records only the data necessary for discrimination, and does not necessarily have information on the success or failure of all attributes. For this reason, the conventional discrimination condition generation method has the disadvantage that it is not possible to use actual data accumulated in the field as a case study.

【0008】更に、事例データが全ての判別ケースを網
羅しているとは限らないため、この事例データから生成
された判別条件も十分なものとはいえない。そこで、専
門家は、生成された判別条件を調査し、事例データを追
加修正すると共に考慮すべき属性を変更し、判別条件を
再び生成して試行錯誤を重ねることにより判別条件を洗
練していくことになる。ところが、このようにして事例
データや考慮すべき属性を変更すると、生成される判別
条件は変更前のものと比べて全く異なったものとなる。 このため、従来では、専門家が判別条件を段階的かつ継
続的に洗練していくことが困難であるという欠点があっ
た。また、従来の判別条件生成方法は一括処理方法であ
ることから、処理時間や使用する計算機資源を外部から
制御することができない。このため、小形の計算機を使
用して一定時間内に判別条件を生成できない場合があっ
た。
Furthermore, since the case data does not necessarily cover all discrimination cases, the discrimination conditions generated from this case data cannot be said to be sufficient. Therefore, experts investigate the generated discrimination conditions, add and modify the case data, change the attributes to be considered, generate the discrimination conditions again, and refine the discrimination conditions through repeated trial and error. It turns out. However, when the case data and the attributes to be considered are changed in this way, the generated discrimination conditions become completely different from those before the change. Therefore, in the past, there was a drawback that it was difficult for experts to refine the discrimination conditions step by step and continuously. Further, since the conventional determination condition generation method is a batch processing method, the processing time and the computer resources used cannot be controlled from the outside. For this reason, there have been cases where it has not been possible to generate discrimination conditions within a certain amount of time using a small computer.

【0009】本発明は上記問題点を解決するためになさ
れたもので、その目的とするところは、必ずしも全ての
属性についてその成否情報を持たない現場の実績データ
であっても事例として利用することができ、しかも事例
データや判別時に考慮すべき属性を試行錯誤で変更して
も、変更前の判別条件に近い判別条件を生成して段階的
、継続的な判別条件の洗練を専門家が進めやすくし、ま
た、考慮すべき属性等を指定することによって小形の計
算機でも一定時間内に判別条件の一部を生成可能とした
判別条件生成方法を提供することにある。
[0009] The present invention was made to solve the above problems, and its purpose is to use as an example even actual field performance data that does not necessarily have success/failure information for all attributes. Moreover, even if case data or attributes to be considered during discrimination are changed through trial and error, experts can generate discrimination conditions that are close to the discrimination conditions before the change and proceed with step-by-step and continuous refinement of the discrimination conditions. It is an object of the present invention to provide a method for generating discriminant conditions that is easy to use, and also allows a small computer to generate part of the discriminant conditions within a certain amount of time by specifying attributes to be considered.

【0010】0010

【課題を解決するための手段】上記目的を達成するため
、第1の発明は、属性の成否及びこの成否に基づく判別
結果により構成される事例から、判別結果が正しい場合
に成立するべき属性の最小総数を求め、この最小総数以
下である特定種類の属性の組合せを必ず含まれるべき属
性として規定すると共に、前記最小総数と必ず含まれる
べき属性とからなる組を列挙し、これらの組の間の包含
関係と前記事例とに基づいて特定した組の内容から、特
定種類の属性を含み、かつ前記最小総数以上の属性が成
立する旨の判別条件を生成し、この判別条件によって前
記事例のうち判別結果が正しいとされた事例をすべて判
別し、その結果、当該事例の中に上記判別条件によって
は正しいと判別されない事例が残存する場合には、この
残存する事例がなくなるまで、この残存する事例につい
て上記の判別条件生成処理及び生成された判別条件によ
る判別処理を繰返し実行して判別条件を所要数生成する
ものである。
[Means for Solving the Problems] In order to achieve the above object, the first invention provides a method for identifying attributes that should hold if the determination result is correct, based on cases consisting of success or failure of attributes and determination results based on the success or failure of the attributes. Find the minimum total number, define combinations of specific types of attributes that are less than or equal to this minimum total number as attributes that must be included, list the sets consisting of the minimum total number and the attributes that must be included, and specify the combination between these sets. From the content of the set specified based on the inclusion relationship of and the above-mentioned cases, a discrimination condition is generated that states that attributes of a specific type are included and the total number of attributes is greater than or equal to the minimum total number, and based on this discrimination condition, among the cases All cases in which the discrimination result was determined to be correct are judged, and as a result, if there remain cases among the cases that are not judged to be correct according to the above discrimination conditions, this remaining case is The above-described determination condition generation process and determination process based on the generated determination conditions are repeatedly executed to generate a required number of determination conditions.

【0011】第2の発明は、属性の成否及びこの成否に
基づく判別結果により構成される事例から、属性指定部
により指定された属性のうち判別結果が正しい場合に成
立するべき属性の最小総数を求め、この最小総数以下で
あって属性指定部により指定された特定種類の属性の組
合せを必ず含まれるべき属性として規定すると共に、前
記最小総数と必ず含まれるべき属性とからなる組を列挙
し、これらの組の間の包含関係と前記事例とに基づいて
特定した組の内容から前記判別条件を生成し、この判別
条件によって前記事例のうち判別結果が正しいとされた
事例をすべて判別し、その結果、当該事例の中に上記判
別条件によっては正しいと判別されない事例が残存する
場合には、この残存する事例がなくなるまで、この残存
する事例について上記の判別条件生成処理及び生成され
た判別条件による判別処理を繰返し実行して判別条件を
所要数生成するものである。
[0011] The second invention calculates the minimum total number of attributes specified by the attribute specifying section that should be satisfied if the judgment result is correct, from the cases constituted by the success or failure of the attributes and the judgment results based on the success or failure of the attributes. and specifying a combination of specific types of attributes that are equal to or less than this minimum total number and specified by the attribute specification unit as attributes that must be included, and enumerating sets consisting of the minimum total number and the attributes that must be included, The above-mentioned discrimination condition is generated from the contents of the set specified based on the inclusion relationship between these sets and the above-mentioned cases, and all the cases for which the discrimination result is correct among the above-mentioned cases are discriminated by this discrimination condition, and the As a result, if there are cases remaining that are not determined as correct according to the above discrimination conditions, the remaining cases are subjected to the above discrimination condition generation processing and the generated discrimination conditions until there are no remaining cases. The required number of discrimination conditions is generated by repeatedly executing the discrimination process.

【0012】第3の発明は、属性の成否及びこの成否に
基づく判別結果により構成される事例から、判別結果が
正しい場合に成立するべき属性の最小総数を求め、この
最小総数が属性数指定部により指定された最大値よりも
小さい場合に前記最小総数以下である特定種類の属性の
組合せを必ず含まれるべき属性として規定すると共に、
前記最小総数と必ず含まれるべき属性とからなる組を列
挙し、これらの組の間の包含関係と前記事例とに基づい
て特定した組の内容から前記判別条件を生成し、この判
別条件によって前記事例のうち判別結果が正しいとされ
た事例をすべて判別し、その結果、当該事例の中に上記
判別条件によっては正しいと判別されない事例が残存す
る場合には、この残存する事例がなくなるまで、この残
存する事例について上記の判別条件生成処理及び生成さ
れた判別条件による判別処理を繰返し実行して判別条件
を所要数生成するものである。
[0012] The third invention calculates the minimum total number of attributes that should hold true if the determination result is correct from the cases constituted by the success or failure of the attributes and the determination results based on the success or failure of the attributes, and this minimum total number is stored in the attribute number specification section. A combination of specific types of attributes that is less than or equal to the minimum total number when it is smaller than the maximum value specified by is defined as attributes that must be included, and
Enumerate sets consisting of the minimum total number and attributes that must be included, generate the discrimination condition from the content of the set specified based on the inclusion relationship between these sets and the case, and use this discrimination condition to All cases in which the discrimination result was determined to be correct are judged, and as a result, if there remain cases among the cases that are not judged to be correct according to the above discrimination conditions, this process is continued until there are no remaining cases. The above-described discriminant condition generation process and discrimination process using the generated discriminant conditions are repeatedly executed for the remaining cases to generate a required number of discriminant conditions.

【0013】第4の発明は、属性の成否及びこの成否に
基づく判別結果により構成される事例から、判別結果が
正しい場合に成立するべき属性の最小総数を求め、この
最小総数以下である特定種類の属性の組合せのうち、属
性組合せ指定部により指定された特定種類の組合せを必
ず含まれるべき属性として規定すると共に、前記最小総
数と必ず含まれるべき属性とからなる組を列挙し、これ
らの組の間の包含関係と前記事例とに基づいて特定した
組の内容から、特定種類の属性を含み、かつ前記最小総
数以上の属性が成立する旨の判別条件を生成し、この判
別条件によって前記事例のうち判別結果が正しいとされ
た事例をすべて判別し、その結果、当該事例の中に上記
判別条件によっては正しいと判別されない事例が残存す
る場合には、この残存する事例がなくなるまで、この残
存する事例について上記の判別条件生成処理及び生成さ
れた判別条件による判別処理を繰返し実行して判別条件
を所要数生成するものである。
[0013] The fourth invention calculates the minimum total number of attributes that should hold true if the determination result is correct from cases consisting of the success or failure of attributes and the determination results based on the success or failure of the attributes, and selects a specific type that is less than or equal to this minimum total number. Among the combinations of attributes, a specific type of combination specified by the attribute combination specification section is specified as an attribute that must be included, and sets consisting of the minimum total number and attributes that must be included are listed, and these sets are From the content of the set specified based on the inclusion relationship between and the above-mentioned case, a judgment condition is generated that the specified type of attribute is included and the above-mentioned minimum total number or more of attributes hold true, and based on this judgment condition, the above-mentioned case As a result, if there are cases remaining among the cases that are not judged to be correct according to the above judgment conditions, this remaining case is In this case, the above-mentioned discriminant condition generation process and the discriminant process based on the generated discriminant conditions are repeatedly executed to generate a required number of discriminant conditions.

【0014】[0014]

【作用】第1の発明では属性の成否と専門家による判別
結果とによって構成される事例が与えられたとき、判別
時に成立すべき属性の最小総数及びその中に必ず含まれ
るべき属性からなる「組」をすべて列挙し、それらの「
組」の間の包含関係に基づいて、上記事例のうち「正」
と判別された全ての事例を含み、かつ「負」と判別され
たいかなる事例をも含まない「組」を求め、その「組」
の内容に従い、特定種類の属性を含み、かつ前記最小総
数以上の属性が成立する旨を判別条件として生成する。 そして、専門家による判別結果が「正」であるすべての
事例について上記判別条件により判別し、その結果、当
該事例の中に上記判別条件によっては正しいと判別され
ない事例が残存する場合には、この残存する事例がなく
なるまで、この残存する事例について上記の判別条件生
成処理及び生成された判別条件による判別処理を繰返し
実行して判別条件を所要数生成する。
[Operation] In the first invention, when a case consisting of the success or failure of an attribute and a judgment result by an expert is given, a List all the ``groups'' and their ``
Among the above cases, based on the inclusive relationship between
Find a ``set'' that includes all cases that are determined to be ``negative'' and does not include any cases that are determined to be ``negative.''
According to the content of , the determination condition is that the attributes of a specific type are included and the minimum total number or more of attributes are satisfied. Then, all cases in which the judgment result by the expert is "correct" are judged according to the above judgment conditions, and as a result, if there remain cases among the cases that are not judged as correct according to the above judgment conditions, this Until there are no remaining cases, the above-described discriminant condition generation process and the discriminant process based on the generated discriminant conditions are repeatedly executed for the remaining cases to generate a required number of discriminant conditions.

【0015】第2の発明では、与えられた事例のうちの
全ての属性を考慮するのではなく、属性指定部により指
定された属性のみについて第1の発明とほぼ同様の処理
を行ない、判別条件を生成する。
In the second invention, rather than considering all attributes in a given case, almost the same processing as in the first invention is performed on only the attributes specified by the attribute specification section, and the discrimination condition is generate.

【0016】第3の発明では、判別時に成立すべき属性
の最小総数の最大値を属性数指定部により指定し、この
最大値よりも少ない最小総数を持つ「組」のみを求めて
、これらの「組」に対し第1の発明とほぼ同様の処理を
行ない、判別条件を生成する。
[0016] In the third invention, the maximum value of the minimum total number of attributes that should be satisfied at the time of determination is specified by the attribute number designation section, only "sets" having a minimum total number smaller than this maximum value are determined, and these Processing substantially similar to that of the first invention is performed on the "set" to generate discrimination conditions.

【0017】第4の発明では、判別時に成立すべき属性
の最小総数及びその中に必ず含まれるべき属性の組合せ
として属性組合せ指定部により指定された組合せからな
る「組」をすべて求めて、これらの「組」に対し第1の
発明とほぼ同様の処理を行ない、判別条件を生成する。
[0017] In the fourth invention, all "sets" consisting of combinations specified by the attribute combination specifying section as the minimum total number of attributes that should be established at the time of discrimination and combinations of attributes that must be included therein are obtained, and these Processing substantially similar to that of the first invention is performed on the "set" to generate a discrimination condition.

【0018】[0018]

【実施例】以下、図に沿って本発明の実施例を説明する
。図1は第1の発明の第1実施例を示すものである。 図において10は事例ベースであり、この事例ベース1
0は、複数種類の属性に関する具体的数値等について一
定の条件が成立しているか否かを示す属性の成否(成立
または不成立)が格納される属性欄111,112,…
…,11nと、上記属性の成否に対応する判別結果が格
納される判別結果欄12とからなっており、判別結果欄
12には、属性の成否に対して専門家がある目的に合致
する(判別結果が正)か否(同じく負)かを判別した結
果が事例として格納されている。より具体的には、属性
欄111〜11nに挙げられたn個の属性のすべてまた
は一部について、それぞれの成否が図1の横方向に格納
されており、これらの成否に対応する判別結果欄12の
判別結果と相俟って横方向の1行が1つの事例を構成し
、これらの事例が複数集まって事例ベース10を構成す
るものである。なお、各事例は必ずしもn個全ての属性
の成否情報を格納していなくてもよい。
Embodiments Hereinafter, embodiments of the present invention will be explained with reference to the drawings. FIG. 1 shows a first embodiment of the first invention. In the figure, 10 is the case base, and this case base 1
0 is the attribute column 111, 112, . . . in which the success or failure (satisfaction or failure) of an attribute indicating whether a certain condition is satisfied for specific numerical values etc. regarding multiple types of attributes is stored.
..., 11n, and a determination result column 12 in which the determination results corresponding to the success or failure of the attribute are stored. The result of determining whether the determination result is positive) or not (also negative) is stored as an example. More specifically, the success or failure of each of all or some of the n attributes listed in the attribute columns 111 to 11n is stored in the horizontal direction of FIG. 1, and the determination result column corresponding to these success or failure is stored. Together with the 12 discrimination results, one horizontal row constitutes one case, and a plurality of these cases together constitute the case base 10. Note that each case does not necessarily need to store success/failure information for all n attributes.

【0019】次に、記憶装置20は、判別時に成立すべ
き属性の最小総数が格納される欄21、それらの属性の
中で必ず含まれるべき属性が格納される欄22、及び、
これらの欄21と欄22とからなる「組」の要否が格納
される欄23から構成される。更に、処理装置30は、
以下に説明するように、事例ベース10から事例を入力
し、記憶装置20の中に成立すべき属性の最小総数と必
ず含まれるべき属性とからなる「組」を生成してその要
否を判定し、記憶装置20の最終的な内容から判別条件
を生成して出力装置40に蓄積するものである。
Next, the storage device 20 stores a column 21 in which the minimum total number of attributes that must be satisfied at the time of determination, a column 22 in which attributes that must be included among those attributes are stored, and
It consists of a column 23 in which the necessity of a "group" consisting of these columns 21 and 22 is stored. Furthermore, the processing device 30
As explained below, a case is input from the case base 10, a "set" consisting of the minimum total number of attributes that should be satisfied and attributes that must be included in the storage device 20 is generated, and the necessity of the set is determined. However, the determination conditions are generated from the final contents of the storage device 20 and stored in the output device 40.

【0020】以下に、上記処理装置30における処理を
詳細に説明する。 ■まず、出力装置40の内容を空に初期化する。 ■事例ベース10の中で、判別結果欄12に「正」と記
された事例の各々について、成立した属性の数を調べ、
その最小値(mminとする)を求める。なお、属性欄
111〜11nには各々その属性が成立したときにのみ
「成立」と記されている。これらの欄111〜11nが
空白のときは、該当する属性は成立しなかったか、また
は成否が未知であることを示すものとする。
The processing in the processing device 30 will be explained in detail below. (1) First, the contents of the output device 40 are initialized to be empty. ■ Check the number of established attributes for each case marked as "correct" in the discrimination result column 12 in the case base 10,
Find its minimum value (referred to as mmin). Note that in each of the attribute columns 111 to 11n, "established" is written only when the attribute is established. When these columns 111 to 11n are blank, it indicates that the corresponding attribute has not been established or that the success or failure is unknown.

【0021】■成立すべき属性の最小総数が、上記■で
求めたmminである全ての「組」を記憶装置20の中
に生成し、要否の欄23を「未定」に初期化する。例え
ば、事例ベース10の中に4つの属性(A,B,C,D
とする)が定義されていたとすると、成立すべき属性の
最小総数がmminである「組」とは、4つの属性のう
ちmmin個かそれより多数の属性が成立しているもの
である。
(2) All "sets" whose minimum total number of attributes to be satisfied is mmin determined in (2) above are generated in the storage device 20, and the necessity column 23 is initialized to "undetermined". For example, there are four attributes (A, B, C, D) in the case base 10.
) is defined, a "set" for which the minimum total number of attributes that should hold is mmin is one in which mmin or more attributes out of the four attributes hold true.

【0022】更に、4つの属性のうちmmin個以上の
任意の属性の組合せではなく、特定の属性を必ず含むと
いう制約条件をつける。例えば、4つの属性(A,B,
C,D)に対してmmin=2のとき、初期化された記
憶装置20の内容を図2に示す。この図において第1番
目の「組」は必ず含まれるべき属性の欄が空白であり、
4つの属性のうち、任意のものが少なくとも2個成立す
ればよいことを示す。また、第2番目の「組」は属性A
を必ず含み、残りの3つの属性(B,C,D)のうち任
意のものが少なくとも1個成立し、Aと併せて2個以上
成立すればよいことを示す。更に、第6番目の「組」は
、属性Aと属性Bとを必ず含み、残り2つの属性(C,
D)は成立してもしなくてもよいことを示す。なお、既
に明らかなように、図2の必ず含まれるべき属性22の
欄にそれぞれ列挙される属性の数は、常に最小総数以下
である。
Furthermore, a constraint condition is set that a specific attribute must be included, rather than a combination of mmin or more arbitrary attributes among the four attributes. For example, four attributes (A, B,
FIG. 2 shows the contents of the initialized storage device 20 when mmin=2 for C and D). In this figure, the column for attributes that must be included in the first "set" is blank,
This indicates that at least two of the four attributes need to be satisfied. Also, the second “group” is attribute A
, and at least one arbitrary one of the remaining three attributes (B, C, D) should be satisfied, and two or more of the remaining three attributes (B, C, D) should be satisfied. Furthermore, the sixth "set" always includes attribute A and attribute B, and the remaining two attributes (C,
D) indicates that it may or may not hold true. As is already clear, the number of attributes listed in the column of attributes 22 that must be included in FIG. 2 is always less than or equal to the minimum total number.

【0023】■事例ベース10の中の正例(判別結果欄
12に「正」と記された事例)のうち、成立した属性の
数がmminに等しい正例すべてを求め、記憶装置20
の中に展開された「組」の必ず含まれるべき属性の欄2
2の内容が、上記正例で成立した属性と完全に一致する
「組」の要否の欄23を「未定」から「要」に変更する
。例えばmmin=2の場合、事例ベース10の中に、
属性AとBだけに「成立」と記された正例があった場合
、成立した属性の数は2つであり、これは図2の中の第
6番目の「組」の必ず含まれるべき属性の欄22の内容
と完全に一致するので、第6番目の「組」の要否の欄2
3は「要」に変更される。
■ Among the positive examples in the case base 10 (cases marked as "correct" in the discrimination result column 12), all positive examples in which the number of established attributes is equal to mmin are found and stored in the storage device 20.
Column 2 of attributes that must be included in the "group" expanded in
The column 23 for whether or not the "group" whose content in item 2 completely matches the attribute established in the above positive example is changed from "undetermined" to "required". For example, if mmin=2, in the case base 10,
If only attributes A and B have positive examples marked as “true,” the number of attributes that hold true is two, and this must be included in the sixth “set” in Figure 2. Since it completely matches the contents of the attribute column 22, the sixth “group” is required or not.
3 is changed to "essential".

【0024】■事例ベース10の中の負例(判別結果欄
12に「負」と記された事例)のうち、成立した属性の
数がmminに等しいかまたはmminより大きな負例
すべてを求め、記憶装置20の中に展開された「組」の
必ず含まれるべき属性の欄22の内容が、上記負例で成
立した属性に完全に含まれる「組」の要否の欄23を「
未定」から「否」に変更する。例えばmmin=2の場
合、事例ベース10の中に、属性Cと属性Dだけに「成
立」と記された負例があった場合、成立した属性の数は
2つであり、図2の中の第1番目、第4番目、第5番目
、第11番目の「組」の必ず含まれるべき属性の欄22
の内容は各々完全に含まれている(φ⊂{CD},{C
}⊂{CD},{D}⊂{CD},{CD}⊂{CD}
)。そこで、これら4つの「組」の要否の欄23は、「
否」に変更される。
■ Among the negative examples in the case base 10 (cases marked as "negative" in the discrimination result column 12), find all negative examples in which the number of established attributes is equal to or larger than mmin, The contents of the column 22 of the attributes that must be included in the "set" developed in the storage device 20 are changed to the column 23 of the necessity of the "set" that is completely included in the attributes established in the above negative example.
Change from "Undecided" to "No." For example, when mmin = 2, if there is a negative example in which only attributes C and D are marked as "true" in the case base 10, the number of attributes that are true is two, and Column 22 of attributes that must be included in the 1st, 4th, 5th, and 11th "groups" of
The contents of are completely included (φ⊂{CD}, {C
}⊂{CD}, {D}⊂{CD}, {CD}⊂{CD}
). Therefore, in the column 23 for whether or not these four "groups" are necessary, "
It will be changed to "No".

【0025】更に、事例ベース10の中に属性B,属性
C,属性Dだけに「成立」と記された負例があった場合
、成立した属性の数は3つでmmin=2より大きく、
図2の中の第1番目、第3番目、第4番目、第5番目、
第9番目、第10番目、第11番目の「組」の必ず含ま
れるべき属性の欄22の内容が、各々負例の成立属性に
含まれる(φ⊂{BCD},{B}⊂{BCD},{C
}⊂{BCD},{D}⊂{BCD},{BC}⊂{B
CD},{BD}⊂{BCD},{CD}⊂{BCD}
)。そこで、これら7つの「組」の要否の欄23が「否
」に変更される。
Furthermore, if there is a negative example in which only attributes B, C, and D are marked as "true" in the case base 10, the number of attributes that are true is three, which is greater than mmin=2,
1st, 3rd, 4th, 5th in Figure 2,
The contents of the columns 22 of attributes that must be included in the 9th, 10th, and 11th "sets" are included in the valid attributes of the negative examples (φ⊂{BCD}, {B}⊂{BCD }, {C
}⊂{BCD}, {D}⊂{BCD}, {BC}⊂{B
CD}, {BD}⊂{BCD}, {CD}⊂{BCD}
). Therefore, the column 23 indicating whether or not these seven "groups" are necessary is changed to "no".

【0026】■記憶装置20の中の「組」は、必ず含ま
れるべき属性の欄22の内容によって半順序関係が定ま
る。例えば欄22の内容が{A}の「組」は{AB}の
「組」に含まれるが、{BC}の「組」には含まれない
。上記■と■の処理後の記憶装置20の内容について、
要否の欄23に「否」と記されておらず、かつ、要否の
欄23に「要」か「未定」と記された他の「組」を含ま
ない「組」があれば、それらを全て選び、判別条件とし
て出力装置40に各々追加する。
(2) The "set" in the storage device 20 has a partial order relationship determined by the contents of the column 22 of attributes that must be included. For example, the "group" whose content is {A} in the column 22 is included in the "group" of {AB}, but is not included in the "group" of {BC}. Regarding the contents of the storage device 20 after the processing of ■ and ■ above,
If there is a “group” that does not have “No” written in the necessity column 23 and does not include other “groups” that have “required” or “undetermined” written in the necessity column 23, All of them are selected and added to the output device 40 as discrimination conditions.

【0027】例えばmmin=2のとき、上記■で例示
した正例(AB)及び上記■で例示した負例(CD)と
(BCD)とを処理した後の記憶装置20の内容を図3
に示す。図3における第2番目の「組」は要否の欄23
が「否」と記されておらず、かつ第6番目(「要」),
第7番目(「未定」),第8番目(「未定」)のいずれ
の「組」も含まないので、「属性Aを必ず含み、全体で
2個以上の属性が成立すること」という判別条件として
出力装置40に追加される。また、第6番目,第7番目
,第8番目の「組」は、要否の欄23が「否」ではない
が、各々第2番目(「未定」)の「組」を含んでいるの
で、判別条件としては選ばれない。
For example, when mmin=2, FIG.
Shown below. The second “group” in Figure 3 is the necessity column 23
is not marked as “no,” and the sixth item (“required”),
Since it does not include either the 7th ("undetermined") or the 8th ("undetermined") "set," the determination condition is "must include attribute A, and 2 or more attributes are true in total." It is added to the output device 40 as a. In addition, although the necessity column 23 of the 6th, 7th, and 8th "groups" does not indicate "no", they each include the 2nd ("undetermined") "group". , is not selected as a discrimination condition.

【0028】■事例ベース10の中の正例のうち、出力
装置40に出力された判別条件で正しく判別されるもの
の全てについて、判別結果欄12を「済」に変更する。 その後、判別結果欄12が「正」である正例が事例ベー
ス10の中に残っていれば、上記■に戻って以下同様の
処理を行なう。事例ベース10の中に、判別結果欄12
が「正」である正例がなくなったときに、全体の処理を
終える。以上が図1の処理装置30における処理の説明
である。
(2) Among the positive examples in the case base 10, the determination result column 12 is changed to "completed" for all those that are correctly determined according to the determination conditions output to the output device 40. Thereafter, if a positive example whose determination result column 12 is "correct" remains in the case base 10, the process returns to step (2) above and the same process is performed thereafter. In case base 10, judgment result column 12
The entire process ends when there are no positive examples where is "correct". The above is an explanation of the processing in the processing device 30 of FIG.

【0029】次いで、上記第1実施例を変形した第2実
施例として、前記処理■を下記の■aのように変更した
ものがある。 ■a  前記■と■を処理した後の記憶装置20の内容
について、記憶装置20の要否の欄23に「要」と記さ
れた「組」だけに含まれる「組」の要否の欄23を「未
定」から「要」に変更する。上記の変更を全て終えた後
、要否の欄23に「要」と記されており、かつ要否の欄
23に「要」と記された他の「組」を含まない「組」が
あれば、それらを全て選び、判別条件として出力装置4
0に各々追加する。例えば図3において、第2番目の「
組」は、要否の欄23が「未定」である第7番目、第8
番目の「組」に含まれるので、「要」には変更されない
。そこで第6番目の「組」が選ばれ、「属性Aと属性B
とを必ず含み、全体で2個以上の属性が成立すること」
という判別条件として、出力装置40に追加される。
Next, as a second embodiment which is a modification of the first embodiment, there is one in which the process (2) is changed as shown in (a) below. ■a Regarding the contents of the storage device 20 after processing the above-mentioned ■ and 23 will be changed from “undecided” to “required”. After completing all the above changes, there will be a "group" that is marked "required" in the necessity column 23 and does not include other "groups" marked as "required" in the necessity column 23. If so, select all of them and use the output device 4 as a judgment condition.
Add each to 0. For example, in Figure 3, the second "
Group" is the 7th and 8th group whose necessity column 23 is "Undetermined".
Since it is included in the th "group", it is not changed to "required". Therefore, the sixth "group" was selected, and "Attribute A and Attribute B
must include, and two or more attributes are established as a whole.”
This determination condition is added to the output device 40.

【0030】ここで、前述した第1実施例では、事例ベ
ース10の中の負例は含まないが事例ベース10に正例
として与えられていない事例も含むような判別条件が生
成される。このため、事例ベース10に負例は多く格納
されているが、正例が少ない場合に有効であるといえる
。これに対して、上述した第2実施例では、事例ベース
10の中に正例として与えられた事例のみを含むような
判別条件が生成される。このため、事例ベース10に正
例は多く格納されているが、負例が少ない場合に有効で
あるといえる。
In the first embodiment described above, a discrimination condition is generated that does not include negative examples in the case base 10 but also includes cases that are not given as positive examples in the case base 10. Therefore, it can be said that this method is effective when the case base 10 stores many negative examples but few positive examples. In contrast, in the second embodiment described above, a discrimination condition is generated such that the case base 10 includes only cases given as positive examples. Therefore, it can be said that this method is effective when the case base 10 stores many positive examples but few negative examples.

【0031】次に、本発明の第3実施例を説明する。こ
の実施例は、第1実施例における前記処理■を下記の■
bのように変更したものである。 ■b  前記■と■を処理した後の記憶装置20の内容
について、記憶装置20の要否の欄23に「要」と記さ
れた「組」に含まれる「組」の要否の欄23を「未定」
から「要」に変更する。上記の変更を全て終えた後、要
否の欄23に「要」と記されており、かつ要否の欄23
に「要」と記された他の「組」を含まない「組」があれ
ば、それらを全て選び、判別条件として出力装置40に
各々追加する。
Next, a third embodiment of the present invention will be described. In this embodiment, the process (2) in the first embodiment is replaced by the following (1).
This is modified as shown in b. ■b Regarding the contents of the storage device 20 after processing the above-mentioned ■ and "Undecided"
to "required". After completing all of the above changes, if "Required" is written in the Necessity column 23, and if the Necessity column 23
If there is a "group" that does not include other "groups" marked as "required", all of them are selected and added to the output device 40 as determination conditions.

【0032】例えば、図3の例において第2番目の「組
」は要否の欄23が「要」である第6番目の「組」に含
まれるので、第2番目の「組」の要否の欄23は「要」
に変更される。この状態で第6番目の「組」は要否の欄
23に「要」と記載されているが、同じく要否の欄23
が「要」である第2番目の「組」を含んでいるため選ば
れず、逆に、第2番目の「組」は第6番目の「組」を含
まないことからこの第2番目の「組」が選ばれる。従っ
て、「属性Aを必ず含み、全体で2個以上の属性が成立
すること」という判別条件として出力装置40に追加さ
れる。この実施例によれば、事例ベース10に例えば1
つの正例または負例のみが存在する場合のように正例、
負例が少ない場合に有効である。
For example, in the example of FIG. 3, the second "set" is included in the sixth "set" whose necessity column 23 is "required", so the second "set" is No column 23 is “required”
will be changed to In this state, the sixth "group" is written as "required" in the necessity column 23;
is not selected because it contains the second "group" which is "key", and conversely, the second "group" does not include the sixth "group", so this second "group" is not selected. group” is selected. Therefore, it is added to the output device 40 as a determination condition that "attribute A must be included and two or more attributes are satisfied in total." According to this embodiment, the case base 10 includes, for example, 1
positive examples, as if there were only two positive or negative examples,
This is effective when there are few negative examples.

【0033】更に、本発明の第4実施例として、事例ベ
ース10に複数の目的の事例を格納しておくものが考え
られる。このとき、事例ベース10は1つ以上の属性欄
及び判別結果欄から構成される。前記第1ないし第3実
施例では、判別結果欄には単一の目的に適合するか否か
が記されていたが、この第4実施例ではその事例が適合
した目的の名称が記されている。例えば、設備の故障診
断に関する事例ベースでは、故障診断時に発見される現
象が各属性として、また、診断の結果明らかとなった故
障の原因が判別結果として格納される。
Furthermore, as a fourth embodiment of the present invention, it is conceivable that cases of a plurality of purposes are stored in the case base 10. At this time, the case base 10 is composed of one or more attribute columns and discrimination result columns. In the first to third embodiments, the determination result column indicates whether or not the case is compatible with a single purpose, but in this fourth embodiment, the name of the purpose to which the case is compatible is recorded. There is. For example, in a case base related to equipment failure diagnosis, phenomena discovered during failure diagnosis are stored as each attribute, and causes of failure revealed as a result of diagnosis are stored as determination results.

【0034】この第4実施例では、第1実施例における
処理■〜■の前処理として、下記の処理を付加する。 ■′事例ベースの判別結果の欄に記された目的名の各々
について新たに事例ベース10を生成し、各事例ベース
10ごとに前記■〜■の処理を行なう。例えば、与えら
れた事例ベースの判別結果の欄に3つの目的名(X,Y
,Zとする)が現れたものとする。目的名Xに対する事
例ベース10は、与えられた事例ベースの内容を全て複
写し、目的名としてXが記された事例については判別結
果欄12を「正」に設定し、目的名としてX以外(Yま
たはZ)が記された事例については判別結果欄12を「
負」に設定することで得られる。この実施例によれば、
複数の目的に関する事例が一つの事例ベースとして管理
されているものに対応できるという利点がある。
In this fourth embodiment, the following processing is added as pre-processing to the processing ① to ② in the first embodiment. (2) A new case base 10 is generated for each of the purpose names written in the column of case-based discrimination results, and the above-mentioned processes (1) to (4) are performed for each case base 10. For example, given a case-based discrimination result column, three objective names (X, Y
, Z) has appeared. The case base 10 for purpose name For cases marked with Y or Z), change the judgment result column 12 to “
This can be obtained by setting it to "negative". According to this example,
It has the advantage of being able to handle cases where multiple objectives are managed on a single case basis.

【0035】次に、図4は第2の発明の一実施例を示す
ものである。この実施例において、事例ベース10、記
憶装置20、処理装置30及び出力装置40の構成は第
1の発明の各実施例と同一であるが、更に属性指定部5
0が付加されている。この属性指定部50は、事例ベー
ス10の中で定義された全ての属性1〜nではなく、そ
のうちの一部のみを考慮して前記■以後の処理を行なう
ように指示するために設けられる。処理装置30におけ
る処理は、対象となる属性が事例ベース10の中の全て
の属性ではなく、属性指定部50によって指定された属
性に限られる点を除いて、第1の発明の各実施例と同一
である。
Next, FIG. 4 shows an embodiment of the second invention. In this embodiment, the configurations of the case base 10, the storage device 20, the processing device 30, and the output device 40 are the same as in each embodiment of the first invention, but an attribute specifying unit 5
0 is added. This attribute specifying section 50 is provided to instruct that the processing after the above-mentioned (2) be performed in consideration of only some of the attributes 1 to n defined in the case base 10, rather than all of them. The processing in the processing device 30 is similar to each embodiment of the first invention, except that the target attributes are not all the attributes in the case base 10 but are limited to the attributes specified by the attribute specification unit 50. are the same.

【0036】先に述べたように、一般には専門家が考慮
すべき属性を調整しながら判別条件を洗練してゆくこと
が多い。従ってこの実施例によれば、その際に事例ベー
ス10をいちいち作り直さなくてよいという利点が得ら
れる。また、多くの属性を考慮すると処理が多量になり
、例えば、小形の計算機では一定時間内に判別条件が求
められないこともあり得る。この実施例によれば、考慮
すべき属性の数を属性指定部50により調整できるので
、たとえ小形の計算機であっても一定時間内に一部の判
別条件が得られるという利点がある。
As mentioned above, in general, experts often refine the discrimination conditions while adjusting the attributes to be considered. Therefore, according to this embodiment, there is an advantage that the case base 10 does not have to be recreated every time. Furthermore, considering many attributes requires a large amount of processing, and for example, with a small computer, it may not be possible to determine the discrimination conditions within a certain amount of time. According to this embodiment, since the number of attributes to be considered can be adjusted by the attribute specifying section 50, there is an advantage that a part of the discrimination conditions can be obtained within a certain amount of time even with a small computer.

【0037】次いで、図5は第3の発明の一実施例を示
すものである。この実施例において、事例ベース10、
記憶装置20、処理装置30及び出力装置40の構成は
第1の発明の各実施例と同一であるが、更に属性数指定
部60が付加されている。属性数指定部60は、事例ベ
ース10の中に格納された全ての正例を判別する条件を
生成するのではなく、成立すべき属性の最小総数が一定
値以下の判別条件のみを求めるように指示するために設
けられる。
Next, FIG. 5 shows an embodiment of the third invention. In this example, case base 10,
The configurations of the storage device 20, processing device 30, and output device 40 are the same as those in each embodiment of the first invention, but an attribute number designation section 60 is additionally added. The number of attributes specifying unit 60 does not generate a condition for discriminating all positive examples stored in the case base 10, but only determines a discriminating condition in which the minimum total number of attributes that should be satisfied is less than or equal to a certain value. It is provided for the purpose of giving instructions.

【0038】この実施例では、処理装置30において前
記処理■が下記■aのように変わることを除いて、他の
処理は第1の発明の第1実施例と同一である。 ■a  事例ベースの中で判別結果欄12に「正」と記
された事例の各々について成立した属性の数を調べ、そ
の最小値(mminとする)を求める。もし、mmin
が属性数指定部60に設定されている値より大きな場合
には、全体の処理を終える。一般に、上記mminが大
きな値になって処理が多量になり、例えば小形の計算機
では判別条件が求められないこともあり得る。従って、
この実施例によればmminの大きさを調整できるので
、多くの属性からなる事例に対して、たとえ小形の計算
機であっても一定時間内に一部の判別条件を得ることが
できるという利点がある。
In this embodiment, the other processes are the same as those in the first embodiment of the first invention, except that the process (2) in the processing device 30 is changed as shown in (a) below. (a) Check the number of established attributes for each case marked as "correct" in the discrimination result column 12 in the case base, and find the minimum value (referred to as mmin). If, mmin
If the value is larger than the value set in the number of attributes designation unit 60, the entire process ends. Generally, the above-mentioned mmin becomes a large value and the amount of processing becomes large, and for example, in a small computer, the discrimination condition may not be required. Therefore,
According to this embodiment, the size of mmin can be adjusted, so even a small computer can obtain some discrimination conditions within a certain amount of time for cases consisting of many attributes. be.

【0039】次いで、図6は第4の発明の一実施例を示
すものである。この実施例において、事例ベース10、
記憶装置20及び出力装置40の構成は第1の発明の各
実施例と同一であり、新たに属性組合せ指定部70が付
加されている。この属性組合せ指定部70は、同時に成
立し得る属性の組合せ、または同時に成立し得ない属性
の組合わせを格納し、これらの組合せを処理装置30に
対して指定するものである。例えば、ある水温データに
ついて、40度未満を「水温低」、40度以上を「水温
高」という属性に割り付けた場合、同時に成立し得ない
「水温低」と「水温高」との組合せを属性組合せ指定部
70に格納しておく。
Next, FIG. 6 shows an embodiment of the fourth invention. In this example, case base 10,
The configurations of the storage device 20 and the output device 40 are the same as in each embodiment of the first invention, and an attribute combination designation section 70 is newly added. The attribute combination designation unit 70 stores combinations of attributes that can be established at the same time or combinations of attributes that cannot be established at the same time, and designates these combinations to the processing device 30. For example, if you assign water temperature data below 40 degrees to the attribute "low water temperature" and 40 degrees or more to the attribute "high water temperature," the combination of "low water temperature" and "high water temperature" that cannot exist at the same time is assigned to the attribute. It is stored in the combination designation section 70.

【0040】この実施例において、処理装置30は、以
下に説明するように事例ベース10から事例を入力し、
記憶装置20の中に成立するべき属性の最小総数と、必
ず含まれるべき属性の組合せとして属性組合せ指定部7
0により指定された組合せとからなる「組」を生成して
その要否を判定し、記憶装置20の最終的な内容から判
別条件を生成して出力装置40に蓄積するものである。
In this embodiment, processing device 30 inputs cases from case base 10 as described below, and
The minimum total number of attributes that should exist in the storage device 20 and the attribute combination designation unit 7 as a combination of attributes that should definitely be included.
A "group" consisting of the combination specified by 0 is generated, the necessity of the combination is determined, and a determination condition is generated from the final contents of the storage device 20 and stored in the output device 40.

【0041】以下に、上記処理装置30における処理を
詳細に説明する。 ■まず、出力装置40の内容を空に初期化する。 ■事例ベース10の中で、判別結果欄12に「正」と記
された事例の各々について、成立した属性の数を調べ、
その最小値mminを求める。なお、属性欄111〜1
1nには各々その属性が成立したときにのみ「成立」と
記されている。これらの欄111〜11nが空白のとき
は、該当する属性は成立しなかったか、または成否が未
知であることを示すものとする。
The processing in the processing device 30 will be explained in detail below. (1) First, the contents of the output device 40 are initialized to be empty. ■ Check the number of established attributes for each case marked as "correct" in the discrimination result column 12 in the case base 10,
Find the minimum value mmin. In addition, attribute columns 111-1
1n is marked as "established" only when the attribute is established. When these columns 111 to 11n are blank, it indicates that the corresponding attribute has not been established or that the success or failure is unknown.

【0042】■成立すべき属性の最小総数が、上記■で
求めたmminであって属性組合せ指定部70により指
定された属性の組合せの全ての「組」を記憶装置20の
中に生成し、要否の欄23を「未定」に初期化する。例
えば、事例ベース10の中に4つの属性(A,B,C,
Dとする)が定義されており、属性組合せ指定部70の
中に属性(A,D)が同時に成立し得ないものとして指
定されていたとすると、成立すべき属性の最小総数がm
minであって属性組合せ指定部70により指定された
属性の組合せの「組」とは、4つの属性のうち同時に成
立し得るmmin個かそれより多数の属性が成立してい
るものである。
■ Generate in the storage device 20 all "sets" of attribute combinations in which the minimum total number of attributes to be established is mmin determined in the above (■) and specified by the attribute combination designation unit 70; The necessity column 23 is initialized to "undetermined". For example, there are four attributes (A, B, C,
D) is defined, and if attributes (A, D) are specified in the attribute combination designation section 70 as being impossible to hold simultaneously, then the minimum total number of attributes that should hold is m
The "set" of attribute combinations that is min and is specified by the attribute combination designation unit 70 is one in which mmin or more attributes that can be established simultaneously among the four attributes are established.

【0043】更に、4つの属性のうちmmin個以上の
同時に成立し得る任意の属性の組合せではなく、特定の
属性を必ず含むという制約条件をつける。例えば、4つ
の属性(A,B,C,D)に対して、属性(A,D)が
同時に成立し得ない状況においてmmin=2のとき、
初期化された記憶装置20の内容を図7に示す。
Furthermore, a constraint is set that a specific attribute must be included, rather than a combination of mmin or more of the four attributes that can be simultaneously established. For example, for four attributes (A, B, C, D), when mmin = 2 in a situation where attributes (A, D) cannot be established at the same time,
FIG. 7 shows the contents of the initialized storage device 20.

【0044】この図において第1番目の「組」は必ず含
まれるべき属性の欄が空白であり、4つの属性のうち、
任意のものが属性Aと属性Dとを同時に含まないで少な
くとも2個成立すればよいことを示す。また、第2番目
の「組」は属性Aを必ず含み、属性Aと同時に成立し得
ない属性Dを除いた残りの2つの属性(B,C)のうち
任意のものが少なくとも1個成立し、Aと併せて2個以
上成立すればよいことを示す。更に、第6番目の「組」
は、属性Aと属性Bとを必ず含み、属性Aと同時に成立
し得ない属性Dを除いた残り1つの属性(C)は成立し
てもしなくてもよいことを示す。なお、既に明らかなよ
うに、図7の必ず含まれるべき属性22の欄にそれぞれ
列挙される属性の数は、常に最小総数以下である。
In this figure, the column for the attributes that must be included in the first "set" is blank, and among the four attributes,
This indicates that any given item only needs to hold at least two of attributes A and D without simultaneously containing them. In addition, the second "set" always includes attribute A, and at least one arbitrary one of the remaining two attributes (B, C) excluding attribute D, which cannot be satisfied at the same time as attribute A. , indicates that it is sufficient if two or more are satisfied together with A. Furthermore, the 6th “group”
indicates that the remaining attribute (C), which necessarily includes attribute A and attribute B and excludes attribute D, which cannot hold true at the same time as attribute A, may or may not hold true. As is already clear, the number of attributes listed in the column of attributes 22 that must be included in FIG. 7 is always less than or equal to the minimum total number.

【0045】■事例ベース10の中の正例(判別結果欄
12に「正」と記された事例)のうち、成立した属性の
数がmminに等しい正例すべてを求め、記憶装置20
の中に展開された「組」の必ず含まれるべき属性の欄2
2の内容が、上記正例で成立した属性と完全に一致する
「組」の要否の欄23を「未定」から「要」に変更する
。例えばmmin=2の場合、事例ベース10の中に、
属性AとBだけに「成立」と記された正例があった場合
、成立した属性の数は2つであり、これは図7の中の第
6番目の「組」の必ず含まれるべき属性の欄22の内容
と完全に一致するので、第6番目の「組」の要否の欄2
3は「要」に変更される。
■ Among the positive examples in the case base 10 (cases marked as "correct" in the discrimination result column 12), all positive examples in which the number of established attributes is equal to mmin are found and stored in the storage device 20.
Column 2 of attributes that must be included in the "group" expanded in
The column 23 for whether or not the "group" whose content in item 2 completely matches the attribute established in the above positive example is changed from "undetermined" to "required". For example, if mmin=2, in the case base 10,
If only attributes A and B have positive examples marked as “true,” the number of attributes that hold true is two, and this must be included in the sixth “set” in Figure 7. Since it completely matches the contents of the attribute column 22, the sixth “group” is required or not.
3 is changed to "essential".

【0046】■事例ベース10の中の負例(判別結果欄
12に「負」と記された事例)のうち、成立した属性の
数がmminに等しいかまたはmminより大きな負例
すべてを求め、記憶装置20の中に展開された「組」の
必ず含まれるべき属性の欄22の内容が、上記負例で成
立した属性に完全に含まれる「組」の要否の欄23を「
未定」から「否」に変更する。例えばmmin=2の場
合、事例ベース10の中に、属性Cと属性Dだけに「成
立」と記された負例があった場合、成立した属性の数は
2つであり、図7の中の第1番目、第4番目、第5番目
、第10番目の「組」の必ず含まれるべき属性の欄22
の内容は各々完全に含まれている(φ⊂{CD},{C
}⊂{CD},{D}⊂{CD},{CD}⊂{CD}
)。そこで、これら4つの「組」の要否の欄23は、「
否」に変更される。
[0046] Among the negative examples in the case base 10 (cases marked as "negative" in the discrimination result column 12), find all negative examples in which the number of established attributes is equal to or larger than mmin; The contents of the column 22 of the attributes that must be included in the "set" developed in the storage device 20 are changed to the column 23 of the necessity of the "set" that is completely included in the attributes established in the above negative example.
Change from "Undecided" to "No." For example, in the case of mmin=2, if there is a negative example in which only attributes C and D are marked as "true" in the case base 10, the number of attributes that are true is two, and as shown in FIG. Column 22 of attributes that must be included in the 1st, 4th, 5th, and 10th "groups" of
The contents of are completely included (φ⊂{CD}, {C
}⊂{CD}, {D}⊂{CD}, {CD}⊂{CD}
). Therefore, in the column 23 for whether or not these four "groups" are necessary, "
It will be changed to "No".

【0047】更に、事例ベース10の中に属性B,属性
C,属性Dだけに「成立」と記された負例があった場合
、成立した属性の数は3つでmmin=2より大きく、
図7の中の第1番目、第3番目、第4番目、第5番目、
第8番目、第9番目、第10番目の「組」の必ず含まれ
るべき属性の欄22の内容が、各々負例の成立属性に含
まれる(φ⊂{BCD},{B}⊂{BCD},{C}
⊂{BCD},{D}⊂{BCD},{BC}⊂{BC
D},{BD}⊂{BCD},{CD}⊂{BCD})
。そこで、これら7つの「組」の要否の欄23が「否」
に変更される。
Furthermore, if there is a negative example in which only attribute B, attribute C, and attribute D are marked as "true" in the case base 10, the number of attributes that are true is three, which is greater than mmin=2,
1st, 3rd, 4th, 5th in Figure 7,
The contents of the columns 22 of attributes that must be included in the 8th, 9th, and 10th "sets" are included in the valid attributes of the negative examples (φ⊂{BCD}, {B}⊂{BCD }, {C}
⊂{BCD}, {D}⊂{BCD}, {BC}⊂{BC
D}, {BD}⊂{BCD}, {CD}⊂{BCD})
. Therefore, the column 23 for the necessity of these seven "groups" is "no".
will be changed to

【0048】■記憶装置20の中の「組」は、必ず含ま
れるべき属性の欄22の内容によって半順序関係が定ま
る。例えば欄22の内容が{A}の「組」は{AB}の
「組」に含まれるが、{BC}の「組」には含まれない
。上記■と■の処理後の記憶装置20の内容について、
要否の欄23に「否」と記されておらず、かつ、要否の
欄23に「要」か「未定」と記された他の「組」を含ま
ない「組」があれば、それらを全て選び、判別条件とし
て出力装置40に各々追加する。
(2) The "set" in the storage device 20 has a partial order relationship determined by the contents of the column 22 of attributes that must be included. For example, the "group" whose content is {A} in the column 22 is included in the "group" of {AB}, but is not included in the "group" of {BC}. Regarding the contents of the storage device 20 after the processing of ■ and ■ above,
If there is a “group” that does not have “No” written in the necessity column 23 and does not include other “groups” that have “required” or “undetermined” written in the necessity column 23, All of them are selected and added to the output device 40 as discrimination conditions.

【0049】例えばmmin=2のとき、上記■で例示
した正例(AB)及び上記■で例示した負例(CD)と
(BCD)とを処理した後の記憶装置20の内容を図8
に示す。図8における第2番目の「組」は要否の欄23
が「否」と記されておらず、かつ第6番目(「要」),
第7番目(「未定」)のいずれの「組」も含まないので
、「属性Aを必ず含み、全体で2個以上の属性が成立す
ること」という判別条件として出力装置40に追加され
る。また、第6番目,第7番目の「組」は、要否の欄2
3が「否」ではないが、各々第2番目(「未定」)の「
組」を含んでいるので、判別条件としては選ばれない。
For example, when mmin=2, FIG.
Shown below. The second “group” in FIG. 8 is the necessity column 23
is not marked as “no,” and the sixth item (“required”),
Since it does not include any of the seventh ("undetermined") "groups," it is added to the output device 40 as a determination condition that "attribute A must be included and two or more attributes are satisfied in total." Also, the 6th and 7th “groups” are in the necessity column 2.
3 is not "no", but the second ("undecided") "
group", so it is not selected as a discrimination condition.

【0050】■事例ベース10の中の正例のうち、出力
装置40に出力された判別条件で正しく判別されるもの
の全てについて、判別結果欄12を「済」に変更する。 その後、判別結果欄12が「正」である正例が事例ベー
ス10の中に残っていれば、上記■に戻って以下同様の
処理を行なう。事例ベース10の中に、判別結果欄12
が「正」である正例がなくなったときに、全体の処理を
終える。以上が図6の処理装置30における処理の説明
である。
(2) Among the positive examples in the case base 10, the determination result column 12 is changed to "completed" for all those that are correctly determined according to the determination conditions output to the output device 40. Thereafter, if a positive example whose determination result column 12 is "correct" remains in the case base 10, the process returns to step (2) above and the same process is performed thereafter. In case base 10, judgment result column 12
The entire process ends when there are no positive examples where is "correct". The above is an explanation of the processing in the processing device 30 of FIG. 6.

【0051】なお、この第4の発明においても、第1の
発明と同様に第2実施例ないし第4実施例を考えること
ができる。すなわち本発明でも、第2実施例では処理■
を前記処理■aに変更し、第3実施例では処理■を前記
処理■bに変更し、更に、第4実施例では第1実施例の
処理■〜■の前処理として前記処理■′を付加するもの
である。これらの実施例の処理内容及び効果は、記憶装
置20の欄22,23(図7,図8参照)の数が第1の
発明の各実施例(図2,図3参照)よりも一つ少ないこ
とに起因するもの以外は、第1の発明の第2実施例ない
し第4実施例と同一であるため、説明を省略する。
[0051] Also in this fourth invention, the second to fourth embodiments can be considered in the same manner as the first invention. That is, even in the present invention, in the second embodiment, processing
In the third embodiment, the process (2) is changed to the process (2) b, and in the fourth example, the process (2) is changed to the process (2) as a pretreatment for the processes (2) to (2) in the first embodiment. It is an addition. The processing contents and effects of these embodiments are such that the number of columns 22 and 23 (see FIGS. 7 and 8) of the storage device 20 is one more than each of the embodiments of the first invention (see FIGS. 2 and 3). Except for what is caused by the small size, the explanations are omitted because they are the same as the second to fourth embodiments of the first invention.

【0052】[0052]

【発明の効果】以上のように第1の発明によれば、与え
られた事例を、判別時に成立すべき属性の最小総数及び
そこに必ず含まれるべき属性からなる「組」に整理し直
す方法としたため、事例は成立した属性の情報だけでよ
く、必ずしも全ての属性についてその成否を示す情報を
持たない現場の実績データを事例として利用できるとい
う効果が得られる。
[Effects of the Invention] As described above, according to the first invention, a method of rearranging a given case into a "set" consisting of the minimum total number of attributes that should hold during discrimination and the attributes that must be included therein. As a result, examples only need to be information on attributes that have been established, and the effect is that actual performance data from the field, which does not necessarily have information indicating the success or failure of all attributes, can be used as examples.

【0053】また、判別時に成立すべき属性の最小総数
及びそこに必ず含まれるべき「組」の半順序関係に基づ
いて判別条件を絞り込む方法としたので、考慮すべき属
性を変更しても、「組」は半順序関係に基づいて関連す
る部分だけが影響を受ける。従って、そこから生成され
る判別条件において、変更された属性以外の属性間の関
連は保存されることにより、段階的、継続的な判別条件
の洗練を専門家が進めやすいという効果が得られる。
[0053] Furthermore, since we have adopted a method of narrowing down the discrimination conditions based on the minimum total number of attributes that should hold during discrimination and the partial order of the "sets" that must be included therein, even if the attributes to be considered are changed, Only related parts of a "set" are affected based on a partial order relationship. Therefore, in the discriminant conditions generated therefrom, relationships between attributes other than the changed attribute are preserved, thereby making it easier for experts to refine the discriminant conditions step by step and continuously.

【0054】第2の発明によれば、事例の内の考慮すべ
き一部の属性を指定するようにしたので、上記第1の発
明の効果に加えて、判別条件の洗練を進める際に、考慮
すべき属性に応じていちいち事例を用意し直す必要がな
いという利点があると共に、処理において使用する記憶
装置の容量や処理時間を外部から制御できるため、計算
能力の低い小形の計算機でも一定時間内に判別条件の一
部を生成できるという効果がある。
According to the second invention, some attributes to be considered in the case are specified, so in addition to the effects of the first invention, when refining the discriminant conditions, It has the advantage of not having to re-prepare examples each time according to the attributes to be considered, and since the capacity of the storage device used for processing and the processing time can be controlled externally, even a small computer with low calculation capacity can be used for a certain amount of time. This has the effect of being able to generate part of the discrimination conditions within the system.

【0055】第3の発明によれば、判別時に成立すべき
属性の最小総数の最大値を指定し、それよりも少ない最
小総数の「組」だけを求めるようにしたので、上記第1
の発明の効果に加えて、処理において使用する記憶装置
の容量や処理時間を外部から制御できるため、多くの属
性からなる事例に対して計算能力の低い小形の計算機で
も一定時間内に判別条件の一部を生成できるという効果
が得られる。
According to the third invention, the maximum value of the minimum total number of attributes that should be satisfied at the time of discrimination is specified, and only "sets" having a minimum total number smaller than that are determined.
In addition to the effects of the invention, the capacity of the storage device used in processing and the processing time can be controlled externally, so even a small computer with low computing power can solve the discriminant conditions within a certain amount of time for cases consisting of many attributes. This has the effect of being able to generate a portion of it.

【0056】第4の発明は、与えられた事例を、判別時
に成立すべき属性の最小総数及び属性組合せ指定部によ
り指定された特定種類の属性の組合せからなる「組」に
整理しなおすものであり、これによって第1の発明と同
様の効果を得ることができる。
[0056] The fourth invention is to rearrange the given cases into "sets" consisting of the minimum total number of attributes that should be established at the time of discrimination and the combination of specific types of attributes specified by the attribute combination specification section. Thereby, the same effect as the first invention can be obtained.

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

【図1】第1の発明の実施例が適用されるシステムの構
成図である。
FIG. 1 is a configuration diagram of a system to which an embodiment of the first invention is applied.

【図2】図1の実施例における記憶装置の初期化後の状
態の一例を示す図である。
FIG. 2 is a diagram illustrating an example of a state after initialization of a storage device in the embodiment of FIG. 1;

【図3】図1の実施例における記憶装置の処理中の状態
の一例を示す図である。
FIG. 3 is a diagram illustrating an example of a processing state of the storage device in the embodiment of FIG. 1;

【図4】第2の発明の実施例が適用されるシステムの構
成図である。
FIG. 4 is a configuration diagram of a system to which an embodiment of the second invention is applied.

【図5】第3の発明の実施例が適用されるシステムの構
成図である。
FIG. 5 is a configuration diagram of a system to which a third embodiment of the invention is applied.

【図6】第4の発明の実施例が適用されるシステムの構
成図である。
FIG. 6 is a configuration diagram of a system to which an embodiment of the fourth invention is applied.

【図7】図6の実施例における記憶装置の初期化後の状
態の一例を示す図である。
FIG. 7 is a diagram illustrating an example of the state of the storage device after initialization in the embodiment of FIG. 6;

【図8】図6の実施例における記憶装置の処理中の状態
の一例を示す図である。
FIG. 8 is a diagram illustrating an example of a processing state of the storage device in the embodiment of FIG. 6;

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

10  事例ベース 111〜11n  属性欄 12  判別結果欄 20  記憶装置 21  成立すべき属性の最小総数の欄22  必ず含
まれるべき属性の欄 23  要否の欄 30  処理装置 40  出力装置 50  属性指定部 60  属性数指定部 70  属性組合せ指定部
10 Case bases 111 to 11n Attribute column 12 Discrimination result column 20 Storage device 21 Minimum total number of attributes that should be established column 22 Attribute that must be included column 23 Necessity column 30 Processing device 40 Output device 50 Attribute specification section 60 Attribute Number specification section 70 Attribute combination specification section

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】  属性の成否及びこの成否に基づく判別
結果により構成される事例から、判別結果が正しい場合
に成立するべき属性の最小総数を求め、この最小総数以
下である特定種類の属性の組合せを必ず含まれるべき属
性として規定すると共に、前記最小総数と必ず含まれる
べき属性とからなる組を列挙し、これらの組の間の包含
関係と前記事例とに基づいて特定した組の内容から、特
定種類の属性を含み、かつ前記最小総数以上の属性が成
立する旨の判別条件を生成し、この判別条件によって前
記事例のうち判別結果が正しいとされた事例をすべて判
別し、その結果、当該事例の中に上記判別条件によって
は正しいと判別されない事例が残存する場合には、この
残存する事例がなくなるまで、この残存する事例につい
て上記の判別条件生成処理及び生成された判別条件によ
る判別処理を繰返し実行して判別条件を所要数生成する
ことを特徴とする判別条件生成方法。
[Claim 1] Find the minimum total number of attributes that should hold true if the determination result is correct from cases consisting of success/failure of attributes and determination results based on the success/failure of attributes, and find combinations of specific types of attributes that are less than or equal to this minimum total number. is specified as an attribute that must be included, and lists the sets consisting of the minimum total number and the attributes that must be included, and from the contents of the set specified based on the inclusion relationship between these sets and the example, A discrimination condition is generated that includes attributes of a specific type, and attributes that are equal to or greater than the minimum total number are satisfied, and based on this discrimination condition, all cases for which the discrimination result is correct among the cases are discriminated, and as a result, the relevant If there are cases remaining that are not determined as correct according to the above discrimination conditions, the above discrimination condition generation processing and discrimination processing using the generated discrimination conditions are performed on the remaining cases until there are no remaining cases. A discriminant condition generation method characterized by repeatedly executing the discriminant conditions to generate a required number of discriminant conditions.
【請求項2】  属性の成否及びこの成否に基づく判別
結果により構成される事例から、属性指定部により指定
された属性のうち判別結果が正しい場合に成立するべき
属性の最小総数を求め、この最小総数以下であって属性
指定部により指定された特定種類の属性の組合せを必ず
含まれるべき属性として規定すると共に、前記最小総数
と必ず含まれるべき属性とからなる組を列挙し、これら
の組の間の包含関係と前記事例とに基づいて特定した組
の内容から、特定種類の属性を含み、かつ前記最小総数
以上の属性が成立する旨の判別条件を生成し、この判別
条件によって前記事例のうち判別結果が正しいとされた
事例をすべて判別し、その結果、当該事例の中に上記判
別条件によっては正しいと判別されない事例が残存する
場合には、この残存する事例がなくなるまで、この残存
する事例について上記の判別条件生成処理及び生成され
た判別条件による判別処理を繰返し実行して判別条件を
所要数生成することを特徴とする判別条件生成方法。
[Claim 2] Obtain the minimum total number of attributes that should hold true if the determination result is correct among the attributes specified by the attribute specification section from the cases constituted by the success or failure of the attributes and the determination results based on the success or failure of the attributes, and A combination of specific types of attributes specified by the attribute specification section that is less than or equal to the total number is defined as attributes that must be included, and sets of the minimum total number and attributes that must be included are listed, and the combinations of these sets are defined as attributes that must be included. From the content of the set specified based on the inclusion relationship between and the above-mentioned case, a judgment condition is generated that the set contains a specific type of attribute and the above-mentioned minimum total number or more of attributes hold, and this judgment condition is used to determine whether the above-mentioned case is All of the cases in which the discrimination result was determined to be correct are judged, and as a result, if there remain cases among the cases that are not judged to be correct according to the above judgment conditions, this remaining case is A discriminant condition generation method characterized in that the above-described discriminant condition generation process and the discriminant process using the generated discriminant conditions are repeatedly executed for a case to generate a required number of discriminant conditions.
【請求項3】  属性の成否及びこの成否に基づく判別
結果により構成される事例から、判別結果が正しい場合
に成立するべき属性の最小総数を求め、この最小総数が
属性数指定部により指定された最大値よりも小さい場合
に前記最小総数以下である特定種類の属性の組合せを必
ず含まれるべき属性として規定すると共に、前記最小総
数と必ず含まれるべき属性とからなる組を列挙し、これ
らの組の間の包含関係と前記事例とに基づいて特定した
組の内容から、特定種類の属性を含み、かつ前記最小総
数以上の属性が成立する旨の判別条件を生成し、この判
別条件によって前記事例のうち判別結果が正しいとされ
た事例をすべて判別し、その結果、当該事例の中に上記
判別条件によっては正しいと判別されない事例が残存す
る場合には、この残存する事例がなくなるまで、この残
存する事例について上記の判別条件生成処理及び生成さ
れた判別条件による判別処理を繰返し実行して判別条件
を所要数生成することを特徴とする判別条件生成方法。
[Claim 3] The minimum total number of attributes that should hold true if the determination result is correct is determined from the cases constituted by the success or failure of the attributes and the determination results based on the success or failure of the attributes, and this minimum total number is specified by the attribute number specification section. A combination of attributes of a specific type that is less than or equal to the minimum total number when it is smaller than the maximum value is defined as an attribute that must be included, and sets of the minimum total number and attributes that must be included are listed, and these combinations are defined as attributes that must be included. From the content of the set specified based on the inclusion relationship between and the above-mentioned case, a judgment condition is generated that the specified type of attribute is included and the above-mentioned minimum total number or more of attributes hold true, and based on this judgment condition, the above-mentioned case As a result, if there are cases remaining among the cases that are not judged to be correct according to the above judgment conditions, this remaining case is A method for generating a discriminant condition, characterized in that a required number of discriminant conditions are generated by repeatedly performing the above-described discriminant condition generation process and a discriminating process using the generated discriminant conditions for a case in which the discriminant condition is determined.
【請求項4】  属性の成否及びこの成否に基づく判別
結果により構成される事例から、判別結果が正しい場合
に成立するべき属性の最小総数を求め、この最小総数以
下である特定種類の属性の組合せのうち、属性組合せ指
定部により指定された特定種類の組合せを必ず含まれる
べき属性として規定すると共に、前記最小総数と必ず含
まれるべき属性とからなる組を列挙し、これらの組の間
の包含関係と前記事例とに基づいて特定した組の内容か
ら、特定種類の属性を含み、かつ前記最小総数以上の属
性が成立する旨の判別条件を生成し、この判別条件によ
って前記事例のうち判別結果が正しいとされた事例をす
べて判別し、その結果、当該事例の中に上記判別条件に
よっては正しいと判別されない事例が残存する場合には
、この残存する事例がなくなるまで、この残存する事例
について上記の判別条件生成処理及び生成された判別条
件による判別処理を繰返し実行して判別条件を所要数生
成することを特徴とする判別条件生成方法。
[Claim 4] Find the minimum total number of attributes that should hold true if the determination result is correct from the cases consisting of the success or failure of attributes and the determination results based on the success or failure of the attributes, and find combinations of specific types of attributes that are less than or equal to this minimum total number. Among them, a specific type of combination specified by the attribute combination specification section is defined as an attribute that must be included, and sets consisting of the minimum total number and attributes that must be included are listed, and inclusions between these sets are defined. From the contents of the set specified based on the relationship and the case, a judgment condition is generated that includes attributes of a specific type and the minimum total number or more of attributes hold true, and based on this judgment condition, a judgment result among the cases is generated. As a result, if there remain cases among the cases that are not judged to be correct according to the above judgment conditions, the above cases will be applied to the remaining cases until there are no remaining cases. 1. A discriminant condition generation method, characterized in that a required number of discriminant conditions are generated by repeatedly performing the discriminant condition generating process and the discriminating process using the generated discriminant conditions.
JP3170543A 1990-10-22 1991-06-14 Deciding condition generating method Withdrawn JPH04348432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3170543A JPH04348432A (en) 1990-10-22 1991-06-14 Deciding condition generating method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP28366390 1990-10-22
JP2-283663 1990-10-22
JP3170543A JPH04348432A (en) 1990-10-22 1991-06-14 Deciding condition generating method

Publications (1)

Publication Number Publication Date
JPH04348432A true JPH04348432A (en) 1992-12-03

Family

ID=26493509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3170543A Withdrawn JPH04348432A (en) 1990-10-22 1991-06-14 Deciding condition generating method

Country Status (1)

Country Link
JP (1) JPH04348432A (en)

Similar Documents

Publication Publication Date Title
US4595981A (en) Method of testing interfaces between computer program modules
US5629878A (en) Test planning and execution models for generating non-redundant test modules for testing a computer system
KR950012221B1 (en) Arrangement for automated troubleshooting
US7260503B2 (en) Testing using policy-based processing of test results
US5899985A (en) Inference method and inference system
JP2009509200A (en) Apparatus, method, and computer program for editing an exam, and apparatus, method, and computer program for testing an examinee
US7062753B1 (en) Method and apparatus for automated software unit testing
CN109472484A (en) A kind of production process exception record method based on flow chart
US5671326A (en) Method and apparatus for facilitating user generation of a set of machine control statements
JPH01298435A (en) Automatic programming device
JPH04348432A (en) Deciding condition generating method
JP2013077124A (en) Software test case generation device
Kambhampati On the relations between intelligent backtracking and failure-driven explanation-based learning in constraint satisfaction and planning
JPS6126112A (en) System for diagnosing abnormality of system
CN110738384B (en) Event sequence checking method and system
Kinneer et al. Automatically Evaluating the Efficiency of Search-Based Test Data Generation for Relational Database Schemas.
US20060100845A1 (en) Multiple stream real time data simulation adapted for a KStore data structure
CN106776265A (en) Test case update method and device
KR20200144296A (en) Method and apparatus for parallel training of deep learning model
Lavency et al. Knowledge based configuration management
JPS593648A (en) Automatic testing system of information processing system
JPH0668066A (en) Decision condition generating method
RU2217792C2 (en) Method for identifying variable-parameter dynamic structures
Nguyen et al. Prioritizing automated test cases of Web applications using reinforcement learning: an enhancement
JPS61151751A (en) System fault diagnostic system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980903