Managing multiple data mining scoring results
Claim Score by NHIP
Abstract
Managing model scoring results in a data mining environment, the data mining environment having a data mining tool and a data mining model, in which the data mining tool scores scoring input data sets using the data mining model to produce scoring output data and store the scoring output data in records in model scoring results tables. Exemplary embodiments include registering the model scoring results tables in a model scoring results control table, in which the registering includes model scoring results table metadata, selecting from among the model scoring results tables a selected model scoring results table, in which the selecting is carried out in dependence upon metadata from the model scoring results control table, reading a scoring output data record from the selected registered model scoring results table, and storing the scoring output data record in a managed representation table.

Term
Term ended
Projected expiry passed 4 April 2022, 4.5 years ago.
- Priority and filed
- Published
- Projected expiry
- Today
22 claims: 4 independent, 18 dependent
- 1Broadest claimClaim Score 43, average(NHIP)A method for managing model scoring results in a data mining environment, the data mining environment having a data mining tool and a data mining model, wherein the data mining tool scores scoring input data sets using the data mining model to produce scoring output data and store the scoring output data in records in model scoring results tables, the method comprising the steps of:registering the model scoring results tables in a model scoring results control table, wherein the registering includes model scoring results table metadata;selecting, from among the model scoring results tables a selected model scoring results table, wherein the selecting is carried out in dependence upon metadata from the model scoring results control table;reading a scoring output data record from the selected registered model scoring results table;and storing the scoring output data record in a managed representation table.
- 8A method for managing model scoring results in a data mining environment, the data mining environment having a data mining tool and a data mining model, wherein the data mining tool scores scoring input data sets using the data mining model to produce scoring output data and store the scoring output data in records in model scoring results tables, the method comprising the steps of:registering the model scoring results tables in a model scoring results control table, wherein the registering includes model scoring results table metadata, the model scoring results control table further comprising a name for each data mining model used for scoring, a name for each input data set used for scoring, a name for each registered model scoring results table, and a scoring status indicating whether the registered model scoring results control table is actively used;selecting, from among the model scoring results tables a selected model scoring results table, wherein the selecting is carried out in dependence upon metadata from the model scoring results control table;reading a scoring output data record from the selected registered model scoring results table;and storing the scoring output data record in a managed representation table, the managed representation table further comprising an identification number for each record in each selected registered model scoring results table, a name for each data mining model used for scoring, and a name for each scoring input data set, and further wherein each registered model scoring results table further comprises a record identification number column in which is stored an identification number for each record in the model scoring results table, and the managed representation table further comprises a record identification column in which the identification number for each record from each selected registered model scoring results table is stored, the identification numbers being those identification numbers stored in the model scoring results table record identification column, and further wherein the data mining model is a clustering model and the data mining tool scores scoring input data sets using the clustering model to produce scoring output data records, to establish clusters, to select from the clusters a best fitting cluster and a second best fitting cluster, to score the fitting quality of each record to the best fitting cluster, to score the fitting quality of each record to the second best fitting cluster, and to establish a confidence value of the cluster assignment of each record, the managed representation table further comprising for each record a numerical index for the best fitting cluster, a score of the fitting quality of the record to the best fitting cluster, a numerical index for the second best fitting cluster, a score of the fitting quality of the record to the second best filling cluster, and a confidence value of the cluster assignment of the record.
- 9A system for managing model scoring results in a data mining environment, the data mining environment having a data mining tool and a data mining model, wherein the data mining tool scores scoring input data sets using the data mining model to produce scoring output data and store the scoring output data in records in model scoring results tables, the system comprising:means for registering the model scoring results tables in a model scoring results control table, wherein the registering includes model scoring results table metadata;means for selecting, from among the model scoring results tables a selected model scoring results table, wherein the selecting is carried out in dependence upon metadata from the model scoring results control table;means for reading a scoring output data record from the selected registered model scoring results table;and means for storing the scoring output data record in a managed representation table.
- 16A computer program product for managing model scoring results in a data mining environment, the data mining environment having a data mining tool and a data mining model, wherein the data mining tool scores scoring input data sets using the data mining model to produce scoring output data and store the scoring output data in records in model scoring results tables, the computer program product comprising:a recording medium;means, recorded on the recording medium, for registering the model scoring results tables in a model scoring results control table, wherein the registering includes model scoring results table metadata;means, recorded on the recording medium, for selecting, from among the model scoring results tables a selected model scoring results table, wherein the selecting is carried out in dependence upon metadata from the model scoring results control table;means, recorded on the recording medium, for reading a scoring output data record from the selected registered model scoring results table;and means, recorded on the recording medium, for storing the scoring output data record in a managed representation table.
Independent claims4
57 paragraphs in 5 sections, as filed
BACKGROUND OF THE INVENTION
[0001] 1. Field of the Invention
[0002] The field of the invention is data processing, or, more specifically, methods, systems, and products for managing multiple data mining scoring results.
[0003] 2. Description of Related Art
[0004] Data mining is a body of analytic techniques to dynamically discover patterns in historical data records and to apply properties associated with these records to production data records that exhibit similar patterns. Based on historical data, a data mining algorithm first generates a data mining model that captures the discovered patterns; this activity is called ‘model training.’ The data mining model so generated is then applied to production data; this activity is called ‘model scoring’ or ‘model apply.’
[0005] In this specification, data mining tools are described generally, but we often use the data mining tool known as IBM's Intelligent Miner as a particular example. When we use a data mining tool, such as, for example, IBM's Intelligent Miner, to apply a single mining model, such as, for example, the kind of mining model known as a ‘clustering model,’ to a single data set, the scoring results typically are stored in a single output table that is specifically designed for that mining model and data set. The scoring results so generated typically then are queried by reporting tools to find which record has which score. In practical applications, however, several mining models are created, and each mining model often is used to score several data sets. If the scoring results for every mining model and for every data set on which it can be applied are considered, there often is a large number of scoring result tables that need to be queried by the reporting tools. Because the scoring results are stored in different results tables that have different names, it is very difficult to build queries to select information from the different tables. This presents a situation in which there is no system support to manage the various result tables, although it would be advantageous if there were.
[0006] More specifically, it would be advantageous to have a way of using a particular scoring result table to store scoring results from multiple mining models scored on multiple data sets. Such a scoring result table could be queried based on the mining model and data source as well as other keys to extract desired sets of records and their scores. Such a system could provide simplicity, efficiency and ease of maintenance, in addition to a clean interface to scoring results for reporting tools and applications.
SUMMARY OF THE INVENTION
[0007] Exemplary embodiments of the invention typically include methods for managing model scoring results in a data mining environment, the data mining environment having a data mining tool and a data mining model, in which the data mining tool scores scoring input data sets using the data mining model to produce scoring output data and store the scoring output data in records in model scoring results tables. Exemplary embodiments typically include registering the model scoring results tables in a model scoring results control table, in which the registering includes model scoring results table metadata, and selecting, from among the model scoring results tables a selected model scoring results table, in which the selecting is carried out in dependence upon metadata from the model scoring results control table. Some embodiments typically include reading a scoring output data record from the selected registered model scoring results table, and storing the scoring output data record in a managed representation table.
[0008] In exemplary embodiments, the model scoring results control table typically includes a name for each data mining model used for scoring, and a name for each input data set used for scoring. In some embodiments, the model scoring results control table typically includes a name for each registered model scoring results table, and a scoring status indicating whether the registered model scoring results control table is actively used.
[0009] In exemplary embodiments, the managed representation table typically includes an identification number for each record in each selected registered model scoring results table, a name for each data mining model used for scoring, a name for each scoring input data set, and model scoring results data from each selected registered model scoring results table. In some embodiments, each registered model scoring results table typically includes a record identification number column in which is stored an identification number for each record in the model scoring results table. In other embodiments, the managed representation table typically includes a record identification column in which the identification number for each record from each selected registered model scoring results table is stored, the identification numbers being those identification numbers stored in the model scoring results table record identification column.
[0010] In exemplary embodiments, the data mining model is typically a clustering model and the data mining tool typically scores scoring input data sets using the clustering model to produce scoring output data records, to establish clusters, to select from the clusters a best fitting cluster and a second best fitting cluster, to score the fitting quality of each record to the best fitting cluster, to score the fitting quality of each record to the second best fitting cluster, and to establish a confidence value of the cluster assignment of each record. In some embodiments, the managed representation table typically includes a numerical index for the best fitting cluster, a score of the fitting quality of the record to the best fitting cluster, and a numerical index for the second best fitting cluster, for each record. In such embodiments, the managed representation table also includes a score of the fitting quality of the record to the second best filling cluster, and a confidence value of the cluster assignment of the record for each record.
[0011] In exemplary embodiments, the model scoring results control table typically includes a registered model scoring results table name column in which a name for each registered model scoring results table is stored, and a data mining model name column in which a name for each data mining model used for scoring is stored.
[0012] Exemplary embodiments typically include indexing the registered model scoring results table name column, and indexing the data mining model name column.
[0013] In exemplary embodiments of the invention, the managed representation table typically includes a record identification column in which an identification number for each record in the registered model scoring results table is stored, a data mining model name column in which a name for each data mining model used for scoring is stored, and an input data set name column in which a name for each scoring input data set is stored. Some embodiments typically include indexing the record identification column, indexing the data mining model name column, and indexing the input data set name column.
[0014] The foregoing and other objects, features and advantages of the invention will be apparent from the following more particular descriptions of exemplary embodiments of the invention as illustrated in the accompanying drawings wherein like reference numbers generally represent like parts of exemplary embodiments of the invention.
BRIEF DESCRIPTION OF THE DRAWINGS
[0015]FIG. 1 is a general process flow diagram illustrating a typical example embodiment of the present invention.
[0016]FIG. 2 depicts an example of an embodiment of a metadata table structure for a scoring results control table.
[0017]FIG. 3 depicts an example of an embodiment of a metadata table structure for a managed representation table.
[0018]FIG. 4 is a process flow diagram illustrating an indexing aspect of a typical example embodiment of the present invention.
[0019]FIG. 5 is a process flow diagram illustrating an indexing aspect of a typical example embodiment of the present invention.
[0020]FIG. 6 is an example illustration of an embodiment of a model scoring results control table.
[0021]FIG. 7 is an example illustration of an embodiment of a managed representation table.
DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS
Introduction
[0022] The present invention is described to a large extent in this specification in terms of methods for managing multiple data mining scoring results. Persons skilled in the art, however, will recognize that any computer system that includes suitable programming means for operating in accordance with the disclosed methods also falls well within the scope of the present invention.
[0023] Suitable programming means include any means for directing a computer system to execute the steps of the method of the invention, including for example, systems comprised of processing units and arithmetic-logic circuits coupled to computer memory, which systems have the capability of storing in computer memory, which computer memory includes electronic circuits configured to store data and program instructions, programmed steps of the method of the invention for execution by a processing unit. The invention also may be embodied in a computer program product, such as a diskette or other recording medium, for use with any suitable data processing system.
[0024] Embodiments of a computer program product may be implemented by use of any recording medium for machine-readable information, including magnetic media, optical media, or other suitable media. Persons skilled in the art will immediately recognize that any computer system having suitable programming means will be capable of executing the steps of the method of the invention as embodied in a program product. Persons skilled in the art will recognize immediately that, although most of the exemplary embodiments described in this specification are oriented to software installed and executing on computer hardware, nevertheless, alternative embodiments implemented as firmware or as hardware are well within the scope of the present invention.
Definitions
[0025] In this specification, the terms “field” and “data element” are used as synonyms referring to individual elements of digital data. Aggregates of data elements are referred to as “records” or “data structures.” Aggregates of records are referred to as “tables” or “files.” Aggregates of tables are referred to as “databases.” Records and fields in a table in a database are sometimes referred to respectively as “rows” and “columns.”
[0026] A “primary key” is a column or group of columns in a table having unique values in each row.
[0027] The “Structured Query Language,” or “SQL,” is an industry-standard query language. The industry-standard SQL Data Definition Language (“DDL”) is often used to create data schema or record structures for inclusion in data stores or files. In this specification, scripts operable as DDL scripts for creating record structures in tables are referred to as DDL scripts or as SQL scripts or as SQL DDL scripts.
[0028] “IBM DB2 Universal Database,” or “DB2,” is a family of relational database products offered by IBM. “DB2 Call Level Interface,” or “DB2 CLI,” is IBM's callable SQL interface to the DB2 family of database servers, and is an “application programming interface” (“API”) for relational database access. DB2 CLI is based on the Microsoft “Open Database Connectivity” (“ODBC”) specification which is a standard database access method allowing access to data from various applications.
[0029] “Java” is an industry-standard programming language. “Java Database Connectivity,” or “JDBC” is an API that allows access from the Java programming language to tabular data sources. JDBC provides cross-database management system connectivity to a wide range of SQL databases and tabular data sources such as spreadsheets and flat files.
DETAILED DESCRIPTION
[0030] In this disclosure, we present exemplary embodiments of a management system for multiple data mining model scoring results. Data mining involves scoring an input data set using a data mining model. The results of a single scoring are stored in a single model scoring results table. A large number of model scoring results tables are created by multiple scorings involving multiple data mining models and multiple input data sets. Each model scoring results table may be individually queried by reporting tools.
[0031] The foregoing data mining models, input data sets, and model scoring results tables are data mining objects typically involved in a data mining environment where a data mining tool is used with data mining objects in the performance of data mining activities. For convenience in describing typical embodiments of the present invention, we generally refer to IBM's Intelligent Miner as the data mining tool, although persons skilled in the art will realize that any general-purpose data mining tool providing standard data mining functionality is useful to carry out the pertinent steps for exemplary embodiments of the present invention.
[0032] Exemplary embodiments of the present invention, as described in more detail below, typically provide a model scoring results control table in which model scoring results tables are registered. Such a control table in typical embodiments provides metadata useful for selecting model scoring results tables, the selected tables being read such that records from the selected tables are stored in a managed representation table.
[0033] Turning now to FIG. 1, an exemplary embodiment of the present invention is seen to provide a method for managing model scoring results in a data mining environment. The data mining environment has a data mining tool (<b>100</b>) and a data mining model. A typical data mining tool scores scoring input data sets using the data mining model to produce scoring output data and store the scoring output data in records in model scoring results tables (<b>104</b>).
[0034] Embodiments of the kind shown in FIG. 1 typically include registering (<b>102</b>) the model scoring results tables (<b>104</b>) in a model scoring results control table (<b>106</b>), wherein the registering includes model scoring results table metadata. Such embodiments also typically include selecting (<b>108</b>), from among the model scoring results tables (<b>104</b>) a selected model scoring results table (<b>104</b>), wherein the selecting is carried out in dependence upon metadata from the model scoring results control table (<b>106</b>). Such embodiments also typically include reading (<b>112</b>) a scoring output data record (<b>114</b>) from the selected registered model scoring results table (<b>110</b>), and storing (<b>116</b>) the scoring output data record (<b>114</b>) in a managed representation table (<b>118</b>).
[0035] Turning now to FIG. 2, a further embodiment of the present invention is illustrated by use of a data structure (<b>200</b>) for a model scoring results control table comprising a name for each data mining model used for scoring (<b>202</b>), a name for each input data set used for scoring (<b>204</b>), a name for each registered model scoring results table (<b>206</b>), and a scoring status indicating whether the registered model scoring results control table is actively used (<b>208</b>). In some embodiments of the kind illustrated in FIG. 2, the scoring status (<b>208</b>) has the value “0” if the model scoring results table is not actively used and “1” if the model scoring results table is actively used.
[0036] The following DDL script is an example of a script useful within various embodiments of the present invention to create a model scoring results control table named “APPTABS” based upon the model scoring results control table (reference <b>106</b> on FIG. 1) described above and illustrated in FIG. 2. <tables id="TABLE-US-00001" num="1"><table frame="none" colsep="0" rowsep="0"><tgroup align="left" colsep="0" rowsep="0" cols="2"><colspec colname="OFFSET" colwidth="21PT" align="left" /><colspec colname="1" colwidth="196PT" align="left" /><thead><row><entry /><entry /></row><row><entry /><entry namest="OFFSET" nameend="1" align="center" rowsep="1" /></row></thead><tbody valign="top"><row><entry /><entry>create table APPTABS (</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="3"><colspec colname="OFFSET" colwidth="35PT" align="left" /><colspec colname="1" colwidth="105PT" align="left" /><colspec colname="2" colwidth="77PT" align="left" /><tbody valign="top"><row><entry /><entry>model_name</entry><entry>varchar(32) not null,</entry></row><row><entry /><entry>scoring_input_data_name</entry><entry>varchar(32) not null,</entry></row><row><entry /><entry>scoring_results_table_name</entry><entry>varchar(32) not null,</entry></row><row><entry /><entry>scoring_status</entry><entry>integer,</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="2"><colspec colname="OFFSET" colwidth="35PT" align="left" /><colspec colname="1" colwidth="182PT" align="left" /><tbody valign="top"><row><entry /><entry>primary key (model_name, scoring_input_data_name)</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="2"><colspec colname="OFFSET" colwidth="21PT" align="left" /><colspec colname="1" colwidth="196PT" align="left" /><tbody valign="top"><row><entry /><entry>);</entry></row><row><entry /><entry namest="OFFSET" nameend="1" align="center" rowsep="1" /></row></tbody></tgroup></table></tables>
[0037] Use of the model scoring results control table (<b>118</b>) provides the benefits of storing the names (<b>206</b>) of all model scoring results tables in a readily accessed single location, along with other information specifically related to each of the individual model scoring results tables, such as the name (<b>202</b>) of the data mining models utilized for the scoring, and the name (<b>204</b>) of the input data used in the scoring. The data mining tool operator is thus provided with a metadata table with a description of all the model scoring results tables, even when the model scoring results tables are generated from multiple applications of different data mining models on different input data sets. Furthermore, the model scoring results control table is readily updatable to include new model scoring results tables. The updating activity is more readily managed and implemented using the model scoring results control table.
[0038] Turning now to FIG. 3, a still further embodiment of the present invention is shown wherein a managed representation table is implemented by data structure (<b>300</b>). The data structure comprises an identification number for each record in each selected registered model scoring results table (<b>302</b>), a name for each data mining model used for scoring (<b>304</b>), a name for each scoring input data set (<b>306</b>), and model scoring results data from each selected registered model scoring results table (<b>308</b>).
[0039] In some embodiments of the kind illustrated in FIG. 3, each registered model scoring results table (reference <b>110</b> on FIG. 1) further comprises a record identification number column in which is stored an identification number for each record (<b>114</b>) in the model scoring results table, and the managed representation table further comprises a record identification column in which an identification number (<b>302</b>) for each record from each selected registered model scoring results table is stored. The identification numbers stored in the management representation table record identification column are the record identification numbers stored in the model scoring results table record identification column for all the selected model scoring results tables.
[0040] In some embodiments of the kind illustrated in FIG. 3, each of the registered model scoring results table has a primary key, the primary key comprising the record identification number column in the registered model scoring results table. A data type of “integer” is shown in FIG. 3 for the record identification column. In situations in which the model scoring results table primary key has a different data type, such as “bigint” or “varchar,” further embodiments of the managed representation table will have corresponding data types for the record identification column. Similarly, if the model scoring results table has a primary key consisting of more than one column, further embodiments of the managed representation table will have additional columns to correspond with the additional primary key columns.
[0041] In some embodiments of the kind illustrated in FIG. 3, the data mining model is a clustering model and the data mining tool scores scoring input data sets using the clustering model to produce scoring output data records. When the data mining tool scores the input data sets it establishes clusters and selects from the clusters a best fitting cluster and a second best fitting cluster and scores the fitting quality of each record to the best fitting cluster and the second best fitting cluster. The data mining tool also establishes a confidence value of the cluster assignment of each record. In such embodiments the managed representation table further comprises for each record a numerical index for the best fitting cluster (<b>310</b>), the score of the fitting quality of the record to the best fitting cluster (<b>312</b>), a numerical index for the second best fitting cluster (<b>314</b>), the score of the fitting quality of the record to the second best filling cluster (<b>316</b>), and the confidence of the cluster assignment of the record (<b>318</b>).
[0042] The following DDL script is an example of a script useful within exemplary embodiments of the present invention to create a managed representation table named “APPSCORE” based upon the managed representation table (reference <b>118</b> on FIG. 1) described above and using the data structure illustrated in FIG. 3. <tables id="TABLE-US-00002" num="2"><table frame="none" colsep="0" rowsep="0"><tgroup align="left" colsep="0" rowsep="0" cols="2"><colspec colname="OFFSET" colwidth="28PT" align="left" /><colspec colname="1" colwidth="189PT" align="left" /><thead><row><entry /><entry /></row><row><entry /><entry namest="OFFSET" nameend="1" align="center" rowsep="1" /></row></thead><tbody valign="top"><row><entry /><entry>create table APPSCORE (</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="3"><colspec colname="OFFSET" colwidth="42PT" align="left" /><colspec colname="1" colwidth="84PT" align="left" /><colspec colname="2" colwidth="91PT" align="left" /><tbody valign="top"><row><entry /><entry>record_id</entry><entry>integer not null,</entry></row><row><entry /><entry>model_name</entry><entry>varchar(32) not null,</entry></row><row><entry /><entry>scoring_input_data_name</entry><entry>varchar(32) not null,</entry></row><row><entry /><entry>cluster_id</entry><entry>integer,</entry></row><row><entry /><entry>score</entry><entry>double,</entry></row><row><entry /><entry>cluster2_id</entry><entry>integer,</entry></row><row><entry /><entry>score2</entry><entry>double,</entry></row><row><entry /><entry>confidence</entry><entry>double,</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="2"><colspec colname="OFFSET" colwidth="42PT" align="left" /><colspec colname="1" colwidth="175PT" align="left" /><tbody valign="top"><row><entry /><entry>primary key (record_id, model_name,</entry></row><row><entry /><entry>scoring_input_data_name)</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="2"><colspec colname="OFFSET" colwidth="28PT" align="left" /><colspec colname="1" colwidth="189PT" align="left" /><tbody valign="top"><row><entry /><entry>);</entry></row><row><entry /><entry namest="OFFSET" nameend="1" align="center" rowsep="1" /></row></tbody></tgroup></table></tables>
[0043] In the foregoing exemplary embodiment, selected model scoring results tables are selected based on metadata in the model scoring results control table named “APPTABS”. The selected model scoring results tables are read and the data obtained by reading such tables is stored in the managed representation table named “APPSCORE”. The following program logic is provided to enable the selecting, reading and storing necessary to populate the managed representation table with the desired model scoring results data. <tables id="TABLE-US-00003" num="3"><table frame="none" colsep="0" rowsep="0" pgwide="1"><tgroup align="left" colsep="0" rowsep="0" cols="2"><colspec colname="OFFSET" colwidth="14PT" align="left" /><colspec colname="1" colwidth="245PT" align="left" /><thead><row><entry /><entry /></row><row><entry /><entry namest="OFFSET" nameend="1" align="center" rowsep="1" /></row></thead><tbody valign="top"><row><entry /><entry>Select APPTABS.model_name as m_model_name,</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="2"><colspec colname="OFFSET" colwidth="28PT" align="left" /><colspec colname="1" colwidth="231PT" align="left" /><tbody valign="top"><row><entry /><entry>APPTABS.scoring_input_data_name</entry></row><row><entry /><entry>as m_scoring_input_data_name,</entry></row><row><entry /><entry>APPTABS.scoring_results_table_name</entry></row><row><entry /><entry>as m_scoring_results_table_name</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="2"><colspec colname="OFFSET" colwidth="14PT" align="left" /><colspec colname="1" colwidth="245PT" align="left" /><tbody valign="top"><row><entry /><entry>from APPTABS table where scoring_status=‘1’;</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="1"><colspec colname="1" colwidth="259PT" align="left" /><tbody valign="top"><row><entry>For each m_scoring_results_table_name in the above selected list {</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="2"><colspec colname="OFFSET" colwidth="14PT" align="left" /><colspec colname="1" colwidth="245PT" align="left" /><tbody valign="top"><row><entry /><entry>Delete from APPSCORE where</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="2"><colspec colname="OFFSET" colwidth="28PT" align="left" /><colspec colname="1" colwidth="231PT" align="left" /><tbody valign="top"><row><entry /><entry>APPSCORE.model_name=‘m_model_name’ and</entry></row><row><entry /><entry>APPSCORE.scoring_input_data_name=‘m_scoring_input_data</entry></row><row><entry /><entry>_name’;</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="2"><colspec colname="OFFSET" colwidth="14PT" align="left" /><colspec colname="1" colwidth="245PT" align="left" /><tbody valign="top"><row><entry /><entry>Insert into APPSCORE values (record_id,</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="2"><colspec colname="OFFSET" colwidth="56PT" align="left" /><colspec colname="1" colwidth="203PT" align="left" /><tbody valign="top"><row><entry /><entry>model_name,</entry></row><row><entry /><entry>scoring_input_data_name,</entry></row><row><entry /><entry>cluster_id,</entry></row><row><entry /><entry>score,</entry></row><row><entry /><entry>cluster2_id,</entry></row><row><entry /><entry>score2,</entry></row><row><entry /><entry>confidence)</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="2"><colspec colname="OFFSET" colwidth="14PT" align="left" /><colspec colname="1" colwidth="245PT" align="left" /><tbody valign="top"><row><entry /><entry>Select</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="2"><colspec colname="OFFSET" colwidth="28PT" align="left" /><colspec colname="1" colwidth="231PT" align="left" /><tbody valign="top"><row><entry /><entry>key1,</entry></row><row><entry /><entry>‘m_model_name’,</entry></row><row><entry /><entry>‘m_scoring_input_data_name’,</entry></row><row><entry /><entry>Integer(seg_index),</entry></row><row><entry /><entry>Score,</entry></row><row><entry /><entry>Integer(seg2_index),</entry></row><row><entry /><entry>Score2,</entry></row><row><entry /><entry>confidence</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="2"><colspec colname="OFFSET" colwidth="14PT" align="left" /><colspec colname="1" colwidth="245PT" align="left" /><tbody valign="top"><row><entry /><entry>From</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="2"><colspec colname="OFFSET" colwidth="28PT" align="left" /><colspec colname="1" colwidth="231PT" align="left" /><tbody valign="top"><row><entry /><entry>m_scoring_results_table_name</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="1"><colspec colname="1" colwidth="259PT" align="left" /><tbody valign="top"><row><entry>} End for</entry></row><row><entry namest="1" nameend="1" align="center" rowsep="1" /></row></tbody></tgroup></table></tables>
[0044] In the foregoing, “key1” is the column name of the primary key in a typical registered model scoring results table. The terms “seg_index” and “score” are the column names in the registered model scoring results table for saving the segment index and its corresponding score for the best fitting cluster. Similarly, the terms “seg2_index” and “score2” are the column names in the registered model scoring results table for saving the segment index and its corresponding score for the second best fitting cluster. The term “confidence” is the column name in the registered model scoring results table for saving the confidence value for cluster assignment.
[0045] The foregoing involves the selection from “m_scoring_results_table_name” which is part of the result set of the previous selection from the scoring results control table. This requires dynamic composition of the SQL statement which can be done using JDBC or DB2 CLI.
[0046] Use of the managed representation table (reference <b>118</b> on FIG. 1) provides the benefits of storing the actual data from multiple registered model scoring results tables in a single table. After selecting the registered model scoring results tables of interest from the model scoring results control table (<b>106</b>), the data mining tool operator is provided with this single managed representation table and can use reporting tools to query the included scoring results with respect to individual records read from the selected model scoring results tables and stored within columns in the managed representation table. In addition to the scoring results data, the managed representation table provides information related to the data. In typical embodiments such related information includes the identification number (reference <b>302</b> on FIG. 3) for each model scoring results table record stored in the managed representation table, the name (<b>304</b>) of the data mining model associated with the record, and the name (<b>306</b>) of the scoring input data set associated with the record.
[0047] Turning now to FIG. 4, a further embodiment of a model scoring results control table (<b>106</b>) is shown wherein the model scoring results control table comprises a registered model scoring results table name column in which a name for each registered model scoring results table is stored and a data mining model name column in which a name for each data mining model used for scoring is stored. This embodiment further comprises indexing (<b>400</b>) the registered model scoring results table name column to create an index (<b>402</b>) on the registered model scoring results table name column and indexing (<b>404</b>) the data mining model name column to create index (<b>406</b>) on the data mining model name column.
[0048] Turning now to FIG. 5, a further embodiment of the managed representation table (<b>118</b>) is shown wherein the managed representation table comprises a record identification column in which an identification number for each record in the registered model scoring results table is stored, a data mining model name column in which a name for each data mining model used for scoring is stored, and an input data set name column in which a name for each scoring input data set is stored. This embodiment further comprises indexing (<b>500</b>) the record identification column to create an index (<b>502</b>) on the record identification column, indexing (<b>504</b>) the data mining model name column to create an index (<b>506</b>) on the data mining model name column, and indexing (<b>508</b>) the scoring input data name column to create an index (<b>510</b>) on the scoring input data name column.
[0049]FIG. 6 and FIG. 7 show the details of an exemplary embodiment of the present invention in an example of the multiple model scoring results tables management system wherein the data mining tool utilizes two different data mining models in two different scorings. The example uses the following “Demographic Segmentation Model A” (hereinafter “Model A”) and “Demographic Segmentation Model B” (hereinafter “Model B”). <tables id="TABLE-US-00004" num="4"><table frame="none" colsep="0" rowsep="0"><tgroup align="left" colsep="0" rowsep="0" cols="1"><colspec colname="1" colwidth="217PT" align="center" /><thead><row><entry /></row><row><entry namest="1" nameend="1" align="center" rowsep="1" /></row></thead><tbody valign="top"><row><entry>Demographic Segmentation Model A:</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="3"><colspec colname="OFFSET" colwidth="21PT" align="left" /><colspec colname="1" colwidth="112PT" align="left" /><colspec colname="2" colwidth="84PT" align="left" /><tbody valign="top"><row><entry /><entry>Data mining model name:</entry><entry>wcainitchar11</entry></row><row><entry /><entry>Scoring input data set used as</entry><entry>wcamng.initchar</entry></row><row><entry /><entry>input for model scoring:</entry></row><row><entry /><entry>Model scoring results table</entry><entry>wcamng.initapp11</entry></row><row><entry /><entry>for model scoring:</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="1"><colspec colname="1" colwidth="217PT" align="center" /><tbody valign="top"><row><entry>Demographic Segmentation Model B:</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="3"><colspec colname="OFFSET" colwidth="21PT" align="left" /><colspec colname="1" colwidth="112PT" align="left" /><colspec colname="2" colwidth="84PT" align="left" /><tbody valign="top"><row><entry /><entry>Data mining model name:</entry><entry>wcamembchar22</entry></row><row><entry /><entry>Scoring input data set used as</entry><entry>wcamng.membsums</entry></row><row><entry /><entry>input for model scoring:</entry></row><row><entry /><entry>Model scoring results table</entry><entry>wcamng.memapp22</entry></row><row><entry /><entry>for model scoring:</entry></row><row><entry /><entry namest="OFFSET" nameend="2" align="center" rowsep="1" /></row></tbody></tgroup></table></tables>
[0050] With reference to Model A, and as illustrated in FIG. 6, the data mining model has the name (<b>202</b>) of “wcainitchar11” and the scoring input data set used for the Model A scoring has the name (<b>204</b>) of “wcamng.initchar.” The model scoring results table has the name (<b>206</b>) of “wcamng.initapp11” and is shown to have an “active” scoring status (<b>208</b>).
[0051] With reference to Model B, and as further illustrated in FIG. 6, the data mining model has the name (<b>202</b>) of “wcamembchar22” and the scoring input data set used for the Model B scoring has the name (<b>204</b>) of “wcamng.membsums.” The model scoring results table has the name (<b>206</b>) of “wcamng.memapp22” and is shown to have an “active” scoring status (<b>208</b>).
[0052] The model scoring results tables “wcamng.initapp11 ” and “wcamng.memapp22” are unmanaged until registered in the models scoring results control table (<b>106</b>) along with related metadata to enable the selection of either or both of the tables for reading. In the example embodiment illustrated in FIG. 7, both model scoring results tables are selected. Records (reference <b>114</b> on FIG. 1) are then read (<b>112</b>) from the tables and stored (<b>116</b>) in the managed representation table (<b>118</b>).
[0053] The foregoing example illustrates the advantage of managing multiple model scoring results tables in the managed representation table. As shown in FIG. 7, the data mining model name related to each record is displayed in the data mining model name column of the managed representation table along with the name of the related scoring input data set used in the scoring. This information accompanies the actual scores and other scoring output data included in each record. This assembly of information for each record is readily available for querying by typical reporting tools.
[0054] For example, in embodiments of this kind, a query that locates records having a “cluster_id” value of “1” locates the record with the “record_id” of “10,010,” as shown in FIG. 7. The managed representation table described in this example embodiment shows that this record was generated when the data mining model “wcainitchar11” was used in scoring the input data named “wcanmg.initchar.” The same query locates the record “9,990,” which was generated when a different data mining model named “wcamembchar22” was used in scoring the different input data named “wcamng.membsums.” Each record located in such a query is accompanied by the names of the related data mining model and the related scoring input data set. This exemplary embodiment illustrates that the use of the managed representation table enhances the querying technique in that a single table can be queried that includes the collected records from multiple model scoring results tables generated by scoring multiple input data sets using multiple data mining models.
[0055] It will be understood from the foregoing description that various modifications and changes may be made in the exemplary embodiments of the present invention without departing from its true spirit. It is intended that this description is for purposes of illustration only and should not be construed in a limiting sense. The scope of this invention should be limited only by the language of the following claims.
Contents5
8 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5 Sheet 6 Sheet 7 Sheet 8
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| US2016019246A1 | Cited by | United States of America | Pre-grant |
| US2008270336A1 | Cited by | United States of America | Pre-grant |
| US9495347B2 | Cited by | United States of America | Search report |
| US2005027683A1 | Cited by | United States of America | Pre-grant |
| WO2015009297A1 | Cited by | World Intellectual Property Organization (WIPO) | International search |
| US7571191B2 | Cited by | United States of America | Search report |
| US10198459B2 | Cited by | United States of America | Applicant |
| US10762142B2 | Cited by | United States of America | Applicant |
| US10157206B2 | Cited by | United States of America | Applicant |
| US2003195889A1 | Cited by | United States of America | Pre-grant |
| CN105608228A | Cited by | China | Search report |
| US6970882B2 | Cited by | United States of America | Search report |
| US8078559B2 | Cited by | United States of America | Applicant |
| US10423640B2 | Cited by | United States of America | Applicant |
| US2006112048A1 | Cited by | United States of America | Pre-grant |
| US10140323B2 | Cited by | United States of America | Search report |
| US6240411B1 | Cites | United States of America | Pre-grant |
| US6836773B2 | Cites | United States of America | Pre-grant |
| US6920458B1 | Cites | United States of America | Pre-grant |
1 member in 1 office
Priority claims2
| Document | Office | Kind | Date |
|---|---|---|---|
| 11664802 | United States of America | A | |
| US20020116648 | – | – | – |
Members1
| Document | Office | Kind | |
|---|---|---|---|
| US2003191727A1 | United States of America | A1 |
2 legal events, as the office reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | |
|---|---|---|
| Information on status: application discontinuationABANDONED -- AFTER EXAMINER'S ANSWER OR BOARD OF APPEALS DECISIONSTCB | STCB | |
| AssignmentAS | AS |
Numbers
- Publication, DOCDB
- 2003191727
- Publication, EPODOC
- US2003191727
- Application
- 10116648
- Application, DOCDB
- 11664802
- Application, EPODOC
- US20020116648
Titles
- English
- Managing multiple data mining scoring results
Classification
- CPC, 2
- G06F17/30539
- G06F16/2465
- IPC, 2
- G06E1 00
- G06F17 30
- USPC, 2
- 706020000
- 707E17005