JP5652332B2 - Data structure comparison program and data structure comparison device - Google Patents
Data structure comparison program and data structure comparison device Download PDFInfo
- Publication number
- JP5652332B2 JP5652332B2 JP2011121565A JP2011121565A JP5652332B2 JP 5652332 B2 JP5652332 B2 JP 5652332B2 JP 2011121565 A JP2011121565 A JP 2011121565A JP 2011121565 A JP2011121565 A JP 2011121565A JP 5652332 B2 JP5652332 B2 JP 5652332B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- similarity
- type
- data structure
- sample
- 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 - Fee Related
Links
- 238000004364 calculation method Methods 0.000 claims description 51
- 238000000605 extraction Methods 0.000 claims description 18
- 238000000034 method Methods 0.000 claims description 13
- 239000000284 extract Substances 0.000 claims description 5
- 230000006870 function Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 20
- 239000011159 matrix material Substances 0.000 description 7
- 238000007796 conventional method Methods 0.000 description 3
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 239000003814 drug Substances 0.000 description 2
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 238000005065 mining Methods 0.000 description 2
- 206010052428 Wound Diseases 0.000 description 1
- 208000027418 Wounds and injury Diseases 0.000 description 1
- 238000009098 adjuvant therapy Methods 0.000 description 1
- 201000010099 disease Diseases 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000012567 medical material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000001356 surgical procedure Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、データ構造比較プログラム及びデータ構造比較装置に関する。 The present invention relates to a data structure comparison program and a data structure comparison apparatus.
従来のデータ構造を比較する方法として、例えば、ツリー構造を有する複数のデータからパターン抽出技法を用いて頻出するツリー構造を見本のデータ構造として抽出し、抽出された見本のデータ構造の類似度を算出するものがある(例えば、非特許文献1、2参照)。
As a conventional method of comparing data structures, for example, a tree structure that frequently appears using a pattern extraction technique is extracted from a plurality of data having a tree structure as a sample data structure, and the similarity of the extracted sample data structures is calculated. Some are calculated (for example, see
非特許文献1には、根ノードを頂点として分岐する内部ノード及び最底辺の葉ノードから構成されるツリー構造間の比較をする際に、それぞれのツリー構造の葉ノードの並びを比較し、一方の葉ノードの並びから他方の葉ノードの並びへ変形するのに要するデータの挿入、削除、置換等の手順の最小回数(以下、「編集距離」という。)を算出する方法が開示されている。この編集距離を用いて、編集距離が予め定められた値より小さいツリー構造同士を類似性があるツリー構造とする。
Non-Patent
また、非特許文献2には、ツリー構造の葉ノードだけでなく、ツリー構造間の根ノード及び内部ノードを含めて一方のツリー構造から他方のツリー構造へ変形するのに要するデータの挿入、削除、置換等の手順の最小回数(以下、「Tree Edit距離」という。)を算出する方法が開示されている。このTree Edit距離の算出方法は、上記した非特許文献1の方法に比べて計算量が増加するものの、葉ノード以外も考慮するため、ツリー構造間の類似度としてより確かな値を算出する。
本発明の目的は、本構成を採用しない場合と比べて計算量を減少するデータ構造比較プログラム及びデータ構造比較装置を提供することにある。 An object of the present invention is to provide a data structure comparison program and a data structure comparison apparatus that reduce the amount of calculation compared to a case where this configuration is not adopted.
本発明の一態様は、上記目的を達成するため、以下のデータ構造比較プログラム及びデータ構造比較装置を提供する。 In order to achieve the above object, one aspect of the present invention provides the following data structure comparison program and data structure comparison apparatus.
[1]コンピュータを、
対象と、対象に属するものとして関連付けられた第1の種類のデータと、前記第1の種類のデータに属するものとして関連付けられた第2の種類のデータとを構造の要素として含む複数の比較対象のデータから、予め定めた頻度で出現するデータ構造を見本のデータ構造として取得する取得手段と、
前記取得手段が取得した複数の前記見本のデータ構造の前記第2の種類のデータを比較する際に、前記見本のデータ構造間で前記第1の種類のデータが共通する第2の種類のデータ間の第1の類似度をそれぞれ算出する第1の類似度算出手段と、
前記第1の類似度算出手段が前記第2の種類のデータ毎に算出した前記第1の類似度に基づいて前記見本のデータ構造間の第2の類似度を算出する第2の類似度算出手段と、
前記第2の類似度が予め定められた値以上の類似性を示す前記見本のデータ構造を1つの分類として抽出する抽出手段として機能させるデータ構造比較プログラム。
[1]
A plurality of comparison objects including, as a structural element, an object, a first type of data associated as belonging to the object, and a second type of data associated as belonging to the first type of data Acquisition means for acquiring a data structure that appears at a predetermined frequency from the data as a sample data structure;
The second type of data in which the first type of data is common among the sample data structures when comparing the second type of data of the plurality of sample data structures acquired by the acquisition unit First similarity calculation means for calculating a first similarity between
Second similarity calculation for calculating a second similarity between the data structures of the samples based on the first similarity calculated by the first similarity calculation unit for each of the second type of data Means,
A data structure comparison program that functions as an extraction unit that extracts the data structure of the sample showing the similarity equal to or greater than a predetermined value as the second similarity.
[2]前記取得手段が前記見本のデータ構造を取得する際に、前記見本のデータ構造を取得した前記複数の比較対象のデータから時間を単位とする日時データを取得する日時データ取得手段と、
前記第1の類似度算出手段は、複数の見本のデータ構造の前記第2の種類のデータを比較する際に、前記見本のデータ構造間で前記第1の種類のデータが共通する第2の種類のデータに前記日時データ取得手段が取得した前記日時のデータを予め定めた方法で加えて、当該日時のデータが加えられた見本のデータ構造の間の第1の類似度を算出する前記[1]に記載のデータ構造比較プログラム。
[2] Date and time data acquisition means for acquiring date and time data in units of time from the plurality of comparison target data acquired from the sample data structure when the acquisition means acquires the sample data structure;
The first similarity calculating unit compares the second type of data of a plurality of sample data structures with the second type of data having the first type of data common between the sample data structures. The date and time data acquired by the date and time data acquisition means is added to the type of data by a predetermined method, and the first similarity between the sample data structures to which the date and time data is added is calculated. 1] The data structure comparison program according to [1].
[3]前記第1の類似度算出手段は、第2の種類のデータの内容に応じて重み付けをして類似度を算出する前記[1]又は[2]に記載のデータ構造比較プログラム。 [3] The data structure comparison program according to [1] or [2], wherein the first similarity calculation unit calculates the similarity by weighting according to the content of the second type of data.
[4]対象と、対象に属するものとして関連付けられた第1の種類のデータと、前記第1の種類のデータに属するものとして関連付けられた第2の種類のデータとを構造の要素として含む複数の比較対象のデータから、予め定めた頻度で出現するデータ構造を有する見本のデータ構造を取得する取得手段と、
前記取得手段が取得した複数の前記見本のデータ構造の前記第2の種類のデータを比較する際に、前記見本のデータ構造間で前記第1の種類のデータが共通する第2の種類のデータ間の第1の類似度をそれぞれ算出する第1の類似度算出手段と、
前記第1の類似度算出手段が前記第2の種類のデータ毎に算出した前記第1の類似度に基づいて前記見本のデータ構造間の第2の類似度を算出する第2の類似度算出手段と、
前記第2の類似度が予め定められた値以上の類似性を示す前記見本のデータ構造を1つの分類として抽出する抽出手段とを有するデータ構造比較装置。
[4] A plurality of objects including a target, a first type of data associated as belonging to the target, and a second type of data associated as belonging to the first type of data as structural elements. Acquisition means for acquiring a data structure of a sample having a data structure that appears at a predetermined frequency from the comparison target data;
The second type of data in which the first type of data is common among the sample data structures when comparing the second type of data of the plurality of sample data structures acquired by the acquisition unit First similarity calculation means for calculating a first similarity between
Second similarity calculation for calculating a second similarity between the data structures of the samples based on the first similarity calculated by the first similarity calculation unit for each of the second type of data Means,
A data structure comparison apparatus comprising: extraction means for extracting the data structure of the sample showing the similarity equal to or greater than a predetermined value as the second similarity.
請求項1又は4に係る発明によれば、本構成を採用しない場合と比べて計算量を減少することができる。
According to the invention which concerns on
請求項2に係る発明によれば、日時データを含めた第1の類似度を算出することができる。
According to the invention which concerns on
請求項3に係る発明によれば、第2の種類のデータの内容に応じて重み付けをすることができる。
According to the invention which concerns on
(データ構造比較装置の構成)
図1は、本発明の実施の形態に係るデータ構造比較装置の構成の一例を示す図である。
(Configuration of data structure comparison device)
FIG. 1 is a diagram showing an example of the configuration of a data structure comparison apparatus according to an embodiment of the present invention.
データ構造比較装置1は、CPU等から構成され各部を制御するとともに各種のプログラムを実行する制御部10と、HDD(Hard Disk Drive)やフラッシュメモリ等の記憶媒体から構成され情報を記憶する記憶部11とを備え、例えば、患者臨床情報及び診療行為の電子データの解析に用いられる。
The data
制御部10は、後述するデータ構造比較プログラム110を実行することで、パターン取得手段100、日時データ追加手段101、第1の類似度算出手段102、第2の類似度算出手段103及びデータ構造抽出手段104等として機能する。
The
パターン取得手段100は、解析対象である電子データとして記憶部11から後述するDPCデータ111に含まれる複数の比較対象のデータ(以下、「サポート」という。)から対象として患者名を根ノードとした見本のツリー構造を複数取得する。ここで、見本のツリー構造(以下、「パターン」という。)とは、パターン抽出技法を用いて、ツリー構造を有する複数のデータに予め定めた頻度で出現する共通のツリー構造として抽出されるもののことをいう。
The
なお、パターン取得手段100は、周知のパターン抽出技法を用いることで、複数のサポート間で後述するEファイル及びFファイルが共通したものをパターンとして取得する。周知のパターン抽出技法として、例えば、シーケンシャル・パターン・マイニングのPrefix Span、BIDE、CloSpan等又はサブツリーマイニング等を用いることができる。
Note that the
日時データ追加手段101は、パターン取得手段100が取得したパターンの元となった複数のサポートから時間を単位とする日時データを抽出してパターンに追加する。なお、時間は、年月日、時間、分、秒等いずれを用いてもよい。
The date / time
第1の類似度算出手段102は、比較対象となるパターン間において、葉ノードであるFファイルのうち、後述するEファイルが共通するFファイルをリスト化して、パターン中の日時データをさらにリストに追加して、Eファイル毎に当該リストの類似度(以下、「第1の類似度」という。)として編集距離を算出する。
The first
第2の類似度算出手段103は、第1の類似度算出手段102が算出したEファイル毎の第1の類似度に基づいて比較対象のパターン間の類似度(以下、「第2の類似度」という。)として編集距離を算出する。
Based on the first similarity for each E file calculated by the first
データ構造抽出手段104は、第2の類似度算出手段103が算出した第2の類似度が予め定められた値以下である複数のパターンの集合を1つの分類として抽出する。
The data
記憶部11は、制御部10を上述した各手段として動作させるデータ構造比較プログラム110、DPCデータ111、計算用係数情報112及び重み付け係数情報113等を記憶する。
The
DPCデータ111は、分析可能な全国統一形式の患者臨床情報及び診療行為の電子データセットである。患者臨床情報は、例えば、患者基本情報、病名、術式、各種のスコア・ステージ分類等であり、診療行為情報は、診療行為、医薬品、医療材料、実施日、回数・数量、診療科、病棟、保険種別等である。
The
また、DPCデータ111は、基本となるデータとして様式1、Eファイル及びFファイルと呼ばれるデータを有する。様式1とは、患者の臨床情報、傷病名、術式、補助治療等である。Eファイルとは、実施日、回数、診療科、病棟、オーダ医師等の情報である。Fファイルとは、Eファイルの詳細な内容であり、例えば、行為、薬剤、材料、数量等の情報である。
The
本実施の形態では、患者を根ノードとし、その患者に属する日時データ及びEファイルを内部ノード、Eファイルに属するFファイルを葉ノードとして構成されるツリー構造をサポートとし、複数のサポートに予め定めた頻度以上で現れるサポートのデータ構造をパターンとして取得して、取得されたパターン間で類似度を算出し、算出された類似度に基づいて複数のパターンの集合を抽出する。 In the present embodiment, a tree structure including a patient as a root node, date / time data belonging to the patient and an E file as an internal node, and an F file belonging to the E file as a leaf node is supported. A support data structure that appears at a frequency higher than the specified frequency is acquired as a pattern, a similarity is calculated between the acquired patterns, and a set of a plurality of patterns is extracted based on the calculated similarity.
図2は、DPCデータのパターンの構成の一例を示す概略図である。 FIG. 2 is a schematic diagram illustrating an example of a configuration of a DPC data pattern.
DPCデータ111から取得されたパターン2a及びパターン2bは、患者に属する日時データ22と、日時データ22に属するEファイル21と、Eファイル21に属するFファイルとを有し、ツリー構造を構成する。
The
図3は、計算用係数情報の構成の一例を示す概略図である。 FIG. 3 is a schematic diagram illustrating an example of a configuration of calculation coefficient information.
計算用係数情報112は、Fファイル、期間、日単位を行列の項目とし、第1の類似度算出手段102が編集距離を算出する際にFファイル又は日時データに乗じる係数を定義する。なお、Fファイルと期間、Fファイルと日単位はそれぞれ比較すべき対象ではないので係数を「∞」としている。
The
図4は、重み付け係数情報の構成の一例を示す概略図である。 FIG. 4 is a schematic diagram illustrating an example of the configuration of the weighting coefficient information.
重み付け係数情報113は、Fファイル内容欄と、重み付け係数欄とを有し、第1の類似度算出手段102が編集距離を算出する際にFファイルの内容に応じてFファイル又は日時データに乗じる係数を定義する。
The
(データ構造比較装置の動作)
以下に、データ構造比較装置の動作例を各図を参照しつつ、(1)基本動作、(2)類似度算出動作、(3)データ構造抽出動作に分けて説明する。
(Operation of data structure comparison device)
Hereinafter, the operation example of the data structure comparison apparatus will be described by dividing into (1) basic operation, (2) similarity calculation operation, and (3) data structure extraction operation, with reference to each drawing.
(1)基本動作
まず、パターン取得手段100は、記憶部11のDPCデータ111からデータ構造を抽出する対象となる複数のパターンを取得する。以下、説明を簡単にするため、図2に示す2つのパターン2a及び2bを取得した場合について説明する。
(1) Basic Operation First, the
まず、パターンの取得方法を示すためにパターン2bを例にとって説明する。
First, the
図5(a)及び(b)は、パターン取得手段100のパターンの取得元となるDPCデータ111のサポートの構成例を示す。
FIGS. 5A and 5B show a configuration example of support of the
パターン取得手段100は、パターン抽出技法を用いて、図5(a)に示す複数のサポート200b1、200b2…からパターン2bを取得する。
The
Fファイルの編集距離を利用した従来の技術では、Fファイル以外の情報を用いないため、日時データ22がサポート200b1、200b2…それぞれにおいて異なっていても構わないため、図2に示すように、日時データ22の内容が異なる箇所は「日単位」としてパターンBを取得していた。
In the conventional technique using the edit distance of the F file, since information other than the F file is not used, the date and
しかし、本実施の形態においては日時データ22も考慮し、日時データ追加手段101は、パターン取得手段100が取得したパターン2bの元となった複数のサポート200b1、200b2…(図5(a))から時間を単位とする日時データ22を抽出して、異なる日時データを包括する内容の日時データとして、図5(b)に示すように、追加日時データ210b1、210b2…を追加する。
However, in the present embodiment, the date /
図6(a)及び(b)は、追加日時データが追加されたパターンの構成の一例を示す概略図である。 6A and 6B are schematic diagrams illustrating an example of a configuration of a pattern to which additional date / time data is added.
次に、日時データ追加手段101は、複数のサポート200b1、200b2…に追加された追加日時データ210b1、210b2…に基づき、図6(a)に示すように、パターン2bに追加日時データ22aを追加する。
Next, the date / time
次に、日時データ追加手段101は、追加日時データ22bの日時の範囲内で複数のサポート200b1、200b2…の日時データを検索し、図6(a)に示す日時データ22aを、図6(b)に示すように、例えば、対象とする日時データを包括する最小の値である追加日時データ22bで置き換える。このように、本実施の形態では、従来の類似度の算出において用いられなかった日時データを要素として加えて類似度を算出する。なお、追加日時データ22aは、最小の値に限らず、予め定めた単位のうち全ての日時データを包括する値に設定してもよい。
Next, the date / time data adding means 101 searches the date / time data of a plurality of supports 200b 1 , 200b 2 ... Within the date / time range of the added date /
(2)類似度算出動作
図7は、第1の類似度の算出に用いる部分パターンを説明するための図である。
(2) Similarity Calculation Operation FIG. 7 is a diagram for explaining a partial pattern used for calculating the first similarity.
次に、図7に示すように、第1の類似度算出手段102は、パターン2a及び2bをEファイル21に予め定められたデータ区分に基づき部分パターン2a1〜2a4、2b1〜2b4に分ける。
Next, as shown in FIG. 7, the first similarity calculation means 102, the
次に、第1の類似度算出手段102は、区分が「60」で一致する部分パターン同士2a1と2b1、区分が「50」で一致する2a2と2b2、区分が「54」で一致する2a3と2b3、区分が「70」で一致する2a4と2b4の間の第1の類似度を算出する。以下、算出方法を説明する。
Next, the first
図8は、第1の類似度の算出に用いるリストの生成を説明するための図である。 FIG. 8 is a diagram for explaining generation of a list used for calculating the first similarity.
第1の類似度算出手段102は、例えば、区分が「60」で一致する部分パターン2a1及び2b1からそれぞれ日時データ22とFファイル20を文字列として含むリスト3a1及び3b1を生成する。この際、第1の類似度算出手段102は、Fファイル20が属する日時データ22をそのFファイル20の前を並び順としてリストに追加する。なお、日時データ22の追加する並び順はこれに限るものではなく、Fファイル20の後に追加してもよい。
For example, the first
図9は、第1の類似度の算出方法を説明するための図である。 FIG. 9 is a diagram for explaining a first similarity calculation method.
次に、第1の類似度算出手段102は、リスト3a1及び3b1の編集距離を算出する。具体的には、図9に示すように、リスト3a1及び3b1に含まれる項目毎の類似度を数値化して行列とし、左上の要素から右下の要素へ最小値を取るように移動する。
Next, the first
ここで、行列中の同一の要素に対する右下への移動はリストに対して編集しない場合であり、異なる要素に対する下への移動はリストの要素を削除する場合、異なる要素に対する右への移動はリストの要素を挿入する場合にそれぞれ対応する。 Here, moving to the lower right for the same element in the matrix is not editing for the list, moving to the lower for different elements is to move to the right for different elements when deleting elements in the list. Corresponds to the case of inserting list elements.
上記の操作の結果、得られた最小値が編集距離となる。なお、図9に折れ線で示す例において、要素「翌日」と要素「2日後」を交換、要素「TP」を挿入、要素「GPT」を削除、要素「ALP」を挿入、要素「ALb」を挿入する操作を行っている。 The minimum value obtained as a result of the above operation is the editing distance. In the example shown by the broken line in FIG. 9, the element “next day” and the element “two days later” are exchanged, the element “TP” is inserted, the element “GPT” is deleted, the element “ALP” is inserted, and the element “ALb” is inserted. You are performing an insert operation.
また、上記操作に対し、計算用係数情報112を係数として用いることで、日時データ同士の編集操作、Fファイル同士の編集操作以外を排除するとともに、Fファイルの交換に対する制限を大きくしている。なお、Fファイルの交換の係数を1としてもよい。
In addition, the
また、上記操作に対し、重み付け係数情報113を用いても良い。つまり、要素「翌日」と要素「2日後」を交換する操作は、図4においてFファイル内容欄が「一日差」に対応するため、0.7を係数として乗じる。以下、同様に、要素「TP」を挿入する操作に対し1を係数として乗じ、要素「GPT」を削除する操作に対し1を係数として乗じ、要素「ALP」を挿入する操作に対し0.5を係数として乗じ、要素「ALb」を挿入する操作する操作に対し2を係数として乗じて編集距離を算出してもよい。
Moreover, you may use the
上記の編集距離の算出をすべての部分パターン同士2a1と2b1、2a2と2b2、2a3と2b3、2a4と2b4について行いそれぞれパターン2aと2b間の第1の類似度を得る。
The above edit distance is calculated for all
図10は、第2の類似度の算出方法を説明するための図である。 FIG. 10 is a diagram for explaining a second similarity calculation method.
パターン2a及び2bの対象とする全てのFファイルを項目とし、Eファイル毎に分類した行列において、得られた各部分パターンの第1の類似度は、図10に示すように、同行列中において対角上に配置される。
In the matrix in which all the F files that are the targets of the
次に、第2の類似度算出手段103は、図10に示す行列において、第2の類似度を算出する。具体的には、図9において説明したのと同様に、左上から右下へ単純に第1の類似度を加算していけばよい。このように、Eファイルが異なるFファイル間の編集距離、例えば、Eファイル21「50」と「54」、「60」と「70」等の間の第1の類似度を算出しないため、すべてのFファイル間の編集距離を算出していた従来の方法に比べて計算量が減少する。
Next, the second
(3)データ構造抽出動作
図11(a)〜(c)は、データ構造抽出動作の一例を説明するための概略図である。
(3) Data Structure Extraction Operation FIGS. 11A to 11C are schematic diagrams for explaining an example of the data structure extraction operation.
第2の類似度算出手段103によって各パターン間の第2の類似度が算出されると、図11(a)に示すように、各パターン間の第2の類似度の関係を示す行列が生成される。
When the second
データ構造抽出手段104は、図11(a)に示す行列において、第2の類似度の値が小さいものから順番に各パターンのデータ構造の類似性が高いと判断し、図11(b)に示すように、データ構造の類似性の高い複数のパターンを1つの分類として抽出する。
The data
ここで、分類の閾値を、例えば、第2の類似度の値が3未満とすると、図11(b)に示すように、パターン2a〜2hの分類と、パターン2i及び2jの分類とに分断され、図11(c)に示すように、データ構造抽出手段104は、パターン2a〜2hの分類をクラスター1、パターン2i及び2jの分類をクラスター2として抽出する。
Here, for example, if the second threshold value is less than 3, the classification threshold is divided into the
[他の実施の形態]
なお、本発明は、上記実施の形態に限定されず、本発明の趣旨を逸脱しない範囲で種々な変形が可能である。
[Other embodiments]
The present invention is not limited to the above embodiment, and various modifications can be made without departing from the spirit of the present invention.
また、上記実施の形態で使用されるデータ構造比較プログラム110は、CD−ROM等の記憶媒体から装置内の記憶部に読み込んでも良く、インターネット等のネットワークに接続されているサーバ装置等から装置内の記憶部にダウンロードしてもよい。また、上記実施の形態で使用されるDPCパターン取得手段100、日時データ追加手段101、第1の類似度算出手段102、第2の類似度算出手段103及びデータ構造抽出手段104の一部または全部をASIC等のハードウェアによって実現してもよい。
In addition, the data
1 データ構造比較装置
2a−2h パターン
2a1−2a4 部分パターン
3a1、3b1 リスト
10 制御部
11 記憶部
20 Fファイル
21 Eファイル
22 日時データ
22a、22b 追加日時データ
100 パターン取得手段
101 日時データ追加手段
102 第1の類似度算出手段
103 第2の類似度算出手段
104 データ構造抽出手段
110 データ構造比較プログラム
111 DPCデータ
112 計算用係数情報
113 重み付け係数情報
200b1、200b2 サポート
210b1、210b2 追加日時データ
1 Data
Claims (4)
対象と、対象に属するものとして関連付けられた第1の種類のデータと、前記第1の種類のデータに属するものとして関連付けられた第2の種類のデータとを構造の要素として含む複数の比較対象のデータから、予め定めた頻度で出現するデータ構造を見本のデータ構造として取得する取得手段と、
前記取得手段が取得した複数の前記見本のデータ構造の前記第2の種類のデータを比較する際に、前記見本のデータ構造間で前記第1の種類のデータが共通する第2の種類のデータ間の第1の類似度をそれぞれ算出する第1の類似度算出手段と、
前記第1の類似度算出手段が前記第2の種類のデータ毎に算出した前記第1の類似度に基づいて前記見本のデータ構造間の第2の類似度を算出する第2の類似度算出手段と、
前記第2の類似度が予め定められた値以上の類似性を示す前記見本のデータ構造を1つの分類として抽出する抽出手段として機能させるデータ構造比較プログラム。 Computer
A plurality of comparison objects including, as a structural element, an object, a first type of data associated as belonging to the object, and a second type of data associated as belonging to the first type of data Acquisition means for acquiring a data structure that appears at a predetermined frequency from the data as a sample data structure;
The second type of data in which the first type of data is common among the sample data structures when comparing the second type of data of the plurality of sample data structures acquired by the acquisition unit First similarity calculation means for calculating a first similarity between
Second similarity calculation for calculating a second similarity between the data structures of the samples based on the first similarity calculated by the first similarity calculation unit for each of the second type of data Means,
A data structure comparison program that functions as an extraction unit that extracts the data structure of the sample showing the similarity equal to or greater than a predetermined value as the second similarity.
前記第1の類似度算出手段は、複数の見本のデータ構造の前記第2の種類のデータを比較する際に、前記見本のデータ構造間で前記第1の種類のデータが共通する第2の種類のデータに前記日時データ取得手段が取得した前記日時のデータを予め定めた方法で加えて、当該日時のデータが加えられた見本のデータ構造の間の第1の類似度を算出する請求項1に記載のデータ構造比較プログラム。 Date and time data acquisition means for acquiring date and time data in units of time from the plurality of comparison target data acquired from the sample data structure when the acquisition means acquires the data structure of the sample;
The first similarity calculating unit compares the second type of data of a plurality of sample data structures with the second type of data having the first type of data common between the sample data structures. The date and time data acquired by the date and time data acquisition means is added to a type of data by a predetermined method, and a first similarity between sample data structures to which the date and time data is added is calculated. 1. The data structure comparison program according to 1.
前記取得手段が取得した複数の前記見本のデータ構造の前記第2の種類のデータを比較する際に、前記見本のデータ構造間で前記第1の種類のデータが共通する第2の種類のデータ間の第1の類似度をそれぞれ算出する第1の類似度算出手段と、
前記第1の類似度算出手段が前記第2の種類のデータ毎に算出した前記第1の類似度に基づいて前記見本のデータ構造間の第2の類似度を算出する第2の類似度算出手段と、
前記第2の類似度が予め定められた値以上の類似性を示す前記見本のデータ構造を1つの分類として抽出する抽出手段とを有するデータ構造比較装置。
A plurality of comparison objects including, as a structural element, an object, a first type of data associated as belonging to the object, and a second type of data associated as belonging to the first type of data Acquisition means for acquiring a data structure of a sample having a data structure that appears at a predetermined frequency from the data of
The second type of data in which the first type of data is common among the sample data structures when comparing the second type of data of the plurality of sample data structures acquired by the acquisition unit First similarity calculation means for calculating a first similarity between
Second similarity calculation for calculating a second similarity between the data structures of the samples based on the first similarity calculated by the first similarity calculation unit for each of the second type of data Means,
A data structure comparison apparatus comprising: extraction means for extracting the data structure of the sample showing the similarity equal to or greater than a predetermined value as the second similarity.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011121565A JP5652332B2 (en) | 2011-05-31 | 2011-05-31 | Data structure comparison program and data structure comparison device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011121565A JP5652332B2 (en) | 2011-05-31 | 2011-05-31 | Data structure comparison program and data structure comparison device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2012248144A JP2012248144A (en) | 2012-12-13 |
| JP5652332B2 true JP5652332B2 (en) | 2015-01-14 |
Family
ID=47468501
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011121565A Expired - Fee Related JP5652332B2 (en) | 2011-05-31 | 2011-05-31 | Data structure comparison program and data structure comparison device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5652332B2 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003271667A (en) * | 2002-03-15 | 2003-09-26 | Fuji Xerox Co Ltd | Device and method for calculating distance between tree structures |
| JP4992072B2 (en) * | 2005-08-16 | 2012-08-08 | 国立大学法人東京工業大学 | Similarity detection system for a plurality of XML documents, and integration system for a plurality of XML documents |
-
2011
- 2011-05-31 JP JP2011121565A patent/JP5652332B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2012248144A (en) | 2012-12-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10579661B2 (en) | System and method for machine learning and classifying data | |
| US8862638B2 (en) | Interpolation data template to normalize analytic runs | |
| WO2017151194A1 (en) | Atomic updating of graph database index structures | |
| JP2026012904A5 (en) | Document processing method, information processing system, and document processing program | |
| Edeki et al. | Comparative study of data mining and statistical learning techniques for prediction of cancer survivability | |
| CN113161001A (en) | Process path mining method based on improved LDA | |
| Lu et al. | Data mining techniques in health informatics: a case study from breast cancer research | |
| WO2011133017A2 (en) | Intelligent cancer prediction & prevention system (icp2s): e-oncologist | |
| JP5652332B2 (en) | Data structure comparison program and data structure comparison device | |
| JP5746118B2 (en) | Clustering quality improvement method | |
| JP5761029B2 (en) | Dictionary creation device, word collection method, and program | |
| Martinón-Torres et al. | Ancient human genomes offer clues about the earliest migrations out of Africa | |
| Zou et al. | HPTree: reconstructing phylogenetic trees for ultra-large unaligned DNA sequences via NJ model and Hadoop | |
| JP5772437B2 (en) | Data structure extraction program and data structure extraction device | |
| Pate et al. | rcprd: An R package to simplify the extraction and processing of Clinical Practice Research Datalink (CPRD) data, and create analysis-ready datasets | |
| Chang et al. | File recovery of high-order clearing first cluster based on FAT32 | |
| AlSaleh et al. | SNAD Arabic dataset for deep learning | |
| JP7147258B2 (en) | DATA GENERATION METHOD, DATA GENERATION PROGRAM AND INFORMATION PROCESSING APPARATUS | |
| CN108463818A (en) | Create and update connection segmentation graph | |
| Karlsson | Order in the random forest | |
| Thapa et al. | A new graph database system for multi-omics data integration and mining complex biological information | |
| CN112817969A (en) | Data query method, system, electronic device and storage medium | |
| JP5903372B2 (en) | Keyword relevance score calculation device, keyword relevance score calculation method, and program | |
| CN109858866A (en) | Personnel file file formation method and system | |
| JP5583107B2 (en) | Keyword place name pair extraction apparatus, method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140421 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20141010 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20141021 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20141103 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5652332 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |