JP2913969B2 - Case search system and search method - Google Patents
Case search system and search methodInfo
- Publication number
- JP2913969B2 JP2913969B2 JP3331864A JP33186491A JP2913969B2 JP 2913969 B2 JP2913969 B2 JP 2913969B2 JP 3331864 A JP3331864 A JP 3331864A JP 33186491 A JP33186491 A JP 33186491A JP 2913969 B2 JP2913969 B2 JP 2913969B2
- Authority
- JP
- Japan
- Prior art keywords
- case
- procedure
- search
- input
- similarity
- 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.)
- Expired - Lifetime
Links
Landscapes
- Devices For Executing Special Programs (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、入力された問題の解
を、データベースに予め格納されている事例情報から求
める推論システムにおいて、入力された問題に対応する
事例を、解の候補として検索する事例検索システムに係
わり、特に、システムの開発、および、保守を効率良く
行なうのに好適な事例検索システムおよびその検索方法
に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an inference system for obtaining a solution to an input problem from case information stored in a database in advance, and searches for a case corresponding to the input problem as a solution candidate. The present invention relates to a case search system, and particularly to a case search system and a search method suitable for efficiently developing and maintaining a system.
【0002】[0002]
【従来の技術】入力された問題の解を、データベースに
格納されている事例情報から求める推論システムおよび
事例検索システムにおいては、如何に入力問題に類似し
た事例情報を検索するかが重要である。ここで、事例情
報とは、問題を表すデータとその問題の解答あるいは解
法を表すデータからなるデータである。そして、事例情
報の一つの利用目的は、事例検索システムが、現在解決
したい問題に類似した問題の解決事例(類似例)を検索
し、利用者が、そこでの解答あるいは解法を参考にする
ことである。もう一つの利用目的は、事例検索システム
が検索した類似例を利用して、推論システムが、さら
に、類似例の修正を行い、現在の問題の解を求めること
である。このように、事例情報の利用における技術課題
は、蓄積された複数の事例の中から、現在の問題に対す
る類似例を、効率良く検索するシステムを開発すること
である。2. Description of the Related Art In an inference system and a case retrieval system for finding a solution to an input problem from case information stored in a database, it is important how to retrieve case information similar to an input problem. Here, the case information is data composed of data representing a problem and data representing a solution or solution to the problem. One purpose of using case information is that the case search system searches for a solution case (similar example) of a problem similar to the problem currently being solved, and the user refers to the answer or solution there. is there. Another purpose of use is that the inference system further uses the similar example searched by the case search system to correct the similar example and find a solution to the current problem. As described above, a technical problem in using the case information is to develop a system that efficiently searches for a similar example to the current problem from a plurality of accumulated cases.
【0003】従来の類似例の検索技術には、例えば、
「アメリカン アソシエイション フォー アーティフ
ィシャル インテリジェンス 論文集」(Procee
dings of the Amerian Asso
ciation for Artificial In
telligence)(1986年)の第267頁か
ら第271頁において論じられている。そこでは、料理
の計画立案に関し、現在の料理と類似した料理の計画事
例を検索している。そのために、入力問題、および、事
例の問題を、達成したい目的や、守るべき制約、問題解
決時の状況などの属性の集合で表す。例えば、採用した
い料理法、用いたい材料、避けたい失敗などの属性によ
り問題を表す。そして、以下の類似性定義を用いて類似
例を選択する。尚、類似例の選択に用いる類似度の大き
さを、距離で表す場合も有り、このような場合には、距
離の小さいものを、類似度の大きいものとする。 (a)属性毎の類似性の定義:属性の分類階層を用い
て、まず、同じ属性、次に、一段上の属性が等しいよう
な二つの属性(兄弟となる属性)、さらに、二段上の属
性が等しいような二つの属性(従兄弟となる属性)など
の順で距離が小さい、すなわち、類似度が大きいと定義
する。 (b)属性の重要性の定義:属性間の重要性の順序を表
す。 (c)類似例の定義:入力問題に対して最も類似した事
例とは、最も重要な属性に関して、最も類似した問題を
含む事例である。そのような事例が複数ある場合には、
それらの内で、次に重要な属性に関して最も類似した問
題を含む事例が、最も類似した事例である。さらに、そ
のような事例が複数ある場合には、その次に重要な属性
に関して比較する。同様な比較を、事例が一つになるま
で続けた時に、最後に残った事例が最も類似した事例で
ある。[0003] Conventional search techniques of similar examples include, for example,
"American Association for Artificial Intelligence Proceedings" (Procee
dings of the American Asso
citation for Artificial In
tellingence (1986) at pages 267-271. There, a search is made for a case example of a dish similar to the current dish with respect to the planning of the dish. For this purpose, the input problem and the case problem are represented by a set of attributes such as a goal to be achieved, constraints to be observed, and a situation at the time of solving the problem. For example, the problem is represented by attributes such as a cooking method to be adopted, ingredients to be used, and mistakes to be avoided. Then, a similar example is selected using the following similarity definition. It should be noted that the magnitude of the similarity used for selecting a similar example may be represented by a distance, and in such a case, the one having a small distance is regarded as having a large similarity. (A) Definition of similarity for each attribute: First, using the attribute hierarchy, the same attribute, then two attributes (equivalent to siblings) whose upper-level attribute is equal, and two-level higher Are defined as having smaller distances in the order of two attributes having the same attribute (i.e., cousin attributes), that is, having a higher similarity. (B) Definition of importance of attributes: Indicates the order of importance between attributes. (C) Definition of similar example: The case most similar to the input problem is a case including the most similar problem with respect to the most important attribute. If there are multiple such cases,
Among them, the case containing the most similar problem with the next most important attribute is the most similar case. Further, when there are a plurality of such cases, the comparison is made on the next most important attribute. When the same comparison is continued until the number of cases becomes one, the last remaining case is the most similar case.
【0004】しかし、このような類似例定義が、料理以
外のどのような適用分野においても最適であるとは限ら
ない。例えば、計算機室に中央処理装置や、コンソール
ディスプレイなどの機器を配置する問題を考える。この
ような場合には、類似例として、類似した部屋に対する
類似した機器の配置例を検索する。そして、例えば、部
屋の縦辺や横辺、および、配置したい個々の機器名によ
り、問題を表すものとする。上述の従来技術では、ま
ず、部屋の縦辺と横辺のどちらが重要か定義しなければ
ならない。今、「縦辺がより重要」と定義したとする。
そして、入力問題に比べて、縦辺は等しく横辺は全く異
なる事例(P1)と、縦辺も横辺もわずかに異なる事例
(P2)があるものとすると、上述の(c)より、事例
(P1)が、類似性のあるもの、すなわち、類似度の大
きいものとなる。これは、実際には、不適切な選択であ
る。しかし、反対に、「横辺がより重要」と定義して
も、同様の不都合が生じる。すなわち、横辺は等しい
が、縦辺は全く異なる事例(P3)が、横辺も縦辺もわ
ずかに異なる事例(P2)よりも優先される。[0004] However, such a similar example definition is not always optimal in all applications other than cooking. For example, consider a problem of disposing devices such as a central processing unit and a console display in a computer room. In such a case, as a similar example, an arrangement example of similar devices in a similar room is searched. Then, for example, the problem is represented by the vertical and horizontal sides of the room and the names of the individual devices to be arranged. In the above prior art, first, it is necessary to define which of the vertical side and the horizontal side of the room is important. Suppose now that "vertical side is more important".
Then, as compared with the input problem, the vertical side is equally horizontal side is entirely different case (P 1), the vertical side is also the transverse edges are also intended to slightly have different cases (P 2), from (c) above , Case (P 1 ) has similarity, that is, a case with a high degree of similarity. This is, in fact, an inappropriate choice. However, conversely, the same inconvenience arises even if "horizontal side is more important". That is, a case (P 3 ) in which the horizontal sides are equal but the vertical sides are completely different is given priority over a case (P 2 ) in which the horizontal and vertical sides are slightly different.
【0005】また、従来の類似例を検索するシステム、
すなわち、事例検索システムでは、システムの内で、汎
用的な部分と、それぞれの分野に依存する部分とが明確
に分離されていない。そのために、それぞれの分野毎
に、それぞれ異なるシステムが構築されている。A conventional system for searching for similar examples,
That is, in the case search system, a general-purpose part and a part depending on each field are not clearly separated in the system. For this purpose, different systems are constructed for each field.
【0006】このように、従来の事例検索システムにお
ける類似性の定義は汎用性に欠けており、しかも、シス
テムの内で、汎用的な部分と分野依存の部分が明確に分
離されていなかった。その結果、事例検索システムを開
発する場合、分野毎にシステムを作り直す必要があり、
システム開発の費用、人員、期間などの負荷が大きいと
いう問題があった。また、既存のシステムの類似例検索
機能を保守、最適化する場合にも、その費用、人員、期
間などの負荷が大きいという問題があった。As described above, the definition of similarity in the conventional case retrieval system lacks versatility, and furthermore, the general-purpose part and the field-dependent part in the system have not been clearly separated. As a result, when developing a case search system, it is necessary to rebuild the system for each field,
There has been a problem that the burden of system development costs, personnel, and time is large. In addition, there is also a problem that the cost, personnel, period, and the like are heavy when maintaining and optimizing the similar example search function of the existing system.
【0007】[0007]
【発明が解決しようとする課題】解決しようとする問題
点は、従来の事例検索システムは、汎用的な部分と分野
依存の部分が明確に分離されておらず、分野毎に、汎用
的な部分を含めたシステムを開発しなければならない点
である。本発明の目的は、これら従来技術の課題を解決
し、事例の検索手順を、全ての事例検索動作に共通な汎
用部分と、分野毎に異なる部分とに分離し、分離した分
野依存の部分の入替えのみで、それぞれの分野に対応し
た事例検索を可能とし、システムの開発、および、保守
に係わる負荷の大幅な軽減を可能とする事例検索システ
ムおよびその検索方法を提供することである。The problem to be solved is that in the conventional case retrieval system, a general-purpose part and a field-dependent part are not clearly separated, and a general-purpose part is used for each field. It is necessary to develop a system including An object of the present invention is to solve these problems of the prior art, and separate a case search procedure into a general part common to all case search operations and a different part for each field. It is an object of the present invention to provide a case search system and a search method thereof that enable case searches corresponding to respective fields only by replacement, and that can greatly reduce the load related to system development and maintenance.
【0008】[0008]
【課題を解決するための手段】上記目的を達成するた
め、本発明の事例検索システムは、従来の類似例検索
が、いずれも、一般的な枠組みで、類似性定義の内容を
分野毎に記述することにより実現できることに着目し、
(1)予め、問題を表わすデータとこの問題に対する解
を表わすデータとからなる事例情報を一つ以上記憶する
事例ベースと、具備した入力装置を介して入力された問
題に類似する問題を含む事例情報を、予め具備した記憶
部に記憶した手順に基づき、事例ベースから検索する事
例検索部とを有する事例検索システムにおいて、記憶部
に記憶する事例検索の手順の内で、事例ベースに記憶す
る事例情報の分野に依存する分野別の検索手順を記憶す
る分野依存手順記憶部を設け、記憶部には、事例ベース
に記憶する事例情報の分野に依存しない汎用の検索手順
のみを記憶し、事例ベースの変更時には、分野依存手順
記憶部に記憶する分野別の検索手順のみを変更すること
を特徴とする。また、(2)上記(1)に記載の事例検
索システムにおいて、分野依存手順記憶部に記憶する分
野別の検索手順は、事例検索部による事例ベースに記憶
されたそれぞれの事例情報の問題の入力問題に対する類
似度を算出する類似度算出手順からなることを特徴とす
る。また、(3)上記(1)、もしくは、(2)のいず
れかに記載の事例検索システムにおいて、入力問題と、
この入力問題に対応して、事例検索部が、分野依存手順
記憶部を用いて検索した事例情報とに基づき推論を行な
い、入力問題に対する解を求める事例利用部を設けたこ
とを特徴とする。また(4)上記(1)から(3)のい
ずれかに記載の事例検索システムの事例検索方法であ
り、入力問題、および、事例ベースに記憶される事例情
報の問題を、属性の集合、もしくは、属性とこの属性の
値との対である属性対の集合の少なくとも一方を含んで
表し、分野依存手順記憶部に記憶する入力問題に対する
分野別の検索手順は、属性毎の類似度、もしくは、属性
対毎の類似度の少なくとも一方を含む部分毎の類似度の
算出手順からなり、事例検索部は、属性毎の類似度の算
出手順、もしくは、属性対毎の類似度の算出手順の少な
くとも一方の算出手順を用いて、入力問題と事例情報の
問題との部分毎の類似度の算出を行なうことを特徴とす
る。また、(5)上記(4)に記載の事例検索システム
の事例検索方法において、事例検索部で算出した入力問
題と事例情報の問題との部分毎の類似度を組み合わせ
て、入力問題に対する事例情報の問題の全体としての類
似度を算出する全体類似度算出手順を、分野依存手順記
憶部に記憶し、事例検索部は、この全体類似度算出手順
を用いて、入力問題と事例情報の問題との全体としての
類似度を求め、この求めた類似度に基づき、入力問題に
対する事例ベースからの事例を選択することを特徴とす
る。In order to achieve the above object, the case search system according to the present invention uses a general framework to describe the contents of the similarity definition for each field in a conventional similar example search. Focus on what can be achieved by doing
(1) A case base storing at least one case information composed of data representing a problem and data representing a solution to the problem in advance, and a case including a problem similar to a problem input via an input device provided. In a case search system having a case search unit for searching information from a case base based on a procedure stored in a storage unit provided in advance, a case stored in the case base in the case search procedure stored in the storage unit A field-dependent procedure storage unit that stores a search procedure for each field that depends on the field of information is provided, and the storage unit stores only a general-purpose search procedure that does not depend on the field of case information that is stored in the case base. Is changed, only the search procedure for each field stored in the field-dependent procedure storage section is changed. (2) In the case search system according to the above (1), the search procedure for each field stored in the field-dependent procedure storage unit is performed by inputting a problem of each case information stored in the case base by the case search unit. It is characterized by comprising a similarity calculation procedure for calculating a similarity to a problem. (3) In the case search system according to any one of the above (1) and (2),
In response to this input problem, a case search unit is provided which makes an inference based on the case information retrieved using the field-dependent procedure storage unit and obtains a solution to the input problem. (4) The case search method of the case search system according to any one of (1) to (3), wherein the input problem and the problem of the case information stored in the case base are classified into a set of attributes or , And includes at least one of a set of attribute pairs, which are pairs of attributes and values of the attributes. The search procedure for each field for the input problem stored in the field-dependent procedure storage unit is a similarity for each attribute, or The case search unit includes at least one of a procedure for calculating a similarity for each attribute and a procedure for calculating a similarity for each attribute pair. The similarity calculation for each part of the input problem and the problem of the case information is performed using the calculation procedure of (1). (5) In the case search method of the case search system according to (4), the similarity of each part between the input problem calculated by the case search unit and the problem of the case information is combined, and the case information for the input problem is combined. The overall similarity calculation procedure for calculating the overall similarity of the problem is stored in the field-dependent procedure storage unit, and the case search unit uses the overall similarity calculation procedure to determine the input problem and the case information problem. Is characterized in that a similarity as a whole is obtained, and a case from a case base for the input problem is selected based on the obtained similarity.
【0009】[0009]
【作用】本発明においては、事例検索部は、部分類似度
算出手順を用いて、入力問題と事例情報の問題の属性あ
るいは属性対毎の類似度を算出し、そして、全体類似度
算出手順を用いて、このようにして算出した属性あるい
は属性対毎の類似度から、入力問題と事例の問題の全体
としての類似度を算出し、この全体としての類似度に基
づいて事例を検索する。このように、事例の検索処理に
係わる手順を、汎用的な部分、すなわち、事例検索部の
動作に係わる手順と、分野に依存する部分、すなわち、
分野依存手順記憶部に記憶する部分類似度算出手順や全
体類似度算出手順などとに分離することにより、部分類
似度算出手順や全体類似度算出手順などを分野毎に記述
すれば、事例検索部の動作に係わる汎用な検索手順を用
いて、それぞれの分野に適した事例検索システムを構築
することができる。In the present invention, the case retrieval section calculates the similarity of each of the input problem and the problem of the case information for each attribute or attribute pair by using the partial similarity calculation procedure, and executes the overall similarity calculation procedure. Then, the similarity of the input problem and the problem of the case as a whole is calculated from the attribute or the similarity of each attribute pair calculated as described above, and the case is searched based on the overall similarity. As described above, the procedure relating to the case retrieval process is divided into a general part, that is, a procedure relating to the operation of the case retrieval unit, and a field-dependent part, namely,
By separating the partial similarity calculation procedure and the overall similarity calculation procedure stored in the field-dependent procedure storage unit into the partial similarity calculation procedure and the overall similarity calculation procedure, the case search unit can be described. A case search system suitable for each field can be constructed by using a general-purpose search procedure relating to the operation of (1).
【0010】[0010]
【実施例】以下、本発明の実施例を、図面により詳細に
説明する。図1は、本発明を施した事例検索システムの
本発明に係わる構成の第1の実施例を示すブロック図で
ある。本実施例の事例検索システムは、入力された問題
に類似する事例を、複数個検索し、この複数個の事例に
基づき、入力問題の解を出力するものであり、操作者か
らの操作内容などを入力する入力装置1と、システムの
処理結果などを表示出力する表示装置2と、本発明に係
わり、入力問題に対する事例の検索処理および解の決定
処理を行なう事例検索装置3と、事例情報などを格納す
る記憶装置4により構成されている。入力装置1は、事
例情報や、本発明に係わる部分類似度算出手順と全体類
似度算出手順、および、問題を入力して、事例検索装置
3に渡す。また、出力装置2は、事例検索装置3から、
問題の解答などを受け取り、出力する。事例検索装置3
は、本発明の事例の検索処理を行なう事例検索処理部
5、入力装置1などの外部装置とのデータの入出力処理
を行なう入出力処理部6、検索された複数の事例を用い
て目的の解を決定する事例利用処理部7、そして、これ
ら事例検索処理部5、入出力処理部6、および、事例利
用処理部7のそれぞれの動作を制御して事例検索装置3
の全体動作を制御する制御処理部8からなる。また、記
憶装置4は、予め、問題とその解とからなる事例情報を
格納する事例ベース9と、本発明に係わる部分類似度算
出手順記憶部10、および、全体類似度算出手順記憶部
11からなる。Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram showing a first embodiment of a configuration according to the present invention of a case search system according to the present invention. The case search system according to the present embodiment searches for a plurality of cases similar to an input problem, and outputs a solution to the input problem based on the plurality of cases. Input device 1, a display device 2 for displaying and outputting a processing result of the system, a case searching device 3 for performing a case searching process and a solution determining process for an input problem according to the present invention, case information, etc. Is stored in the storage device 4 for storing the information. The input device 1 inputs case information, a partial similarity calculation procedure and an overall similarity calculation procedure according to the present invention, and a problem, and passes them to the case search device 3. In addition, the output device 2 outputs
Receives and outputs answers to questions. Case search device 3
Is a case search processing unit 5 for performing case search processing of the present invention, an input / output processing unit 6 for performing data input / output processing with an external device such as the input device 1, and a target search operation using a plurality of searched cases. The case use processing unit 7 that determines a solution, and controls the operations of the case search processing unit 5, the input / output processing unit 6, and the case use processing unit 7 to control the case search device 3.
Is composed of a control processing unit 8 for controlling the overall operation of. In addition, the storage device 4 stores in advance a case base 9 storing case information including a problem and its solution, a partial similarity calculation procedure storage unit 10 according to the present invention, and an overall similarity calculation procedure storage unit 11. Become.
【0011】本実施例の事例検索システムは、従来の類
似例検索が、いずれも、一般的な枠組みで、類似性定義
の内容を分野毎に記述することにより実現できることに
着目して構成されている。例えば、従来の技術であり、
情報処理学会論文誌第32巻第5号(1991年)第6
26頁から第634頁で論じられている計算機室配置問
題における類似例検索技術や、ケースベーストリーズニ
ング ワークショップ 論文集(1988年)(Cas
e−based Reasoning Worksho
p(1988))の第21頁から第30頁で論じられて
いる国際紛争調停における類似例検索技術、さらに、情
報処理学会全国大会論文集第2巻(1991年)の第5
9頁から62頁で論じられているFortranプログ
ラムの最適化における類似例検索技術、そして、情報処
理学会全国大会論文集第2巻(1991年)の第213
頁から214頁で論じられているプロジェクトの納期予
測における類似例検索は、いずれも、以下の(A)〜
(C)からなる一般的な枠組みにおいて、類似性定義の
内容を分野毎に記述することにより実現できる。尚、類
似度を距離で表す場合には、距離の小さいものが、類似
度の大きなものとなる。 (A)入力問題および事例の問題の表現 問題を、属性の集合、および、属性とその値の対の集合
の一方、あるいは、両方により表す。(尚、属性の値を
属性値、属性と属性値の対を属性対と呼ぶことにする) (B)類似性の定義 以下の二種類の定義により表す。 (B−1)部分類似度算出手順 二つの属性、あるいは、二つの属性対の間の類似度の算
出手順、もしくは、それらの類似度の定義。 (B−2)全体類似度算出手順 入力問題と事例の問題の、それぞれの属性および属性対
毎の類似度から、全体としての類似度を算出する手順。 (C)類似例検索処理 (C−1)部分類似度算出手順を用いて、入力問題と事
例の問題の間の属性および属性対毎の類似度を求める。 (C−2)全体類似度算出手順を用いて、属性および属
性対毎の類似度から、入力問題と事例の問題の全体とし
ての類似度を求める。 (C−3)上述の全体としての類似度に基づいて、事例
を選択する。The case search system according to the present embodiment is configured by focusing on the fact that conventional similar example searches can be realized by describing the contents of similarity definitions for each field in a general framework. I have. For example, conventional technology,
IPSJ Transactions on Volumes 32, 5 (1991), 6
A similar example search technique in the computer room layout problem discussed on pages 26 to 634, and a case-based processing workshop, Proceedings (1988) (Cas
e-based Reasoning Worksho
p (1988)) on page 21 to page 30 and a similar example search technique in international dispute mediation, as well as the IPSJ National Convention, Vol. 2 (1991), Vol.
Similar example search technology in Fortran program optimization discussed on pages 9 to 62, and 213 of IPSJ Annual Conference, Vol. 2 (1991).
The search for similar examples in the project deadline forecasting discussed on pages 214 through 214, all of which are as follows:
In the general framework of (C), this can be realized by describing the contents of the similarity definition for each field. When the similarity is represented by a distance, the one having a small distance has the large similarity. (A) Expression of input problem and case problem A problem is represented by one or both of a set of attributes and a set of pairs of attributes and their values. (Note that the value of an attribute is referred to as an attribute value, and a pair of an attribute and an attribute value is referred to as an attribute pair.) (B) Definition of Similarity This is represented by the following two types of definitions. (B-1) Partial Similarity Calculation Procedure A procedure for calculating a similarity between two attributes or two attribute pairs, or a definition of the similarity. (B-2) Overall Similarity Calculation Procedure A procedure for calculating the overall similarity from the attributes of the input problem and the case problem, and the similarity of each attribute pair. (C) Similarity Example Retrieval Process (C-1) The attribute between the input problem and the case problem is calculated using the partial similarity calculation procedure, and the similarity for each attribute pair is obtained. (C-2) Using the overall similarity calculation procedure, the overall similarity between the input problem and the case problem is determined from the similarity for each attribute and each attribute pair. (C-3) A case is selected based on the overall similarity described above.
【0012】以下、このような(A)〜(C)からなる
一般的な枠組みを用いて、具体的なシステムの構成およ
び動作例を説明する。まず、従来の技術として引用した
アメリカン アソシエイション フォー アーティフィ
シャル インテリジェンス 論文集(1986年)の第
267頁から第271頁が、上述の(A)〜(C)から
なる一般的な枠組みにあてはまることを示す。類似性定
義を以下のように記述する。 (B−1)部分類似度算出手順 属性の分類階層を用い、同じ属性間の距離を「0」、兄
弟を「1」、従兄弟を「2」などとして距離(類似度)
を定義する。 (B−2)全体類似度算出手順 上述の属性間の距離の最大値をNとする。尚、このN
は、属性の分類階層から容易に決定できる。ここで、最
も重要でない属性の重みを「1」、次に重要でない属性
の重みを「N+1」、その次に重要でない属性の重みを
「(N+1)2」、以下、順に(N+1)倍の重みを属
性に付ける。そして、全体の類似度を、属性間の類似度
の重み付けの総和とする。上述の(B−1)により、従
来技術の(a)で述べた属性間の類似性の定義と等価な
距離が定義できる。また、上述の(B−2)の属性の重
みが、属性間の距離の最大値より大きいので、二つの事
例「C1」、「C2」の内で、一方の事例「C1」が、
ある属性に関して入力問題に、より類似していれば、
「C2」がそれより重要でない全ての属性に関して、よ
り類似していても、「C1」が優先される。そこで、従
来技術で述べた(b)、および、(c)と同様に、類似
例が選択される。Hereinafter, a specific system configuration and an example of operation will be described using the general framework including (A) to (C). First, pages 267 to 271 of the American Association for Artificial Intelligence Transactions (1986) cited as the prior art apply to the general framework consisting of the above (A) to (C). Show. The similarity definition is described as follows. (B-1) Partial similarity calculation procedure Distances (similarity) between the same attribute are set as “0”, siblings are set to “1”, cousins are set to “2”, etc., using the attribute hierarchy
Is defined. (B-2) Overall Similarity Calculation Procedure N is the maximum value of the distance between the above attributes. In addition, this N
Can be easily determined from the attribute classification hierarchy. Here, the weight of the least important attribute is “1”, the weight of the next least important attribute is “N + 1”, the weight of the next least important attribute is “(N + 1) 2 ”, and so on. Assign weights to attributes. Then, the overall similarity is defined as the sum of the weights of the similarity between the attributes. By the above (B-1), a distance equivalent to the definition of the similarity between the attributes described in (a) of the related art can be defined. Also, since the weight of the attribute of (B-2) is larger than the maximum value of the distance between the attributes, one of the two cases “C1” and “C2” is
If the attribute is more similar to the input question,
Even though "C2" is more similar for all less important attributes, "C1" has priority. Thus, similar examples are selected as in (b) and (c) described in the related art.
【0013】次に、前述の情報処理学会論文誌第32巻
第5号(1991年)の第626頁から第634頁で論
じられている計算機室配置問題における類似例検索も、
上述の枠組みにあてはまる。この場合、「部屋縦辺、1
0」、「部屋横辺、15」のように、部屋を表す属性対
(属性=部屋縦辺と、その値=10との対)と、CP
U、CDのように、配置したい機器を表す属性とにより
問題を表す。そして、類似性定義を以下のように記述す
る。 (B−1)部分類似度算出手順 機器を表す属性の間の類似性は、従来の技術で述べた分
類階層による。例えば、同じ機器間の距離を「0」、兄
弟となる機器の距離を「1」などとして定義する。ま
た、属性値間の距離は、数値の差の絶対値とする。 (B−2)全体類似度算出手順 属性毎、および、属性値毎の距離の重み付けの総和とす
る。この重みを適当に調節すれば、従来の技術で述べた
問題が解決できる。例えば、部屋の縦と横の重みを等し
くすることにより、入力問題に比べて縦辺も横辺もわず
かに異なる事例が、縦辺が等しく横辺が全く異なる事
例、もしくは、横辺が等しく縦辺が全く異なる事例のい
ずれよりも優先されるようにすることができる。Next, a similar example search in the computer room layout problem discussed on pages 626 to 634 of the above-mentioned Transactions of the Information Processing Society of Japan, Vol. 32, No. 5, (1991),
The above framework applies. In this case, "room vertical, 1
An attribute pair (attribute = vertical side of the room and its value = 10) such as “0”, “room side, 15”, and CP
The problem is represented by an attribute such as U or CD indicating the device to be arranged. Then, the similarity definition is described as follows. (B-1) Partial Similarity Calculation Procedure The similarity between attributes representing devices is based on the classification hierarchy described in the related art. For example, the distance between the same devices is defined as “0”, and the distance between sibling devices is defined as “1”. The distance between attribute values is the absolute value of the difference between numerical values. (B-2) Overall Similarity Calculation Procedure The sum of the distance weights for each attribute and for each attribute value. By properly adjusting the weight, the problem described in the prior art can be solved. For example, by equalizing the vertical and horizontal weights of a room, cases where the vertical and horizontal sides are slightly different from the input problem, cases where the vertical sides are completely different and the horizontal sides are completely different, or where the horizontal sides are equally vertical Edges can be given priority over any of the completely different cases.
【0014】このように、従来の事例検索が、一般的な
枠組みで、類似性定義の内容を分野毎に記述することに
より実現できることに着目して、本実施例の事例検索シ
ステムにおいては、入力問題および事例の問題を、属性
の集合や、属性とその値からなる属性対の集合により表
し、そして、属性や属性対毎の類似度の算出手順(部分
類似度算出手順)を入力して、記憶し、かつ、属性や属
性対毎の類似度から、入力問題と事例の問題の全体とし
ての類似度を算出する手順(全体類似度算出手順)を入
力して、記憶する。このように、事例検索手順を、制御
処理部8や事例検索処理部5などの事例検索に係わる汎
用的な手順から、事例ベース9に依存する手順(部分類
似度算出手順と全体類似度算出手順)に分離することに
より、本実施例の事例検索システムでは、それぞれの分
野毎のシステム開発、および、保守を、容易に行なうこ
とができる。As described above, focusing on the fact that a conventional case search can be realized by describing the contents of the similarity definition for each field in a general framework, the case search system of the present embodiment The problem and the problem of the case are represented by a set of attributes or a set of attribute pairs consisting of attributes and their values, and a procedure for calculating the similarity of each attribute or attribute pair (partial similarity calculation procedure) is input. A procedure (overall similarity calculation procedure) for calculating the overall similarity of the input problem and the case problem from the attribute and the similarity of each attribute pair is input and stored. As described above, the case search procedure is changed from a general procedure related to case search such as the control processing unit 8 or the case search processing unit 5 to a procedure depending on the case base 9 (a partial similarity calculation procedure and an overall similarity calculation procedure). ), The case search system of this embodiment can easily perform system development and maintenance for each field.
【0015】以下、事例検索装置3における各処理部の
動作を説明する。尚、ここで、入力装置1から入力され
る問題は、属性の集合と属性対の集合の少なくとも一方
により表されている。また、事例ベース9に格納される
事例は、問題とその解答から成る。そして、部分類似度
算出手順記憶部10に記憶される部分類似度算出手順
は、入力問題と事例の属性、あるいは、属性対毎の距離
(類似度)を求めるための手順であり、また、全体類似
度算出手順記憶部11に記憶される全体類似度算出手順
は、属性あるいは属性対毎の距離から、入力問題と事例
の全体としての距離(類似度)を求めるための手順であ
る。これらの部分類似度算出手順および全体類似度算出
手順は、プログラム言語により記述された手続きおよび
参照データであり、その実行により、属性、属性対毎お
よび全体としての距離が算出されるものである。The operation of each processing unit in the case search device 3 will be described below. The problem input from the input device 1 is represented by at least one of a set of attributes and a set of attribute pairs. The cases stored in the case base 9 are composed of questions and their answers. The partial similarity calculation procedure stored in the partial similarity calculation procedure storage unit 10 is a procedure for calculating the attributes of the input problem and the case or the distance (similarity) for each attribute pair. The overall similarity calculation procedure stored in the similarity calculation procedure storage unit 11 is a procedure for obtaining the distance (similarity) of the input problem and the case as a whole from the distance of each attribute or attribute pair. The partial similarity calculation procedure and the overall similarity calculation procedure are procedures and reference data described in a programming language, and by execution thereof, an attribute, an attribute pair and a distance as a whole are calculated.
【0016】入出力処理部6は、入力装置1からの事例
情報、部分類似度算出手順、全体類似度算出手順を入力
して、それぞれ、記憶装置4の事例ベース9、部分類似
度算出手順記憶部10、全体類似度算出手順記憶部11
に格納する。また、入力装置1からの問題を入力して、
制御処理部8に渡し、さらに、問題の解答を、制御処理
部8から受け取って、表示装置2に出力する。制御処理
部8は、入出力処理部6から入力問題を受け取り、これ
を事例検索処理部5に渡し、事例検索処理部5から上述
の問題の類似例を受け取る。そして、入力問題および類
似例を事例利用処理部7に渡し、また、事例利用処理部
7から入力問題の解答を受け取り、この解答を入出力処
理部6に渡す。事例検索処理部5は、制御処理部8から
入力問題を受け取り、事例ベース9から事例を一つずつ
取り出し、それぞれの事例に対して、以下の処理を行な
い、受け取った入力問題との距離を求め、距離が最小と
なる事例を制御処理に渡す。すなわち、部分類似度算出
手順記憶部10に記憶された部分類似度算出手順を実行
することにより、入力問題と事例の問題の属性毎の距離
を算出し、また、全体類似度算出手順記憶部11に記憶
された全体類似度算出手順を実行することにより、属性
毎の類似度から、入力問題と事例の問題の全体としての
距離を算出する。事例利用処理部7は、制御処理部8か
ら入力問題と類似例を受け取り、類似例の解に基づい
て、入力問題の解を求め、これを、制御処理部8に返
す。この処理は、例えば、アメリカン アソシエイショ
ン フォー アーティフィシャル インテリジェンス
論文集(1986年)の第267頁から第271頁(P
roceedings of the Amerian
Association for Artifici
al Intelligence(1986))におい
て論じられている手順を用いる。記憶装置4において
は、事例ベース9は、事例情報を入出力処理部6から受
け取り、これを記憶し、事例検索処理部5の読み出しに
応じて、これを同処理に渡す。部分類似度算出手順記憶
部10は、部分類似度算出手順を入出力処理部6から受
け取り、これを記憶し、事例検索処理部5の読み出しに
応じて、これを同処理に渡す。全体類似度算出手順記憶
部11は、全体類似度算出手順を入出力処理部6から受
け取り、これを記憶し、事例検索処理部5の読み出しに
応じて、これを同処理に渡す。このように、本実施例の
事例検索システムでは、各処理部の動作に用いる汎用的
な検索手順から、事例ベース9に依存する手順(部分類
似度算出手順と全体類似度算出手順)を分離する。The input / output processing unit 6 inputs the case information, the partial similarity calculating procedure, and the overall similarity calculating procedure from the input device 1, and stores the case base 9 and the partial similarity calculating procedure in the storage device 4, respectively. Unit 10, overall similarity calculation procedure storage unit 11
To be stored. Also, input the question from the input device 1,
The answer is passed to the control processing unit 8, and the answer to the question is received from the control processing unit 8 and output to the display device 2. The control processing unit 8 receives the input problem from the input / output processing unit 6, passes it to the case search processing unit 5, and receives a similar example of the above-described problem from the case search processing unit 5. Then, the input problem and the similar example are transferred to the case use processing unit 7, the answer to the input problem is received from the case use processing unit 7, and the answer is transferred to the input / output processing unit 6. The case search processing unit 5 receives the input problem from the control processing unit 8, takes out the cases one by one from the case base 9, performs the following processing for each case, and calculates the distance from the received input problem. Then, the case where the distance becomes the minimum is passed to the control processing. That is, by executing the partial similarity calculation procedure stored in the partial similarity calculation procedure storage unit 10, the distance for each attribute of the input problem and the case problem is calculated, and the overall similarity calculation procedure storage unit 11 is calculated. Then, the overall distance between the input problem and the case problem is calculated from the similarity for each attribute by executing the overall similarity calculation procedure stored in the. The case use processing unit 7 receives the input problem and the similar example from the control processing unit 8, obtains a solution to the input problem based on the solution of the similar example, and returns the solution to the control processing unit 8. This processing is performed, for example, by using the American Association for Artificial Intelligence.
Transactions (1986), pp. 267-271 (P
rosededs of the American
Association for Artifici
al Intelligence (1986)). In the storage device 4, the case base 9 receives the case information from the input / output processing unit 6, stores the case information, and passes the case information to the same process in response to the reading of the case search processing unit 5. The partial similarity calculation procedure storage unit 10 receives the partial similarity calculation procedure from the input / output processing unit 6, stores the procedure, and passes the procedure to the same processing in response to the reading by the case search processing unit 5. The overall similarity calculation procedure storage unit 11 receives the overall similarity calculation procedure from the input / output processing unit 6, stores the procedure, and passes it to the same processing in response to reading by the case search processing unit 5. As described above, in the case search system according to the present embodiment, the procedure (partial similarity calculation procedure and overall similarity calculation procedure) depending on the case base 9 is separated from the general-purpose search procedure used for the operation of each processing unit. .
【0017】以下、事例検索処理部5の本発明に係わる
動作に関して、図2を用いて詳細に説明する。図2は、
図1における事例検索処理部の本発明に係わる処理動作
の一実施例を示すフローチャートである。まず、図1の
部分類似度算出手順記憶部10と全体類似度算出手順記
憶部11から、部分類似度算出手順および全体類似度算
出手順を読み出し、これを機械語など実行可能形式に変
換して、メインメモリに記憶する(ステップ101)。
そして、図1の事例ベース9の最初の事例を取り出し、
類似例の候補とする(ステップ102)。次に、部分類
似度算出手順を実行することにより、取り出した類似例
の候補と入力問題の属性および属性対毎の距離を算出す
る(ステップ103)。そして、全体距離算出手順を実
行することにより、候補と入力問題の全体としての距離
を算出する(ステップ104)。図1における事例ベー
ス9の全ての事例に対しての処理を行なったか否かを判
定し(ステップ105)、全ての事例を処理した場合に
は、残った候補を類似例として、図1の制御処理302
に返す(ステップ106)。処理していない場合には、
以下の処理を行なう。図1の事例ベース9からの次の事
例を取り出し、次候補として(ステップ107)、部分
類似度算出手順を実行し、次候補と入力問題の属性毎の
距離を算出する(ステップ108)。さらに、全体類似
度算出手順を実行して、次候補と入力問題の全体として
の距離を算出する(ステップ109)。このようにして
算出した次候補と入力問題の全体距離が、前回に算出し
た候補と入力問題の全体距離よりも、小さいか否かを判
定する(ステップ110)。小さくない場合にはステッ
プ105に戻り、また、小さい場合には、次候補を新た
な候補とした後(ステップ111)、ステップ105に
戻る。このようにして、事例の検索処理を行なう。Hereinafter, the operation of the case search processing unit 5 according to the present invention will be described in detail with reference to FIG. FIG.
3 is a flowchart showing one embodiment of a processing operation according to the present invention of the case search processing unit in FIG. 1. First, the partial similarity calculation procedure and the overall similarity calculation procedure are read from the partial similarity calculation procedure storage unit 10 and the overall similarity calculation procedure storage unit 11 of FIG. 1, and are converted into an executable form such as a machine language. Are stored in the main memory (step 101).
Then, the first case of the case base 9 in FIG.
A candidate for a similar example is set (step 102). Next, by executing the partial similarity calculation procedure, the distance between the extracted candidate of the similar example, the attribute of the input question, and the attribute pair is calculated (step 103). Then, by executing the overall distance calculation procedure, the distance between the candidate and the input question as a whole is calculated (step 104). It is determined whether or not the processing has been performed on all the cases in the case base 9 in FIG. 1 (step 105). When all the cases have been processed, the remaining candidates are regarded as similar examples and the control of FIG. Process 302
(Step 106). If not,
The following processing is performed. The next case is taken out from the case base 9 of FIG. 1 and is taken as the next candidate (step 107), and a partial similarity calculation procedure is executed to calculate the distance between the next candidate and the attribute of the input question (step 108). Furthermore, the overall similarity calculation procedure is executed to calculate the distance between the next candidate and the input question as a whole (step 109). It is determined whether the total distance between the next candidate and the input question calculated in this way is smaller than the total distance between the previously calculated candidate and the input question (step 110). If it is not smaller, the process returns to step 105. If it is smaller, the next candidate is set as a new candidate (step 111), and the process returns to step 105. In this way, the case search process is performed.
【0018】次に、図3〜7を用いて、本検索処理方法
による類似例検索の実行例を説明する。尚、例題とし
て、計算機室に機器を配置する問題を考える。計算機室
は、形状が長方形で、出入り口が1ヶ所とする。尚、出
入り口のある辺およびその向いの辺を横辺と呼び、その
隣の辺を縦辺と呼ぶことにする。Next, an example of executing a similar example search by the present search processing method will be described with reference to FIGS. As an example, consider a problem of arranging devices in a computer room. The computer room has a rectangular shape and one entrance. In addition, the side with the entrance and the side opposite to it will be called a horizontal side, and the side next to it will be called a vertical side.
【0019】図3は、図1における事例ベースに記憶さ
れた事例データの一実施例を示す説明図である。本図に
おいて、31〜33は、それぞれ、一つの事例を表す事
例データである。尚、ここでは、説明を簡潔にするため
に、事例が3個の場合を考えるが、実用的なシステムで
は、多数の事例を用いる。また、この事例データ31〜
33は、分かりやすくするために、テーブル形式で記述
しているが、実際には、C言語などのプログラム言語や
知識表現言語を用いて記述する。事例データ31〜33
の左辺は、各事例の問題であり、また、右辺は、問題に
対応する解である。例えば、事例データ31の左辺は、
縦辺が10m、横辺が15mで、出入り口が横辺の端か
ら9mにある部屋の中に、CPU(Central P
rocessing Unit、中央処理装置)、CD
(ConsoleDisplay、コンソールディスプ
レイ)、MDU(Magnetic DiskUni
t、磁気ディスク装置)、MTU(Magnetic
TapeUnit、磁気テープ装置)、CR(Card
Reader、カードリーダ)を配置する問題を表
す。右辺は、機器毎の配置結果であり、座標と方向によ
り表されている。FIG. 3 is an explanatory diagram showing an embodiment of the case data stored in the case base in FIG. In the figure, 31 to 33 are case data each representing one case. Here, for the sake of simplicity, the case of three cases is considered, but in a practical system, many cases are used. In addition, the case data 31 to
33 is described in a table format for easy understanding, but is actually described using a programming language such as C language or a knowledge expression language. Case data 31-33
Is the problem of each case, and the right side is the solution corresponding to the problem. For example, the left side of the case data 31 is
In a room where the vertical side is 10 m, the horizontal side is 15 m, and the entrance is 9 m from the end of the horizontal side, a CPU (Central P
processing Unit, central processing unit), CD
(Console Display, console display), MDU (Magnetic DiskUni)
t, magnetic disk drive), MTU (Magnetic)
TapeUnit, magnetic tape unit), CR (Card)
Reader, card reader). The right side is an arrangement result for each device, and is represented by coordinates and directions.
【0020】図4は、図1の部分類似度算出手順記憶部
に記憶された部分類似度算出手順の一実施例を示す説明
図である。本図において、41は、属性対(属性とその
値)毎の類似度算出手順を表す属性対類似度算出手順で
あり、図3における問題の(縦辺 11)など、部屋に
関する属性対毎に距離を定義している。42は、属性対
類似度算出手順41において、属性値すなわち部屋のサ
イズを表す数値の間の距離を定義する属性値定義であ
る。具体的には、数値の差の絶対値を距離とする。43
は、属性対「e」に関する入力問題と事例の距離を定義
する属性対距離定義である。44は、属性毎の類似度算
出手順を表す属性類似度算出手順であり、CPUなどの
機器毎に入力問題と事例の距離を定義している。この属
性類似度算出手続44は、後述の図5で示す機器の分類
階層に関するデータを用いる。45は、機器「e」の上
位ノードを定義する階層定義である。この階層定義45
では、機器「e」の上位ノードは、「e」そのもの、ま
たは、その親、祖父、・・・・と定義している。46
は、機器「e」に関する入力問題と事例の問題の距離を
定義する属性距離定義である。ここでは、機器「e」の
上位ノードであり、かつ、事例の問題の機器の上位ノー
ドでもあるノードの内で、最も下位のノードを「u」と
し、「e」と「u」の段差を、「e」に関する距離とす
る。尚、この部分類似度算出手順、および、以下で説明
するデータ、全体類似度算出手順は、説明を分かりやす
くするため、日本語や図で表現しているが、実際には、
C言語などのプログラム言語や知識表現言語により記述
する。FIG. 4 is an explanatory diagram showing an embodiment of the partial similarity calculating procedure stored in the partial similarity calculating procedure storage section of FIG. In this figure, reference numeral 41 denotes an attribute-similarity calculation procedure representing a similarity calculation procedure for each attribute pair (attribute and its value). For each attribute pair relating to a room, such as the problem (vertical side 11) in FIG. Defines the distance. Reference numeral 42 denotes an attribute value definition that defines a distance between attribute values, that is, numerical values representing a room size in the attribute-similarity calculation procedure 41. Specifically, the absolute value of the difference between the numerical values is set as the distance. 43
Is an attribute-to-distance definition that defines the distance between the input problem and the case for the attribute pair "e". Reference numeral 44 denotes an attribute similarity calculation procedure representing a similarity calculation procedure for each attribute, and defines a distance between an input problem and a case for each device such as a CPU. The attribute similarity calculation procedure 44 uses data relating to the device classification hierarchy shown in FIG. 5 described later. Reference numeral 45 denotes a hierarchy definition that defines an upper node of the device “e”. This hierarchy definition 45
, The upper node of the device “e” is defined as “e” itself or its parent, grandfather,. 46
Is an attribute distance definition that defines the distance between the input problem and the case problem for the device “e”. Here, among the nodes that are the upper nodes of the device “e” and the upper nodes of the device in question, the lowest node is “u”, and the level difference between “e” and “u” is , “E”. Note that the partial similarity calculation procedure, the data described below, and the overall similarity calculation procedure are expressed in Japanese and figures for easy understanding of the description.
It is described in a programming language such as C language or a knowledge expression language.
【0021】図5は、図4における属性類似度算出手続
で用いる属性の分類階層の一実施例を示す説明図であ
る。属性すなわち機器の分類階層の一例を示し、最上位
層としての機器51の下に、計算装置52、入出力機器
53、記憶装置54、操作機器55があり、また、計算
装置52にはCPU56、入出力機器53には入力機器
57と出力機器58、記憶装置54にはMDU59とM
TU60、操作機器55にはCD61が、さらに、入力
機器57にはFDD(Flexible Disk D
rive Unit)62とCR63、出力機器58に
はLP(Line Printer、ラインプリンタ)
64とLBP(Laser Beam Printe
r、レーザービームプリンタ)65がある。この分類階
層においては、例えば、FDD62の上位ノードが、F
DD62自身、入力機器57、入出力機器53、機器5
1であることを表している。FIG. 5 is an explanatory diagram showing an embodiment of an attribute classification hierarchy used in the attribute similarity calculation procedure in FIG. An example of an attribute, that is, an example of a device classification hierarchy is shown. Below the device 51 as the highest layer, there are a computing device 52, an input / output device 53, a storage device 54, and an operation device 55. The input / output device 53 has an input device 57 and an output device 58, and the storage device 54 has an MDU 59 and M
The TU 60, the operating device 55 includes a CD 61, and the input device 57 includes an FDD (Flexible Disk D).
live Unit) 62 and CR 63, and LP (Line Printer) for output device 58
64 and LBP (Laser Beam Print)
r, laser beam printer) 65. In this classification hierarchy, for example, an upper node of the FDD 62
DD 62 itself, input device 57, input / output device 53, device 5
1 is represented.
【0022】図6は、図1における全体類似度算出手順
記憶部に記憶された全体類似度算出手順の一実施例を示
す説明図である。本実施例の全体類似度算出手順66
は、属性の重みに関するデータを必要とし、全体類似度
算出手順66を用いる図1の事例検索処理部5は、属性
の重み67を参照しながら、事例検索を行なう。本実施
例においては、属性の重み、すなわち、縦辺の重みが2
であることを表している。FIG. 6 is an explanatory diagram showing an embodiment of the overall similarity calculation procedure stored in the overall similarity calculation procedure storage unit in FIG. Overall similarity calculation procedure 66 of the present embodiment
1 requires data on attribute weights, and the case search processing unit 5 in FIG. 1 using the overall similarity calculation procedure 66 performs a case search while referring to the attribute weights 67. In this embodiment, the weight of the attribute, that is, the weight of the vertical side is 2
It represents that.
【0023】図7は、図1における事例検索システムに
入力される問題の一実施例を示す説明図である。本実施
例の入力問題71は、縦辺が10m、横辺が15mで、
出入り口が横辺の端から10mにあるような部屋の中
に、CPU、CD、MDU、MTU、FDD、LPを配
置する問題を表す。以下、この入力問題71に対して、
図1の事例検索システムが、図3〜6の類似度算出手順
およびデータを用い、図2に示した処理動作を行ない、
図3の事例の中から、目的とする類似例を検索する動作
を説明する。FIG. 7 is an explanatory diagram showing an embodiment of a problem input to the case search system in FIG. The input problem 71 of the present embodiment is as follows: the vertical side is 10 m, the horizontal side is 15 m,
This represents a problem of arranging a CPU, a CD, an MDU, an MTU, an FDD, and an LP in a room where an entrance is located 10 m from an end of the side. Hereinafter, for this input problem 71,
The case search system of FIG. 1 performs the processing operation shown in FIG. 2 using the similarity calculation procedure and data of FIGS.
The operation of searching for a similar example of interest from the cases in FIG. 3 will be described.
【0024】図1の入出力処理部6が、図7に示す入力
問題71を入力し、図1の制御処理部8に渡す。図1の
制御処理部8は、この入力問題を、図1の事例検索処理
部5に渡す。図1の事例検索処理部5は、以下の処理に
より、図1の事例ベース9から類似例を検索する。ま
ず、図2のステップ101の処理に基づき、図1の部分
類似度算出手順記憶部10から、図4に示す部分類似度
算出手順および図5に示す分類階層を読み込み、これを
実行可能形式に変換して記憶する。また、図1の全体類
似度算出手順記憶部11から、図6に示す全体類似度算
出手順66と属性の重み67を読み込み、これを実行可
能形式に変換して記憶する。次に、図2のステップ10
2の処理に基づき、図1の事例ベース9に格納された図
3の事例の内から事例データ31を取り出し、これを類
似例の候補とする。図2のステップ103の処理に基づ
き、図4の部分類似度算出手順を実行することにより、
図7の入力問題71と図3の事例データ31の事例との
属性および属性対毎の距離を求める。まず、図7の入力
問題71の最初の要素(縦辺 10)が属性対であるの
で、図4の属性対類似度算出手順41に従って距離を求
める。すなわち、図3の事例データ31の左辺から属性
対(縦辺 10)を見出す。次に、見出した属性値(1
0)と、図7の入力問題71の属性値(10)との差の
絶対値を求める。ここでは、それぞれの属性値が「1
0」であり、絶対値は「0」となる。この値を、縦辺に
関する距離とする。同様にして、横辺、出入り口に関す
る距離は、それぞれ、「0」、「1」となる。The input / output processing unit 6 shown in FIG. 1 inputs an input question 71 shown in FIG. 7 and passes it to the control processing unit 8 shown in FIG. The control processing unit 8 in FIG. 1 passes this input problem to the case search processing unit 5 in FIG. The case search processing unit 5 of FIG. 1 searches for a similar example from the case base 9 of FIG. 1 by the following processing. First, based on the processing of step 101 in FIG. 2, the partial similarity calculation procedure shown in FIG. 4 and the classification hierarchy shown in FIG. 5 are read from the partial similarity calculation procedure storage unit 10 in FIG. Convert and store. Also, the overall similarity calculation procedure 66 and the attribute weight 67 shown in FIG. 6 are read from the overall similarity calculation procedure storage unit 11 in FIG. 1, and are converted into an executable form and stored. Next, step 10 in FIG.
Based on the process 2, the case data 31 is extracted from the cases in FIG. 3 stored in the case base 9 in FIG. 1 and is set as a candidate for a similar example. By executing the partial similarity calculation procedure in FIG. 4 based on the processing in step 103 in FIG. 2,
The attribute between the input problem 71 in FIG. 7 and the case in the case data 31 in FIG. 3 and the distance for each attribute pair are obtained. First, since the first element (vertical side 10) of the input question 71 in FIG. 7 is an attribute pair, a distance is obtained according to the attribute pair similarity calculation procedure 41 in FIG. That is, an attribute pair (vertical side 10) is found from the left side of the case data 31 in FIG. Next, the attribute value (1
0) and the attribute value (10) of the input question 71 in FIG. 7 is obtained. Here, each attribute value is “1”.
0 ", and the absolute value is" 0 ". This value is defined as the distance related to the vertical side. Similarly, the distances regarding the horizontal side and the entrance are “0” and “1”, respectively.
【0025】図7の入力問題71および図3の事例デー
タ31における次の要素CPUは、値を持たず、属性対
ではなく属性なので、図4の属性類似度算出手順44に
従い、図5の分類階層を参照して距離を求める。ここで
は、図3の事例データ31の左辺における問題がCPU
を含むので、図7の入力問題71の属性と、図3の事例
データ31の属性の両方に対する上位ノードは、CPU
そのものとなる。そこで、CPUに関する距離は「0」
となる。同様にして、CD、MDU、MTUに関する距
離は「0」となる。しかし、LPに関しては、図3の事
例データ31の問題がLPを含まず、CRを含むため、
図5の分類階層において、両方に対する上位ノードが入
出力機器53となり、距離は「2」となる。また、FD
Dに関しては、図3の事例データ31の問題がFDDを
含まず、CRを含むため、図5の分類階層において、両
方に対する上位ノードが入力機器57となり、距離は
「1」となる。以上の動作により、図3の事例データ3
1においては、図7の入力問題71の縦辺、横辺、出入
り口、CPU、CD、MDU、MTU、LP、FDDに
関する距離が、それぞれ、「0、0、1、0、0、0、
0、2、1」となる。Since the next element CPU in the input problem 71 of FIG. 7 and the case data 31 of FIG. 3 has no value and is not an attribute pair but an attribute, the CPU shown in FIG. Find the distance by referring to the hierarchy. Here, the problem on the left side of the case data 31 in FIG.
The upper nodes for both the attribute of the input question 71 in FIG. 7 and the attribute of the case data 31 in FIG.
It becomes itself. Therefore, the distance for the CPU is “0”
Becomes Similarly, the distance for CD, MDU, and MTU is “0”. However, regarding the LP, since the problem of the case data 31 in FIG. 3 does not include the LP but includes the CR,
In the classification hierarchy of FIG. 5, the upper node for both is the input / output device 53, and the distance is “2”. Also, FD
Regarding D, since the problem of the case data 31 in FIG. 3 does not include FDD but includes CR, in the classification hierarchy in FIG. 5, the upper node for both is the input device 57 and the distance is “1”. By the above operation, the case data 3 in FIG.
In FIG. 7, distances related to the vertical side, the horizontal side, the doorway, the CPU, the CD, the MDU, the MTU, the LP, and the FDD of the input problem 71 in FIG. 7 are “0, 0, 1, 0, 0, 0,
0, 2, 1 ".
【0026】さらに、図2のステップ104の処理に基
づき、図6の属性の重み67を参照して、全体類似度算
出手順66を実行することにより、上述の属性毎の距離
から、図7の入力問題71と図3の事例データ31の問
題との全体としての距離を求める。ここでは距離は
「5」となる。すなわち、距離「1」となる属性は出入
り口とFDDであり、出入り口とFDDのそれぞれの重
みは、図6の属性重み67に示すように、それぞれ、
「2」と「1」であり、この二つによる距離は、「(1
×2)+(1×1)=3」であり、さらに、距離「2」
の属性のLPの重みが「1」であり、その総和は、
「(1×2)+(1×1)+(2×1)=5」となる。Further, by executing the overall similarity calculation procedure 66 with reference to the attribute weights 67 in FIG. 6 based on the processing in step 104 in FIG. An overall distance between the input problem 71 and the problem of the case data 31 in FIG. 3 is obtained. Here, the distance is “5”. That is, the attributes with the distance “1” are the entrance and the FDD, and the weights of the entrance and the FDD are respectively as shown in the attribute weight 67 of FIG.
"2" and "1", and the distance between the two is "(1
× 2) + (1 × 1) = 3 ”, and the distance“ 2 ”
The weight of the attribute LP is “1”, and the sum is
“(1 × 2) + (1 × 1) + (2 × 1) = 5”.
【0027】次に、図2のステップ105においては、
「No」となり、ステップ107の処理に基づき、図3
の事例データ32を取り出し、次候補とする。そして、
図2のステップ108に基づき、ステップ103と同様
の処理により、図7の入力問題71と次候補(図3の事
例データ32)の属性毎の距離を求める。ここでは、縦
辺、横辺、出入り口、CPU、CD、MDU、MTU、
LP、FDD62に関する距離が、それぞれ、「1、
1、2、0、0、0、0、0、0」となり、図2のステ
ップ109の処理に基づき、ステップ104と同様の処
理により、図7の入力問題71と次候補(図3の事例デ
ータ32)の全体としての距離を求める。ここでは、図
6の属性の重み67に基づき、全体としての距離は
「8」となる。Next, in step 105 of FIG.
“No”, and based on the processing of step 107, FIG.
Is taken out as the next candidate. And
Based on step 108 in FIG. 2, the distance for each attribute of the input question 71 in FIG. 7 and the next candidate (case data 32 in FIG. 3) is obtained by the same processing as in step 103. Here, vertical side, horizontal side, doorway, CPU, CD, MDU, MTU,
The distances for LP and FDD 62 are “1,
1, 2, 0, 0, 0, 0, 0, 0 ", and based on the processing of step 109 of FIG. 2, the input problem 71 of FIG. The distance as a whole of the data 32) is obtained. Here, the distance as a whole is “8” based on the attribute weight 67 in FIG.
【0028】図2のステップ110においては、図7の
入力問題71と次候補(図3の事例データ32)の距離
が「8」で、図7の入力問題71と候補(図3の事例デ
ータ31)の距離が「5」なので、「No」となり、図
2のステップ105に戻る。また、このステップ105
においては、図3の事例データ33が残っているので
「No」となる。そして、図2のステップ107の処理
に基づき、図3の事例データ33を取り出し、次候補と
する。図2のステップ108に基づく処理により、縦
辺、横辺、出入り口、CPU、CD、MDU、MTU、
LP、FDDに関する図7の入力問題71と次候補(図
3の事例データ33)の距離が、それぞれ、「1、0、
0、0、0、0、0、1、1」となる。また、図2のス
テップ109の処理により、図7の入力問題71と次候
補(図3の事例データ33)の全体としての距離が
「4」となる。図2のステップ110においては、図7
の入力問題71と次候補(図3の事例データ33)の距
離が「4」で、図7の入力問題71と候補(図3の事例
データ31)の距離が「5」であり、「Yes」とな
り、図2のステップ111の処理に基づき、図3の事例
データ33を新たな候補とする。さらに、図2のステッ
プ105において、「Yes」となり、図2のステップ
106の処理に基づき、図3の事例データ33を類似例
として図1の制御処理部8に返す。In step 110 of FIG. 2, the distance between the input problem 71 of FIG. 7 and the next candidate (case data 32 of FIG. 3) is “8”, and the input problem 71 of FIG. Since the distance of 31) is “5”, the result is “No”, and the process returns to step 105 of FIG. This step 105
Is "No" because the case data 33 of FIG. 3 remains. Then, based on the processing in step 107 in FIG. 2, the case data 33 in FIG. 3 is extracted and set as the next candidate. By the processing based on step 108 in FIG. 2, the vertical side, horizontal side, doorway, CPU, CD, MDU, MTU,
The distance between the input problem 71 of FIG. 7 and the next candidate (the case data 33 of FIG. 3) relating to LP and FDD is “1, 0,
0, 0, 0, 0, 0, 1, 1 ". Further, the distance between the input question 71 in FIG. 7 and the next candidate (the case data 33 in FIG. 3) becomes “4” by the processing in step 109 in FIG. In step 110 of FIG. 2, FIG.
The distance between the input problem 71 and the next candidate (the case data 33 in FIG. 3) is “4”, the distance between the input problem 71 in FIG. 7 and the candidate (the case data 31 in FIG. 3) is “5”, and “Yes” , And the case data 33 in FIG. 3 is set as a new candidate based on the processing in step 111 in FIG. Further, in step 105 of FIG. 2, “Yes” is returned, and the case data 33 of FIG. 3 is returned to the control processing unit 8 of FIG. 1 as a similar example based on the processing of step 106 of FIG.
【0029】このようにして図1の事例検索処理部5か
ら、図3の事例データ33を受け取った図1の制御処理
部8は、図7の入力問題71と図3の事例データ33
を、図1の事例利用処理部7に渡す。図1の事例利用処
理部7は、受け取った図3の事例データ33の右辺の解
答に基づいて、図7の入力問題71の解答を求め、この
解答を、図1の制御処理部8に返す。そして、図1の制
御処理部8は、図1の入出力処理部6を介して、図1の
出力装置2に、この入力問題の解答を出力する。The control processing unit 8 of FIG. 1 receiving the case data 33 of FIG. 3 from the case search processing unit 5 of FIG.
Is passed to the case use processing unit 7 in FIG. The case use processing unit 7 in FIG. 1 obtains an answer to the input problem 71 in FIG. 7 based on the answer on the right side of the received case data 33 in FIG. 3 and returns the answer to the control processing unit 8 in FIG. . Then, the control processing unit 8 of FIG. 1 outputs the answer to the input problem to the output device 2 of FIG. 1 via the input / output processing unit 6 of FIG.
【0030】以上、図1〜図7を用いて説明したよう
に、本実施例の事例検索システムでは、汎用の事例検索
手順とは分離独立した部分類似度算出手順および全体類
似度算出手順に従って、入力問題の類似例を検索し、さ
らに、類似例における解答に基づいて、入力問題の解答
を求める。このことにより、部分類似度算出手順と全体
類似度算出手順以外の手順を、標準的なシステムとして
提供し、部分類似性算出手順と全体類似度算出手順を分
野に応じて入力することにより、分野に応じた類似例検
索システムおよび推論システムを、容易に開発すること
ができる。すなわち、入力された問題の類似例を事例ベ
ースから検索する事例検索システム、あるいは、入力さ
れた問題の類似例を、事例検索システムにより事例ベー
スから検索し、この類似例に基づいて問題を解決する推
論システムを開発する時に、問題と事例の間の属性ある
いは属性対毎の類似度(距離)を算出する手順と、これ
らの部分的類似度(距離)から全体の類似度(距離)を
算出する手順についてのみ、対象分野に応じたデータあ
るいはプログラムを開発(追加)すれば、それ以外の部
分については、汎用的な事例検索プログラムを利用でき
る。このことにより、システム開発に係わる費用、人
員、期間を削減できる。また、属性あるいは属性対毎の
類似度算出手順と全体類似度算出手順を変更することに
より、検索機能を容易に調整できるので、システムの最
適化や保守の作業が容易になる。尚、それぞれの図の説
明で述べたように、本発明は、図1〜図7を用いて説明
した実施例に限定されるものではない。例えば、部分類
似度の算出方法に関しても、画像、図形、および、音声
認識技術などを用い、画像や、音声で入力された問題に
対して、類似度を算出して事例検索を行なうシステムに
も適用することができる。また、本実施例では、分野依
存手順記憶部に、部分類似度算出手順と、全体類似度算
出手順とに分かて記憶する構成としているが、例えば、
入力問題に対する類似度の大きい順に事例を選択すると
いう汎用的な手順を考えた場合には、類似度の大きい順
に事例を選択する手順が、全体類似度算出手順に対応
し、この全体類似度算出手順も、汎用的な手順とするこ
ともできる。As described above with reference to FIGS. 1 to 7, the case retrieval system according to the present embodiment employs a partial similarity calculation procedure and an overall similarity calculation procedure that are separate and independent from the general-purpose case retrieval procedure. A similar example of the input problem is searched, and an answer to the input problem is obtained based on the answer in the similar example. As a result, a procedure other than the partial similarity calculation procedure and the overall similarity calculation procedure is provided as a standard system, and the partial similarity calculation procedure and the overall similarity calculation procedure are input according to the field. A similar example search system and an inference system according to the above can be easily developed. That is, a case search system that searches a similar example of an input problem from a case base, or a similar example of an input problem is searched from a case base by a case search system, and the problem is solved based on the similar example. When developing an inference system, the procedure of calculating the similarity (distance) between an attribute and a pair of attributes between a problem and a case, and calculating the overall similarity (distance) from these partial similarities (distance) If data or programs corresponding to the target field are developed (added) only for procedures, a general-purpose case search program can be used for the other parts. This reduces costs, manpower, and time involved in system development. Further, by changing the similarity calculation procedure for each attribute or attribute pair and the overall similarity calculation procedure, the search function can be easily adjusted, thereby facilitating system optimization and maintenance work. Note that, as described in the description of each drawing, the present invention is not limited to the embodiment described with reference to FIGS. For example, regarding a method of calculating a partial similarity, a system that calculates a similarity and performs a case search by using an image, a graphic, and a voice recognition technology for an image or a problem input by voice is also used. Can be applied. In this embodiment, the field-dependent procedure storage unit stores the partial similarity calculation procedure and the overall similarity calculation procedure separately and stores them.
Considering a general procedure of selecting cases in descending order of similarity to an input problem, the procedure of selecting cases in descending order of similarity corresponds to the overall similarity calculation procedure. The procedure can also be a general procedure.
【0031】[0031]
【発明の効果】本発明によれば、事例検索手順を、全て
の事例検索動作に共通な汎用部分と、分野毎に異なる部
分とに分離し、分離した分野依存の部分の入替えのみ
で、それぞれの分野に対応した事例検索を可能とし、シ
ステムの開発、および、保守に係わる負荷を大幅に軽減
することが可能である。According to the present invention, the case search procedure is separated into a general part common to all case search operations and a part different for each field, and only the separated field-dependent parts are replaced. This makes it possible to search for cases corresponding to the fields described above, and to greatly reduce the load involved in system development and maintenance.
【0032】[0032]
【図1】本発明の一実施例における事例検索処理の動作
を示すフローチャートである。FIG. 1 is a flowchart illustrating an operation of a case search process according to an embodiment of the present invention.
【図2】図1における事例検索処理部の本発明に係わる
処理動作の一実施例を示すフローチャートである。FIG. 2 is a flowchart showing one embodiment of a processing operation according to the present invention of a case search processing unit in FIG. 1;
【図3】図1における事例ベースに記憶された事例デー
タの一実施例を示す説明図である。FIG. 3 is an explanatory diagram showing one embodiment of case data stored in a case base in FIG. 1;
【図4】図1の部分類似度算出手順記憶部に記憶された
部分類似度算出手順の一実施例を示す説明図である。FIG. 4 is an explanatory diagram showing one embodiment of a partial similarity calculation procedure stored in a partial similarity calculation procedure storage unit of FIG. 1;
【図5】図4における属性類似度算出手続で用いる属性
の分類階層の一実施例を示す説明図である。FIG. 5 is an explanatory diagram showing an embodiment of an attribute classification hierarchy used in the attribute similarity calculation procedure in FIG. 4;
【図6】図1における全体類似度算出手順記憶部に記憶
された全体類似度算出手順の一実施例を示す説明図であ
る。FIG. 6 is an explanatory diagram showing an embodiment of an overall similarity calculation procedure stored in the overall similarity calculation procedure storage unit in FIG. 1;
【図7】図1における事例検索システムに入力される問
題の一実施例を示す説明図である。FIG. 7 is an explanatory diagram showing one embodiment of a problem input to the case search system in FIG. 1;
1 入力装置 2 表示装置 3 事例検索装置 4 記憶装置 5 事例検索処理部 6 入出力処理部 7 事例利用処理部 8 制御処理部 9 事例ベース 10 部分類似度算出手順記憶部 11 全体類似度算出手順記憶部 31〜33 事例データ 41 属性対類似度算出手順 42 属性値定義 43 属性対距離定義 44 属性類似度算出手順 45 階層定義 46 属性距離定義 51 機器 52 計算装置 53 入出力機器 54 記憶装置 55 操作機器 56 CPU 57 入力機器 58 出力機器 59 MDU 60 MTU 61 CD 62 FDD 63 CR 64 LP 65 LBP 66 全体類似度算出手順 67 属性の重み 71 入力問題 REFERENCE SIGNS LIST 1 input device 2 display device 3 case search device 4 storage device 5 case search processing unit 6 input / output processing unit 7 case use processing unit 8 control processing unit 9 case base 10 partial similarity calculation procedure storage unit 11 overall similarity calculation procedure storage Sections 31 to 33 Case data 41 Attribute-to-similarity calculation procedure 42 Attribute value definition 43 Attribute-to-distance definition 44 Attribute similarity calculation procedure 45 Hierarchy definition 46 Attribute distance definition 51 Device 52 Computer 53 Input / output device 54 Storage device 55 Operating device 56 CPU 57 Input device 58 Output device 59 MDU 60 MTU 61 CD 62 FDD 63 CR 64 LP 65 LBP 66 Overall similarity calculation procedure 67 Attribute weight 71 Input problem
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭63−54635(JP,A) 特開 昭63−138423(JP,A) 特開 平1−288927(JP,A) 藤堂清,松本俊二,佐藤智昭,「開発 方法論に基づく知識システムの部品化 /再利用環境」,人工知能学会誌vo l.5,no.2,pp.69−75(平成 2年3月1日) 吉浦裕,「問題と事例の分割に基づい て部分的類似例を利用する事例ベース推 論方式」,情報処理学会論文誌vol. 32,no.5,pp.626−634(平成3 年5月15日) (58)調査した分野(Int.Cl.6,DB名) G06F 17/30 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-63-54635 (JP, A) JP-A-63-138423 (JP, A) JP-A-1-288927 (JP, A) Kiyoshi Todo, Shunji Matsumoto , Tomoaki Sato, "Partitioning / reuse environment of knowledge system based on development methodology", Journal of the Japanese Society for Artificial Intelligence vol. 5, no. 2, pp. 69-75 (March 1, 1990) Hiroshi Yoshiura, "A Case-Based Reasoning Method Using Partially Similar Examples Based on Partitioning of Problem and Case", Transactions of Information Processing Society of Japan, vol. 32, no. 5, pp. 626-634 (May 15, 1991) (58) Field surveyed (Int. Cl. 6 , DB name) G06F 17/30
Claims (5)
する解を表わすデータとからなる事例情報を一つ以上記
憶する事例ベースと、具備した入力手段を介して入力さ
れた問題に類似する問題を含む事例情報を、予め具備し
た記憶手段に記憶した手順に基づき、上記事例ベースか
ら検索する事例検索手段とを有する事例検索システムに
おいて、上記記憶手段に記憶する事例検索の手順の内
で、上記事例ベースに記憶する事例情報の分野に依存す
る分野別の検索手順を記憶する分野依存手順記憶手段を
設け、上記記憶手段には、上記事例ベースに記憶する事
例情報の分野に依存しない汎用の検索手順のみを記憶
し、上記事例ベースの変更時には、上記分野依存手順記
憶手段に記憶する分野別の検索手順のみを変更すること
を特徴とする事例検索システム。1. A case base for storing at least one case information including data representing a problem and data representing a solution to the problem in advance, and a problem similar to the problem input via input means provided. Case search means for searching from the case base based on a procedure stored in the storage means provided in advance in the case search means, in the case search procedure stored in the storage means, Field-dependent procedure storage means for storing a search procedure for each field depending on the field of the case information stored in the base is provided, wherein the storage means includes a general-purpose search procedure independent of the field of the case information stored in the case base. Characterized in that only the search procedure for each field stored in the field-dependent procedure storage means is changed when the case base is changed. Stem.
いて、上記分野依存手順記憶手段に記憶する分野別の検
索手順は、上記事例検索手段による上記事例ベースに記
憶されたそれぞれの事例情報の問題の上記入力問題に対
する類似度を算出する類似度算出手順からなることを特
徴とする事例検索システム。2. The case search system according to claim 1, wherein the search procedure for each field stored in the field-dependent procedure storage means is a problem of each case information stored in the case base by the case search means. A similarity calculation procedure for calculating a similarity to the input problem.
かに記載の事例検索システムにおいて、上記入力問題
と、該入力問題に対応して、上記事例検索手段が、上記
分野依存手順記憶手段を用いて検索した事例情報とに基
づき推論を行ない、上記入力問題に対する解を求める事
例利用手段を設けたことを特徴とする事例検索システ
ム。3. The case search system according to claim 1, wherein said input problem and said case search means corresponding to said input problem are stored in said field-dependent procedure storage means. A case search system comprising: a case use unit for performing inference based on case information searched using the above, and obtaining a solution to the input problem.
の事例検索システムの事例検索方法であり、上記入力問
題、および、上記事例ベースに記憶される事例情報の問
題を、属性の集合、もしくは、属性と該属性の値との対
である属性対の集合の少なくとも一方を含んで表し、上
記分野依存手順記憶手段に記憶する上記入力問題に対す
る分野別の検索手順は、上記属性毎の類似度、もしく
は、上記属性対毎の類似度の少なくとも一方を含む部分
毎の類似度の算出手順からなり、上記事例検索手段は、
上記属性毎の類似度の算出手順、もしくは、上記属性対
毎の類似度の算出手順の少なくとも一方の算出手順を用
いて、上記入力問題と上記事例情報の問題との部分毎の
類似度の算出を行なうことを特徴とする事例検索システ
ムの事例検索方法。4. A case retrieval method for a case retrieval system according to claim 1, wherein the input problem and the problem of the case information stored in the case base are classified into a set of attributes. Or, it includes at least one of a set of attribute pairs, which is a pair of an attribute and a value of the attribute, and the field-specific search procedure for the input problem stored in the field-dependent procedure storage means includes: The case search means comprises a procedure for calculating a similarity or a similarity for each part including at least one of the similarities for each attribute pair.
Calculating the similarity for each part of the input problem and the case information problem using at least one of the above-described similarity calculating procedure or the similarity calculating procedure for each attribute pair. A case search method for a case search system, characterized in that a case search is performed.
例検索方法において、上記分野依存手順記憶手段に、上
記事例検索手段で算出した上記入力問題と上記事例情報
の問題との部分毎の類似度を組み合わせて、上記入力問
題に対する上記事例情報の問題の全体としての類似度を
算出する全体類似度算出手順を記憶し、上記事例検索手
段は、該全体類似度算出手順を用いて、上記入力問題と
上記事例情報の問題との全体としての類似度を求め、該
求めた類似度に基づき、上記入力問題に対する上記事例
ベースからの事例を選択することを特徴とする事例検索
システムの事例検索方法。5. The case search method of a case search system according to claim 4, wherein said field-dependent procedure storage means stores a similarity between said input problem calculated by said case search means and said case information problem for each part. A total similarity calculation procedure for calculating the overall similarity of the question of the case information with respect to the input problem, and the case search means uses the total similarity calculation procedure to calculate the input similarity. A case search method for a case search system, wherein a similarity between the problem and the problem of the case information as a whole is obtained, and a case from the case base for the input problem is selected based on the obtained similarity. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3331864A JP2913969B2 (en) | 1991-12-16 | 1991-12-16 | Case search system and search method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3331864A JP2913969B2 (en) | 1991-12-16 | 1991-12-16 | Case search system and search method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH05165888A JPH05165888A (en) | 1993-07-02 |
| JP2913969B2 true JP2913969B2 (en) | 1999-06-28 |
Family
ID=18248503
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3331864A Expired - Lifetime JP2913969B2 (en) | 1991-12-16 | 1991-12-16 | Case search system and search method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2913969B2 (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3603395B2 (en) * | 1995-07-26 | 2004-12-22 | 富士ゼロックス株式会社 | Matching device and matching method |
| JP2002366569A (en) * | 2001-06-06 | 2002-12-20 | Sony Corp | Advertisement selection system, advertisement selection method, and storage medium |
| JP3804937B2 (en) * | 2002-05-21 | 2006-08-02 | 雅杰 田 | Database creation program, computer-readable recording medium recording the program, database creation apparatus, method and database creation system |
| JP2004206167A (en) * | 2002-12-20 | 2004-07-22 | Fujitsu Ltd | Case prediction device and case prediction method |
| US9270518B2 (en) | 2010-05-17 | 2016-02-23 | Hitachi, Ltd. | Computer system and rule generation method |
| CN110471937B (en) * | 2019-08-28 | 2021-04-09 | 武汉理工大学 | Process example hierarchical retrieval method and device |
-
1991
- 1991-12-16 JP JP3331864A patent/JP2913969B2/en not_active Expired - Lifetime
Non-Patent Citations (2)
| Title |
|---|
| 吉浦裕,「問題と事例の分割に基づいて部分的類似例を利用する事例ベース推論方式」,情報処理学会論文誌vol.32,no.5,pp.626−634(平成3年5月15日) |
| 藤堂清,松本俊二,佐藤智昭,「開発方法論に基づく知識システムの部品化/再利用環境」,人工知能学会誌vol.5,no.2,pp.69−75(平成2年3月1日) |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH05165888A (en) | 1993-07-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN116894152B (en) | Multisource data investigation and real-time analysis method | |
| US6408300B1 (en) | Multidimensional indexing structure for use with linear optimization queries | |
| Yu et al. | A rough-set-refined text mining approach for crude oil market tendency forecasting | |
| JP2003140942A (en) | Methods, systems, and articles of manufacture for soft hierarchical clustering of co-occurring objects | |
| JP2005063332A (en) | Information system association apparatus and association method. | |
| JP2827458B2 (en) | Inference processing method | |
| CN118733611A (en) | Library query system, method, device and medium based on information retrieval and large model | |
| US20170286386A1 (en) | Method and apparatus for extracting areas | |
| CN112784054A (en) | Concept graph processing apparatus, concept graph processing method, and computer-readable medium | |
| CN117725191A (en) | Guide information generation method and device of large language model and electronic equipment | |
| JP2913969B2 (en) | Case search system and search method | |
| US20030198850A1 (en) | Structured document mapping apparatus and method | |
| US8572551B2 (en) | Difference log production for model merging | |
| US10754861B2 (en) | System and method for content affinity analytics | |
| WO2019123732A1 (en) | Analysis support method, analysis support server, and storage medium | |
| KR102815465B1 (en) | System and method for extracting knowledge based on graph reading | |
| Battulga et al. | Hash-tree PCA: accelerating PCA with hash-based grouping. | |
| Bennett et al. | Object oriented locational analysis | |
| EP3624065A1 (en) | Classification of knowledge management assets | |
| CN115270802B (en) | Question sentence processing method, electronic equipment and storage medium | |
| JP2025140523A (en) | Computer system and data search method | |
| CN112633483B (en) | Four-tuple gate diagram neural network event prediction method, device, equipment and medium | |
| Aladag et al. | Modeling and Advanced Techniques in Modern Economics | |
| KR102359661B1 (en) | Method to manage data | |
| CN120687643A (en) | Knowledge graph construction method and system integrating node attenuation and edge similarity weights |