US6629095B1 - System and method for integrating data mining into a relational database management system - Google Patents

System and method for integrating data mining into a relational database management system Download PDF

Info

Publication number
US6629095B1
US6629095B1 US09/170,990 US17099098A US6629095B1 US 6629095 B1 US6629095 B1 US 6629095B1 US 17099098 A US17099098 A US 17099098A US 6629095 B1 US6629095 B1 US 6629095B1
Authority
US
United States
Prior art keywords
data mining
data
model
values
relational
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
Application number
US09/170,990
Inventor
William M. Wagstaff
Donovan A. Schneider
Ann M. Koehler
Craig J. Bunger
Richard L. Cole
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SAP SE
Red Brick Systems Inc
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Priority to US09/170,990 priority Critical patent/US6629095B1/en
Assigned to RED BRICK SYSTEMS, INC. reassignment RED BRICK SYSTEMS, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: WAGSTAFF, WILLIAM M., SCHNEIDER, DONOVAN A., BUNGER, CRAIG J., COLE, RICHARD L., KOEHLER, ANN M.
Assigned to INFORMIX SOFTWARE, INC. reassignment INFORMIX SOFTWARE, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: RED BRICK SYSTEMS, INC.
Assigned to RED BRICK SYSTEMS, INC. reassignment RED BRICK SYSTEMS, INC. RECISSION OF ASSIGNMENT Assignors: INFORMIX SOFTWARE, INC.
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION reassignment INTERNATIONAL BUSINESS MACHINES CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: INFORMIX CORPORATION AND/OR INFORMIX SOFTWARE INC.
Application granted granted Critical
Publication of US6629095B1 publication Critical patent/US6629095B1/en
Assigned to SAP AG reassignment SAP AG ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: INTERNATIONAL BUSINESS MACHINES CORPORATION
Assigned to SAP SE reassignment SAP SE CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: SAP AG
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99931Database or file accessing
    • Y10S707/99933Query processing, i.e. searching
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99931Database or file accessing
    • Y10S707/99933Query processing, i.e. searching
    • Y10S707/99934Query formulation, input preparation, or translation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99931Database or file accessing
    • Y10S707/99933Query processing, i.e. searching
    • Y10S707/99935Query augmenting and refining, e.g. inexact access
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99931Database or file accessing
    • Y10S707/99933Query processing, i.e. searching
    • Y10S707/99936Pattern matching access

Definitions

  • the present invention relates to relational database management systems. More specifically, the invention relates to data mining applications for data stored in a relational database table.
  • Data mining is the process of discovering unexpected patterns or trends in existing data so that a database user can use the discovered knowledge to manage a business more effectively. For example, a typical application might study the demographic information known about a list of customers to create a profile of people most likely to buy a given product, respond to a direct mail campaign, or default on a loan.
  • an analyst who writes a query that compares sales last year to sales this year is looking for an accurate result to a routine business question, while an analyst who mines sales data is looking for patterns or trends that might be interesting and useful to understand. If the sales comparison query reveals that sales this year are up 200% from last year in some stores but only 100% in others, for example, the analyst might want to mine the data to discover any unexpected reasons for this discrepancy.
  • the data warehouse application helps analysts understand what happened, while data mining applications attempt to tell analysts why it happened. It is useful for a retailer to know, for example, what factor had the greatest impact on sales of a given product, and whether the retailer can control that factor or take advantage of that knowledge. Any number of factors can influence sales—price, style, packaging, promotions, placement in the store, season, weather, day of week, time of day, and so on. Without requiring analysts to ask explicit questions about each possible factor, a data mining application can read very large volumes of data and discover both obvious and hidden trends.
  • a data mining exercise consists of two main phases: building a model and predicting future results.
  • a model defines the influencing factors (input data) is and the potential outcomes (output values). If the data must be obtained from a large pool of data that already exists (e.g., a relational database), the model also defines how these factors and outcomes are selected and mapped from the larger pool of data.
  • the set of inputs which might be very large (100 or more), is a list of factors that might influence the output.
  • the result of the data mining exercise is a much smaller list of inputs that individually or in combination with other inputs does influence the output.
  • the model provides the ability to predict an output given a set of input characteristics. For example, if the model accurately reflects the tendency of customers with certain attributes (age, gender, income, and so on) to purchase a luxury automobile, the discovered results can be compared with a list of prospective buyers to determine those most likely to make a purchase in the near future. Because models can be used independently or in conjunction with query analysis, a warehouse query might be issued to generate a promotional mailing list from a Customer table.
  • Categorization analysis (a subset of data mining) has useful applications in various industries—financial services, direct mail marketing, telecommunications, insurance, healthcare, retail sales—as a means of solving business problems by leveraging a deeper knowledge of the targeted consumers. Some of these applications are as follows:
  • Promotion analysis In retail sales, understanding which products customers often purchase in combination with other products can lead to changes and improvements to in-store displays, seasonal promotions, advertising campaigns, and general advertising strategies.
  • Rate and usage analysis In telecommunications, studying the details of customer calls helps analysts find ways to better serve customers and keep their business, as well as improve the day-to-day service available to those customers.
  • Fraud detection In insurance, healthcare, and credit-card businesses, discovering the typical characteristics of a fraudulent claim or application helps analysts predict and prevent future fraudulent activity.
  • transporting the data to the data mining functionality typically involves sending the file over an ODBC connection.
  • transporting the large data sets necessary for many data mining projects over such connections is too slow for many applications.
  • a related problem exists in providing the mined results back into a database. Specifically, other tools need to transfer the mined results back into the database, further increasing the overhead.
  • some data mining products employ spreadsheets to provide the data used in the data mining operation and to display results of the operation. Without a mechanism for rapidly porting large data sets (from a large database for example), the size of the data sets employed with such products are limited. In addition to limiting application of data mining to relatively small data sets, this can limit the validity of models generated from the data.
  • the present invention fills this need by providing an integrated data mining and relational database system. This is accomplished by eliminating the need to convert data to a flat file and export it from the relational database management system to a data mining engine. In addition, the invention makes patterns uncovered during data mining (e.g., “understand” and “predict” information) available in virtual relational database tables that can be queried.
  • patterns uncovered during data mining e.g., “understand” and “predict” information
  • the relational database management system integrated with the data mining engine is integrated on a server.
  • the data mining engine determines characteristics of relationships between input data values and an output data value that are obtained from a relational database (managed by the relational database management system).
  • the integration allows direct conversion of data values from the relational database to data mining identifiers used for data mining operations by the data mining engine. It also allows identifiers output by the data mining engine to be converted back to the data values.
  • prior data mining systems did not integrate data mining engines with relational database management systems. Therefore, they had to first convert data from the relational table to a flat file or other format before transferring that data to the data mining engine, which then converted the raw data to data mining identifiers for the process of data mining.
  • the integrated data mining engine and the relational database system of this invention allows users to create a data mining model that includes a model table specifying input columns and an output column for rows of values from the relational database.
  • the rows specify the relationships between the input values and the output value.
  • the model table includes a definition for the model but is not populated with data values.
  • the model itself may include one or more data model look up indexes specifying translations between values in the relational database and data mining identifiers used by the data mining engine to represent the relational database values.
  • One look up index may be a forward translation index configured to translate data values from the relational database to data mining identifiers.
  • Another look up index may be a reverse translation index configured to translate data mining identifiers to corresponding data values from the relational database.
  • the indexes allow data to be inserted for calculations by the data mining and rows to be constructed in response to user queries.
  • Another aspect of the invention relates to data mining models including a definition for a relational table providing multiple relationships between input values and output values and indicia of the “importance” of each relationship between an output and one or more inputs.
  • relational tables are sometimes referred to as UNDERSTAND sub-tables.
  • the importance of the relationship may be determined by the data mining model to be any one or more criteria indicating how strong the tie between the input values and the output value might be. Often the importance indicates the strength of the correlation between the input values and the output value.
  • the relational table is not actually populated with data, but is tied to a data mining model so that the computer system can construct rows corresponding to the relationships in response to user queries. These rows can be displayed as views or otherwise presented to the user for review.
  • relational table may not be populated with data values, it does include a definition that may specify one or more columns for user specified outputs and inputs from a relational database.
  • the rows of the table may specify relationships between input data values and an output data value.
  • the definition may also specify one or more columns that indicate the importance of the relationships.
  • one column might be defined to contain values indicating occurrence counts for the relationships, another to contain occurrence frequencies for the relationships, and another to specify correlations for the relationships.
  • the importance of the relationships (however it is represented) is calculated by a data mining engine.
  • Yet another aspect of the invention provides a data mining model including a definition for a relational “ PREDICT ” table providing multiple relationships between input values and output values and configured to return a predicted output value in response to a query containing one or more input values.
  • the relational predict table is further configured to return a “confidence” value for the predicted output value it returns in response to the query.
  • the confidence in the prediction may take various forms. For example, it may take the form of a discrimination value calculated by a data mining engine. The discrimination indicates the relative likelihood of one output occurring over another output in response to the same set of inputs.
  • the PREDICT relational table preferable exists only as a definition, unpopulated by actual data values.
  • the computer system constructs rows corresponding to the relationships that include a column for an output and one or more columns for user specified inputs from a relational database.
  • the rows will also include a column for confidence in the predicted output (indicated as a discrimination value for example).
  • Another aspect of the invention provides a method of evaluating a query on a predict table in a data mining model.
  • the method may be characterized as follows: (a) identifying an expression or sub-expression in a predicate of the query; (b) identify a start/stop condition from the expression or sub-expression; (c) binding the start/stop condition to a column of the predict table; and (d) passing column values constrained by the start/stop condition to a data mining engine.
  • the method may require that expression meet certain criteria before its start/stop conditions will be bound to the column. If the expression or sub-expression does not meet these criteria, the DBMS may defer application of start/stop conditions (or even evaluation of start/stop conditions) until after receiving results of a data mining operation from the data mining engine.
  • condition that the expression or sub-expression be atomic and conjunctive is the condition that the expression or sub-expression be atomic and conjunctive. Further, the expression or sub-expression may have to compare a bindable value to a model input.
  • FIG. 1A is a block diagram illustrating a preferred architecture of this invention in which an integrated database (or warehouse) and data mine conducts rapid data mining operations in connection with a front-end tool.
  • FIG. 1B is a block diagram of a warehouse server of this invention including an integrated relational database and data mining model/engine.
  • FIG. 2 is a flow diagram illustrating an iterative technique for creating and using and refining a data mining model.
  • FIG. 3A is a process flow diagram depicting a procedure used by a database system to create a data mining model in accordance with one embodiment of this invention.
  • FIG. 3B is a diagram representing a “bucket name table” created by a system of this invention to keep track of ranges of continuous data values used in a data mining model.
  • FIG. 3C is a diagram representing a “composite” index for translating a bucket name to a corresponding identifier used by a data mining engine integrated with a relational database management system.
  • FIG. 3D is a diagram representing a reverse look up index for translating an identifier used by a data mining engine to an attribute used in a relational database.
  • FIG. 3E is a diagram representing forward look up indexes for translating an attribute used in a relational database to an identifier used by a data mining engine to integrated with a relational database management system.
  • FIG. 4 is a process flow diagram illustrating a procedure for inserting data into a model with data from a relational database.
  • FIG. 5A is a process flow diagram illustrating a procedure for selecting information from an “ UNDERSTAND ” table generated with the aid of a data mining engine.
  • FIG. 5B is a diagram of a relationship stream from a data mining engine and used by a database system to present information from an UNDERSTAND sub-table.
  • FIG. 6A is a process flow diagram illustrating a procedure for selecting information from a “ PREDICT ” sub-table generated with the aid of a data mining engine.
  • FIG. 6B is a process flow diagram illustrating a procedure for pre-processing a predicate of a query on a PREDICT sub-table in order to define start/stop conditions for the input columns submitted to a data mining engine.
  • FIG. 6C is a process flow diagram illustrating a procedure for composing rows of data in response to a query on a PREDICT sub-table.
  • the present invention makes use of a data mining engine that calculates one or more values representing the importance of relationships chosen by a data mining user.
  • the relationships represent a connection between an output value (e.g., whether or not popcorn was sold) and one or more input values (e.g., types of candy sold and types of drink sold).
  • the data defining individual instances of these relationships may be obtained from a relational database.
  • one relationship used by the data mining engine might be that for customer A, a sale of chocolate (candy) and lemonade (drink) did not result in a popcorn sale.
  • customer B a sale of a soda (drink) but no candy resulted in popcorn sale.
  • customer C a sale chocolate with a soda resulted in a popcorn sale.
  • a customer D a sale of licorice and no soda resulted in no popcorn sale.
  • the data mining user is interested in factors affecting the sale of popcorn. Do some products go with popcorn more naturally than others do? Obviously, more profound and complex data mining investigations can be performed. For now, just recognize that a large group of relationship instances of a standard form (e.g., input CANDY, input DRINK, output POPCORN SALE (yes or no)) are examined by the data mining engine to determine the importance of each of them or of groups of them.
  • the “importance” may take the form of a correlation between specific inputs and a specific output, the discrimination between the two different relationships having the same inputs (but different outputs), the occurrence rate of a particular relationship instance (a gauge of the statistical validity of the result), etc.
  • This invention assumes that the data mining engine properly performs its role of analyzing the relationships and outputting the importance of the various relationships. It is not concerned with the calculations that make up the data mining operation.
  • the invention is directed to ways in which the data mining engine and a relational database system (e.g., a RDBMS) are integrated. Preferably, they are tightly integrated such that the data mining engine can perform its calculations without transferring large blocks of data from a remote database.
  • the integration also allows the relationships provided by the user and the information calculated by the data mining engine to be analyzed in relational tables.
  • RDBMS the entire process of building a data mining model and using it for understanding and prediction may be done with a standard (or slightly extended) set of SQL commands.
  • Some suitable data mining engines work on compact data mining identifiers that represent values comprising the relationship instances. For example, “chocolate” may be represented by the identifier “ 56 .” The reason for using identifiers is that the data mining engine can manipulate small identifiers much easier than it can the corresponding text strings, floating point values, images, etc. that are stored in a database.
  • An example of a suitable data mining engine for use with this invention is the “DataCruncher” from DataMind Corporation.
  • FIG. 1A represents a client server architecture that may be used with the database systems of this invention.
  • a network 3 includes a server 5 that services requests from a network client 7 .
  • Server 5 includes a relational database management system 9 (e.g., a Data Warehouse such the Red Brick Warehouse available from Red Brick Systems, Inc. of Los Gatos, Calif.) integrated with a data mining engine 11 .
  • RDBMS 9 and data mining engine 11 are so tightly integrated that they appear as single server to client 7 —which communicates directly with the RDBMS.
  • the result of this integration is one product—a data warehouse RDBMS with data mining capabilities as well as ad hoc query analysis functions.
  • all capabilities and functions of server 5 are accessible via SQL, using a conventional SQL-based front-end tool running on client 7 , for example.
  • server 5 (including RDBMS 9 and data mining engine 11 ) runs on a single machine such as a computer running a UNIX or Microsoft Windows NT operating system.
  • client 7 runs on a PC or workstation.
  • machine readable media that include program instructions, tables, indexes, etc. for performing various operations described herein.
  • machine-readable media include, but are not limited to, magnetic media such as hard disks, floppy disks, and magnetic tape; optical media such as CD-ROM disks; magneto-optical media such as floptical disks; and hardware devices that are specially configured to store and perform program instructions, such as read-only memory devices (ROM) and random access memory (RAM).
  • program instructions include both machine code, such as produced by a compiler, and files containing higher level code that may be executed by the computer using an interpreter.
  • FIG. 1B shows how a relational database serves as the data source for a data mining model, which consists of the parent “table” and three child “sub-tables.”
  • RDBMS server 5 includes a collection of tables 21 that together provide the data necessary to populate a data mining model 25 .
  • Data from tables 21 is represented in a “model” 27 within the umbrella data mining model 25 .
  • Model 27 lists the user-defined output and various inputs defining the relationship instances for data mining.
  • the model does contain data, but only unique data. For example, in the popcorn example, no matter how many users buy “soft drinks,” only one instance of the value “soft drink” exists in the model and it is associated with a data mining identifier.
  • Data mining engine 11 keeps a count of the occurrences of the “soft drink” value in the data set.
  • inputs and outputs may be inserted into or deleted from model 27 .
  • the inputs and outputs correspond to columns from tables 21 .
  • the descriptions of the sub-tables are created automatically when the model is created. Specifically, the system creates an UNDERSTAND sub-table 29 , a PREDICT sub-table 31 , and, optionally, a BINARY sub-table 33 .
  • the data mining discovery process is performed on the server whenever data is inserted into the model; users can query the UNDERSTAND and PREDICT sub-tables to study the results of that process.
  • UNDERSTAND sub-table 29 presents patters patterns uncovered by data mining engine 11 during the discovery process. In a specific embodiment, it may rate patterns it discovers in terms of “importance” (strength of the relationship or correlation), occurrence count, occurrence frequency, discrimination, etc.
  • PREDICT sub-table 31 may be queried to discover the most likely output for a given set of input values. Thus, users can use the results of the data mining discovery process as a predictive tool or model to forecast events. Typically, the user's query will include a list of inputs and the PREDICT output will be a likely outcome based on those inputs.
  • a particularly important value calculated by data mining engine 11 for use with PREDICT sub-table 31 is a discrimination value which indicates the relatively likelihood that one outcome will prevail over another.
  • BINARY sub-table 33 contains a binary file readable by a front-end data mining client application 35 (including a graphical user interface) resident on client 7 .
  • This sub-table allows models created on a data mining client running application 35 to be “uploaded” to the server 5 , while models created on server 5 in SQL can be “downloaded” to client 7 .
  • application 35 provides a graphical user interface (GUI) on a PC and connects to the database via an ODBC interface.
  • GUI graphical user interface
  • One example of a suitable client application is the Red Brick Data Mine Builder application; for details on its operation refer to the Red Brick Data Mine Builder User's Guide available from Red Brick Systems, Inc. of Los Gatos, Calif.
  • data mining model 25 communicates with data mining engine 11 , which includes an internal model data object 39 containing the identifiers used by the data mining engine during the discovery process.
  • internal model data object 39 represents the relationships specified in model 27 via data mining identifiers that the data mining engine can manipulate during discovery. It keeps count of the occurrences of each value (identifier) in the data set. It also recognizes the input and output columns defined for the model, but it is populated with identifiers rather than data values of the database.
  • Data object 39 provides a link between the data mining model 25 (part of the RDBMS) and data mining engine 11 .
  • the integrated data mining RDBMS systems of this invention may be used in an iterative process:
  • the first four steps represent a complete phase in the process that might be called the model-building phase. These steps are likely to be performed by an application developer—someone very familiar with the RDBMS and SQL.
  • the fifth step represents a second phase that is more likely to be of interest to business analysts. Predictive models may be typically shared and reused among various decision-making groups connected to the same data warehouse.
  • FIG. 2 illustrates the iterative nature of a data mining process 201 .
  • an application developer creates a model at a step 203 . This may involve defining the inputs, outputs, and other relevant model parameters in a CREATE MODEL statement.
  • the RDBMS then creates definitions for the model table 27 and the UNDERSTAND , PREDICT , and BINARY sub-tables 29 , 31 , and 33 . Other possible steps associated with this process will be detailed below with reference to FIGS. 3A-3D.
  • the developer instructs the RDBMS to insert data into the model (via an INSERT command for example).
  • This “populates” the model with data and initiates execution of the data mining engine.
  • the data mining engine provides information about patterns in the user-defined relationships and it makes this information available to the UNDERSTAND , PREDICT , and BINARY sub-tables 29 , 31 , and 33 .
  • Each new insert may update the model (but only if it contains values not already in the model).
  • the sub-tables share data stored in the model.
  • a user queries UNDERSTAND sub-table 29 to find out what patterns were uncovered during the data mining discovery operation (initiated by the user's INSERT command).
  • the UNDERSTAND sub-table may indicate that relevant patterns were uncovered. These patterns could be used for forecasting and other predictions. If the user sees no further reason to refine the model, he or she may use the model to predict outcomes of other inputs in a prediction step 209 . Alternatively, the user may decide, on reflection of the UNDERSTAND table query, that the model could use refinement. If so, he or she refines the model at a step 211 .
  • step 205 This may involve modification of the CREATE MODEL statement prepared at step 203 and then a subsequent model population step initiated by an INSERT command as in step 205 .
  • the refined model then may be repopulated (step 205 ) and checked with a query of the UNDERSTAND sub-table per step 207 .
  • the user may find that the model is suitable for prediction, and the process moves to step 209 .
  • RED BRICK DATA MINE USER'S GUIDE from Red Brick Systems, Inc.
  • a data mining engine is closely integrated with a relational database management system through a series of data mining specific SQL statements and through a collection of indexes which translates values from a relational database to simpler “identifiers” used by a data mining engine.
  • this invention is not limited to this particular collection of SQL statements or indexes.
  • the invention is not necessarily limited to use with data mining engines that employ simple identifiers of the type described below (“data mining identifiers” or DMIDs).
  • data mining identifiers or DMIDs
  • the invention will be described with respect to a data mining engine resembling the “DataCruncher” made available by DataMind Corporation.
  • a process for creating a model in accordance with one embodiment of this invention corresponds to step 203 of FIG. 2 .
  • the system e.g., server 5
  • receives a CREATE MODEL command from the user e.g., server 5
  • a CREATE MODEL command may completely define the model including its input columns, output column, any bucket ranges, any discrimination threshold, and any occurrence threshold.
  • a CREATE MODEL command may be the following:
  • the purpose of this model is to discover what combinations of candy and drink purchases at a chain of movie theaters tend to be accompanied by a purchase of popcorn (an example of categorization analysis).
  • the Popcorn column contains the values “Yes” and “No,” while the other two columns contain generic names of types of candy and drinks (for example, “Chocolate” and “Soda”).
  • any number of input columns could be added to the model, and multiple versions of the model could be created to “rotate” the columns.
  • a second model could have the Popcorn and Drinks columns as inputs and the Candy column as the output.
  • Such “product grouping” analyses are common in the retail industry. The goal of these analyses is to discover what products tend to be bought or consumed together, then find ways to promote or facilitate the sales of those products.
  • the system After the system receives the CREATE MODEL command at step 301 , it instructs the data mining engine to create internal model data object 39 (FIG. 1B) at a step 303 .
  • This may involve passing the name of the model to the data mining engine to allow it to allocate space and internally make any necessary arrangements. It may also involve registering input and output columns with the data mining engine without specific reference to type or name or other descriptive information.
  • the CREATE MODEL command also triggers the creation of the model sub-tables.
  • the system creates definitions for a relational PREDICT sub-table of the model.
  • the PREDICT sub-table is not yet populated with data.
  • the population step will have to await a subsequent process of populating the model (via queries from a user, for example).
  • the system merely provides a name for the PREDICT sub-table as well as input columns and associated data types, an output column and an associated data type as specified by the CREATE MODEL command received at step 301 . It may also define PREDICT sub-table columns for the Rank, Validity, Discrimination Score, etc. of the relationships defined by the inputs and output.
  • the system creates definitions for a relational UNDERSTAND table.
  • creation of the UNDERSTAND sub-table does not involve populating that table. Rather, it simply sets up the definitions including the table name, input columns and data types, output column and a data type, a column for the importance of each relationship, a column for the occurrence frequency of each relationship, etc.
  • the system creates the definitions for a BINARY sub-table. Again, this sub-table is not yet populated with values.
  • the appropriate definitions including a user-defined name of the BINARY sub-table is provided at this step.
  • This sub-table includes a BINARY file that is readable by a separate application (see application 35 FIG. 1A) that provides a convenient interface for creating a model, transferring the model from the server to the client, and interpreting the results of a discovery operation.
  • a DMID table for use with a reverse look up index (see step 311 ).
  • This table stores DMIDs for all the values in all the input and output columns in the model.
  • the nature and purpose of such table/index will be detailed below with reference to FIG. 3 B. For now, simply recognize that this “reverse“index is used to translate DMIDs used by a data mining engine to corresponding values from the relational database. This table/index is not populated at this point. Space is allocated and the necessary definitions are created.
  • the system creates definitions for one or more “forward” indexes on model input and output columns.
  • forward indexes are used to translate values from the relational database to corresponding DMIDs for use by the data mining engine. This index is not populated at this point. Space is allocated and the necessary definitions are created.
  • Any given input or output column in a model may have its values represented as ranges of discrete values (which appear in the relational database).
  • a user might specify such ranges in a MAPPING RANGES specification of a CREATE MODEL statement; e.g.,
  • the system may create a bucket name table 331 as illustrated in FIG. 3 D. This procedure is illustrated at a decision step 315 and a process step 317 in FIG. 3 A.
  • the system determines whether the CREATE MODEL command specifies buckets of data for an input or output column. If so, the system creates and populates a bucket name table (as exemplified in FIG. 3D) for each input or output column including buckets.
  • the bucket name table includes a bucket name column, a range column, and a sequence number of the range (e.g., 0 , 1 , 2 , or 3 for Q 1 , Q 2 , Q 3 , or Q 4 ).
  • the range column represents a range of discrete data values from the relational database which constitute a given bucket.
  • the bucket names correspond to quarters of a year.
  • quarter 1 (“Q 1 ”) appears in the bucket name column and the corresponding value in the range column are the dates January 1 through March 31.
  • the standard ranges are identified for Q 2 , Q 3 , and Q 4 as illustrated. Note that a separate bucket name table may be created for each column that employs mapped ranges.
  • a data type conversion associated with the values in a column that has been range mapped.
  • conversions are implicit.
  • the relationship between the range column and the mapped column is stored in the model.
  • Both the pre-mapped column and the post-mapped column definitions are part of the model. In essence, one inserts into the pre-mapped column and selects from the post-mapped column.
  • a composite index 341 may be represented as a table having as a key a combination of the values in two columns: a column number in the model column and a range sequence number column.
  • the composite index includes a third column: a DMID column.
  • a single composite index is created for all columns that include mapped ranges—as exemplified in FIG. 3 C.
  • the composite index is used to get the DMID associated with a mapped to range (sequence number) associated with a given column. Note that the system must obtain the DMID for each mapped range at this point (in order to populate the index). It may accomplish this by requesting the new DMIDs from the data mining engine. Similar operations will be described with reference to the INSERT operation described with reference to FIG. 4 .
  • the data mining engine uses DMIDs not only for representing specific data values in tables, but also for representing the columns themselves that house those data values in the model. This is important because it lets the data mining engine know the relationship between the model inputs and the model output.
  • the system registers input and output columns for DMIDs usable by the data mining engine (see step 321 ). Registration accomplishes two sub-steps: (1) the DBMS receives DMIDs to identify each column and (2) the data mining engine receives notification that there is a relationship (indicated by specifying some columns as input columns and one column as an output column). Regarding the first of these sub-steps, the system must obtain the column DMIDs from the data mining engine as described for step 319 . The DMID/column pairs that result are stored in the DMID model created at step 311 . Regarding the second of these sub-steps, the system flags the DMIDs associated with output data columns so that the data mining engine understands these DMIDs to be output DMIDs.
  • the system creates the definitions for the model table itself. This involves specifying all input columns and the output column for the model table itself. This step is analogous to steps 305 , 307 , and 309 for defining the three sub-tables of the model.
  • the model table is not yet populated with data.
  • the model table serves as a template to allow insertions, deletions, etc. of input and output data and columns in the model. This is particularly beneficial during model refinement (step 211 of FIG. 2 ).
  • the model also serves as the object of any data insertions into the model.
  • the system sets any discrimination and/or occurrence thresholds as necessary; the use of such thresholds is described below. If the user has specified one or more of these thresholds in the CREATE MODEL command, those thresholds are employed in the model definition. Otherwise, the system simply uses the default threshold values. After setting any necessary threshold values, the model definition is complete and the CREATE MODEL command has been fully executed.
  • the system creates definitions for a reverse look up index.
  • a reverse look up index is illustrated in FIG. 3 D.
  • the left side of this diagram shows a definition 351 for the index as it might appear (logically) at the model creation phase of data mining.
  • the index definition includes a DMID and an associated value from the relational database.
  • index definition 351 includes a DMID column and a value column.
  • the column number of model table 27 is stored in the index (as a third column) where a row ID is ordinarily stored (i.e., in an index on an ordinary table).
  • the DMID portion of this key forms the leading component of the index to allow easy conversion of a DMID provided from the data mining engine to the associated relational database attribute value.
  • the reverse look up index is unpopulated at this stage. Later, at the model population phase, the DMIDs for discrete data values from the relational database are specified as illustrated at the right side of the FIG. 3D (see index 351 ′).
  • the system also defines a forward index for each input and output column of the model. Again, because the model has not yet been populated with discrete values, this step merely defines the indexes and does not populate them. That is, it does not assign DMIDs for specific database values.
  • FIG. 3E where at the CREATE MODEL phase (left side of the figure), three separate forward indexes ( 361 , 363 , and 365 ) are defined, one for each attribute in the model. For the sake of simplicity, this model has as input columns “gender” and “color.” It has as an output column “food.” In these forward indexes, the key is the column value from the relational database.
  • the leading component of the key is the relational database attribute, not the DMID.
  • the purpose of the forward index is to translate relational database values to DMIDs that can be provided to the data mining engine.
  • the forward indexes are used to translate data from the relational database to the data mining engine.
  • the reverse index is used to translate data from the data mining engine to the relational database format.
  • a separate forward index is created for each attribute in the model. In is contrast, only a single reverse index is created, which includes all attributes in the model. This is because the system does not know which column a DMID is associated with until it looks it up in the index. Note that the forward indexes may be combined into a single index.
  • the indexes described herein are implemented as B-Tree indexes.
  • the population phase (sometimes referred to as the INSERT phase) of the invention is depicted in FIG. 4 as a process 400 .
  • a model may be populated and the data mining discovery process is triggered when an INSERT statement that selects rows from existing database tables is issued.
  • INSERT statement that selects rows from existing database tables is issued.
  • a predefined table or view exists in the database that contains the three columns used in the model:
  • Each row reflects a sales transaction at a movie theater.
  • the INSERT statement would look like this:
  • this statement selects all the rows and columns from the view and inserts them into the model.
  • this is the simplest possible query in most cases the INSERT statement will contain a much more complex query that to “transforms” the warehouse data into a result set that matches a larger set of column definitions in the model. For example, the query might join several tables and perform calculations on certain columns.
  • the data mining discovery process may take place automatically, and the UNDERSTAND and PREDICT sub-tables may be queried based on the newly inserted relationships without further user intervention. These sub-tables are the source of the knowledge discovered by the data mining exercise.
  • process 400 the system gets the first row of the data at a step 401 . This row will include multiple input columns and an output column. After the first row has been selected and made the ” current row,” the system gets the first column of that row at a step 403 . This column of the first row is then made the “current column.” During process 400 , the system incrementally considers each row and each column of such row in a nested fashion. Thus, process 400 repeatedly loops back through steps 401 and 403 as detailed below.
  • the system determines, at a decision step 405 , whether the value at that intersection is in a bucket. If so, the system translates the discrete value from the relational database (and associated with that column-row intersection) to a bucket value (see step 407 which may employ a bucket name table as in FIG. 3 B). Assuming, on the other hand, that the system determines that the value at the current row-column intersection is not to be converted to a bucket value, the system next determines whether the associated relational database value exists in a forward index (such as the indexes depicted in FIG. 3 E). See step 409 .
  • a forward index such as the indexes depicted in FIG. 3 E
  • step 409 the system gets the associated DMID from the forward index at a step 411 .
  • the current value was part of a bucket (decision step 405 was answered in the affirmative) process control is directed from step 407 to step 411 .
  • the DMID for the associated bucket value is retrieved from the appropriate forward index.
  • the system identifies a new DMID for that value and then adds the new value-DMID pair to the appropriate forward index and to the reverse index. See step 413 .
  • the system may consult the data mining engine.
  • Step 414 the system next determines whether there are any other columns in the current row at a decision step 414 . Assuming that there are other columns in the current row, process control returns to step 403 where the system gets the next column in the model. Process control then follows the above defined flow beginning at decision step 405 . The system continues to loop through the flow bracketed by steps 403 and 414 until each column of the current row has been considered. Step 414 may also be performed immediately after step 411 (which assumes that decision step 409 had been answered in the affirmative).
  • the system After all columns for the current row have been considered (step 414 answered in the negative), the system provides the row associated DMIDs for the current row to the data mining engine.
  • the data mining engine may then insert them into its internal model data object 39 (FIG. 1B) at a step 417 .
  • step 419 the system determines whether there are any other rows remaining in the data to be inserted at a decision step 419 . Assuming that such additional rows do exist, process control returns to step 401 when the system retrieves the next row of the data for consideration as described above.
  • the flow bracketed by steps 401 and 419 defines the outer loop of the nested column-row process 400 . Eventually, all rows of the data to be inserted into the model will be considered. At that point, decision step 419 is answered in the negative and the process is concluded.
  • a process for selecting information from an UNDERSTAND sub-table is depicted in FIG. 5A as a process flow 500 .
  • the results of the discovery process may be selected from the UNDERSTAND sub-table, using any SELECT statement.
  • the contents of this sub-table may be quite detailed, but the essential information may be embodied in a few specific columns.
  • the most useful discovery ratings are the “Importance” values; these specify, numerically, the strength of the relationship (or correlation) between a given input value or set of input values and a given output value.
  • a set of input values that, taken together, are significant is known as a conjunction; each conjunction is given an ID number.
  • the query process begins with the system receiving a query (in standard SQL, for example) on the UNDERSTAND sub-table.
  • the system then calls an appropriate API of the data mining engine to receive the engine's representation of the complete understand table.
  • the UNDERSTAND sub-table is provided as a relationship stream.
  • This stream may be represented as illustrated in FIG. 5 B.
  • the stream is provided as pairs of DMIDs for each relationship in the model followed by information about the relationship as determined by the data mining engine.
  • such relationship stream may include a stream of pairs ⁇ DMID IN , DMID OUT >, where DMID IN represents a particular value for a particular input column and DMID OUT represents a particular value for the output column. Each pair represents a relationship.
  • DMID IN could be CANDY:chocolate and DMID OUT is POPCORN:NO.
  • auxiliary information presenting the data mining engine's conclusions regarding the relationship.
  • this auxiliary information includes such relationship information (indicated above) as conjunctions between input values (if appropriate), the importance (correlation), occurrence count, and occurrence frequency.
  • the system receives the first relationship (of the UNDERSTAND sub-table) from the data mining engine at a step 501 .
  • the system converts the DMIDs for each pair to relational database values (or buckets as necessary) using the reverse mapping index. See step 503 . It first converts the input criteria DMID to the corresponding value and column name/number using the reverse mapping index. It then converts the output DMID to the corresponding value and column name/number.
  • step 503 converts the DMID information format used by the data mining engine to a user-friendly format that can be interpreted by the user.
  • the system evaluates any predicates in the SELECT statement.
  • Such predicates may take the form of WHERE statements which delimit the data from the UNDERSTAND sub-table that is presented to the user.
  • the system composes the row based upon any predicate, the converted DMIDs (step 503 ) and the associated relationship conclusions drawn by the data mining engine (e.g., correlation, occurrence count, and occurrence frequency).
  • This step essentially presents the values and associated relationship information to the user in a readable format by using various operators available in the relational database management system.
  • the DBMS employs an operator dedicated to handling queries of the UNDERSTAND sub-table in the manner described above.
  • an “operator” is a set of program instructions that performs a specific relational algebra operation such as join or union.
  • a DBMS may call a sequence of operators to execute the various relational operations that comprise the query.
  • step 507 the system determines whether there are any additional relationships provided by the data mining engine for the current UNDERSTAND sub-table. See step 509 . Assuming such additional relationships exist (i.e., there are additional rows in the UNDERSTAND sub-table), process control returns to step 501 . Thereafter, the process is executed as described above for the newly current relationship. At some point, all relationships (rows) for the UNDERSTAND sub-table will have been considered. At that point, decision step 509 is answered in the negative and process 500 is concluded.
  • the UNDERSTAND sub-table is not a fully populated relational table, but a “virtual table.” It contains SQL definitions of a relational table including definitions for columns, locations, sizes, data types, etc. Because it can be queried like a relational table, it appears to be a real fully populated relational table to the user. But because it only returns values when presented with a query and only after converting a relationship stream of DMIDs from the data mining engine, it need not consume much storage space and need not be maintained. Note that the model data (the unique values and buckets) are stored in the “model” and shared among the sub-tables.
  • models may require modifications in order to fine tune the discovery results.
  • the data set might not be representative or large enough or additional input and columns might be required.
  • various SQL-like commands are provided to facilitate modification.
  • a model can be refined by adding or dropping columns with an ALTER MODEL command. If necessary, a user can remove the model and its sub-tables from the database with a DROP MODEL command or delete all the rows from a model with a DELETE command. Also, a CREATE MODEL . . .
  • LIKE command allows a user to make a copy of a model and give it a new name; however, when using this command the rows in the model are not copied, just the column definitions. In this case, it might be interesting to know if the conjunction of Chocolate and Lemonade still amounts to a significant correlation when the model is tested against a larger data set; therefore, another INSERT statement could be issued to add some new rows to the model and automatically update the sub-tables.
  • the PREDICT sub-table can be queried as soon as the model is populated with data. It may be desirable to refine the model to some degree before using it for prediction. Prediction is the process of querying the PREDICT sub-table to discover the most likely output for a given set of input values. A user might query the PREDICT sub-table in two ways:
  • the Score value is an integer value that indicates the strength of the prediction. A higher number in this field indicates a stronger prediction. This value is similar to Importance in the UNDERSTAND sub-table.
  • the “Rank” field indicates its rank relative to all the other valid predictions. If the prediction is not valid, this field has the value 0 (zero). Thus, this Rank field also indicates whether or not the prediction is valid. If it is valid, the value in the Valid field is “Y”; if it is not valid, the value is “N”.
  • a valid prediction is one that satisfies the minimal requirements for the predicted output value, as defined in the model's Discrimination Threshold and Occurrence Threshold parameters.
  • the “Discrimination” field indicates the difference in Score between the best prediction and the nearest other prediction for the given inputs. If this value is small, this might indicate that this output value and the nearest other are similarly likely to occur for the specified input value, or it might indicate that the data mining engine does not have enough information to make a strong distinction between the two predictions. If this value is large, it indicates that the likelihood of the most likely output value occurring is significantly stronger than the next one in rank.
  • the three possible output values are Balanced, Payment_Late, and Overdraft. If, for a given set of inputs, the Discrimination between an output of Balanced and an output of Overdraft is 5, then this might indicate that the inputs used are not very valuable in determining account status (it cannot be accurately predicted that a person with the given characteristics will have a balanced or an overdrawn account); if the Discrimination is 90, then this might indicate that the higher-ranked prediction is useful in predicting the desired outcome (a person with the given characteristics is significantly more likely to have a balanced account than an overdrawn one).
  • the number of possible relationships returned in a query on the PREDICT sub-table is a function of the cross product of the values in the input columns of the model.
  • the number of relationships is an exponential function of the number of input columns in the model, and a query can potentially return a very large number of relationships.
  • users may wish to constrain their queries with predicates.
  • the system may become bogged down in receiving and processing each and every relationship from the data mining engine associated with the PREDICT sub-table—including many relationships that are irrelevant based upon the query predicate.
  • process 600 begins with the system receiving a user query (in standard SQL for example) on the PREDICT sub-table at a step 601 . Thereafter, the system derives any “start/stop” conditions to the extent possible from any predicate in the user query. See step 603 . Such start/stop conditions are used to constrain the number of relationships returned from the data mining engine by putting the boundaries on the input column values submitted to the data mining engine during processing of the user query. This reduces the number of terms in the cross product.
  • start/stop conditions are used to constrain the number of relationships returned from the data mining engine by putting the boundaries on the input column values submitted to the data mining engine during processing of the user query. This reduces the number of terms in the cross product.
  • the system determines whether the user query requests a prediction based on data that is provided in a row-by-row format (see step 605 ). Assuming that the answer to this question is yes, the system executes the query in a row-by-row mode as indicated at the step 607 . The process is then complete. Alternatively, the user query may specify that the predictions be made in a batch mode. If so, the system executes such query in the batch mode as indicated in step 609 . The process is then complete following this path.
  • a batch mode prediction involves a query that requires joining from another data base table or view containing data for which a prediction is desired to the PREDICT sub-table.
  • the row-by-row query approach presents the data for which a prediction is desired in a row-by-row basis (without using a table join).
  • process 603 begins with the system considering a particular sub-expression of the predicate associated with the PREDICT sub-table query.
  • a predicate may include multiple sub-expressions. See step 615 .
  • WHERE clause has three sub-expressions:
  • the predicate sub-expression is saved for post processing at step 619 as explained above.
  • the predicate compares a bindable value (and is atomic and not disjunctive)
  • the system brackets the associated column with a start/stop condition based upon the predicate sub-expression (see step 625 ).
  • the predicate is evaluated via pre-processing. This limits the number of column values that are submitted to the data mining engine.
  • step 627 After the appropriate start/stop conditions have been applied to the predicate based upon the current sub-expression, the system next determines whether there are any additional sub-expression contained within the predicate. See step 627 . If so, process control returns to step 615 where the next sub-expression in the predicate is retrieved. Ultimately, all sub-expressions in the predicate will have been considered via the above-described process flow. When this occurs, decision step 627 is answered in the negative and process 603 is completed.
  • FIG. 6 C A process for executing a query in a row-by-row mode (step 607 ) is illustrated in FIG. 6 C. As illustrated there, the process begins with the system applying any start/stop conditions that have been previously identified for pre-processing at a step 631 . Obviously, the appropriate start/stop conditions are matched to the appropriate input column values being provided to the data mining model.
  • the system feeds the relationships identified for prediction to the data mining engine. These relationships are identified by the cross product of the various input column values. Thus, every possible combination of values from the chosen input columns is submitted to the data mining engine.
  • the various cross product terms may be generated from all possible combinations of values from each of the columns using nested loops, the number of which equals the number of input columns.
  • the individual terms of the cross product will have a number of values equal to the number of input columns used in the prediction.
  • the input columns in the query might be color (red, green, or blue), gender (male or female), and season (winter, summer, fall, and spring).
  • the cross product of these input columns is ⁇ red, male, winter>, ⁇ red, male, summer>, ⁇ red, male, fall>, ⁇ red, male, spring>, ⁇ red, female, winter>, ⁇ red, female, summer>, ⁇ red, female, fall>, ⁇ red, female, spring>, ⁇ green, male, winter>, ⁇ green, male, summer>, ⁇ green, male, fall>, ⁇ green, male, spring>, ⁇ green, female, winter>, ⁇ green, female, summer>, ⁇ green, female, fall>, ⁇ green, female, spring>, ⁇ blue, male, winter>, ⁇ blue, male, summer>, ⁇ blue, male, fall>, ⁇ blue, male, spring>, ⁇ blue, female, winter>, ⁇ blue, female, summer>, ⁇ blue, female, summer>, ⁇ blue, female, fall>, and ⁇ blue, female, spring>.
  • cross product terms would be reduced to ⁇ blue, male, winter>, ⁇ blue, male, summer>, ⁇ blue, male, fall>, and ⁇ blue, male, spring>.
  • the entire cross product is not materialized; rather, it is computed incrementally.
  • the system identifies the next group of input values in the cross product. It then converts those values to the associated DMIDs at a step 635 . If the current value in the cross product term is a value that is mapped to a range, the system must first identify the bucket name associated with the value. It may accomplish this by consulting a bucket name table such as that depicted in FIG. 3 B. The DMID for the bucket name may then be obtained from a composite index such as that depicted in FIG. 3 C. If, on the other hand, the value under consideration is not part of a mapped range, then the system can simply obtain the appropriate DMID from a forward look-up index such as one of those presented in FIG. 3 E.
  • the system calls the appropriate data mining API to generate a prediction for the current relationship (as defined by the collection of input terms from the cross product).
  • the data mining engine in turn returns a series of predictions, one for each possible output value associated with the input values.
  • the outputs provided by the data mining engine may appear as streams, each including the DMID for the associated output value as well as a data structure presenting the appropriate PREDICT sub-table information about that prediction (e.g., a discrimination value).
  • the system receives the next stream of data associated with the current group from the data mining engine at a step 639 .
  • each stream is associated with a separate output value.
  • the system converts the output DMID to a corresponding database value using a reverse look up table, for example.
  • the database management system evaluates any remaining predicates of the query (i.e., the post-processing predicates of expressions). See step 641 .
  • the post-processing of predicates may includes such operations as comparisons of input values versus aggregate values, disjunctive conditions, predicates applied to the value calculated by the data mining engine (e.g., discrimination), etc.
  • the system composes a row from the current stream at a step 643 .
  • This may involve any necessary predicate post processing, the relationship's input and output values, and the associated relationship conclusions drawn by the data mining engine (e.g., discrimination).
  • This step essentially presents the values and associated relationship information to the user in a readable format by using various operators available in the relational database management system.
  • the DBMS employs an operator dedicated to handling row-by-row queries of the PREDICT sub-table in the manner described above.
  • step 645 the system determines whether the current stream provides the last output value associated with the current set of input values. If not, process control is directed back to step 639 where the system receives the next stream for the current group from the data mining engine. That stream is then processed as described above to compose an associated row. The number of output values associated with a given input groups is the number of possible output values. Ultimately, the last stream for the current group is evaluated (i.e., decision step 645 is answered in the affirmative). At that point, the system determines whether there are any more input groups left for prediction at a step 647 . This involves determining whether the last term from the cross product has been considered.
  • process control is directed back to step 633 where the system identifies the next term “group of input values” in the cross product. Those input values are then processed as described above. Ultimately, the last term of the cross product is considered (step 647 is answered in the negative) and the process is concluded. At that point, the user is presented with the rows of prediction data that he or she requested.
  • a query on the PREDICT sub-table may be executed in batch mode.
  • This approach is generally similar to the row-by-row approach (step 607 ), except that it involves a join operation between the PREDICT sub-table and some other user specified table containing the input data for which predictions are desired. This ability results because the PREDICT sub-table is has properties of a relational database table.
  • the join operation in a batch mode procedure involves comparing data values from one column of the user specified table with data values from the PREDICT sub-table. This step must be performed in order to define the sets of input values that are fed to the data mining engine for prediction.
  • the batch mode operation does the join to define which input values will be used for the prediction.
  • Each row of the table being joined to the PREDICT sub-table is used much as the set of values specified as a predicate the row-by-row process.
  • different operators are employed within the RDBMS to perform the row-by-row and batch queries on a PREDICT sub-table.
  • the PREDICT sub-table is not a fully populated relational table, but a “virtual table.” It contains SQL definitions of a relational table including definitions for columns, locations, sizes, data types, etc. Because it can be queries like a relational table, it appears to be a real fully populated relational table to the user. But because it only returns values when presented with a query and only after converting a stream of DMIDs from the data mining engine, it need not consume much storage space and need not be maintained. Again, the data stored in the model is shared by all sub-tables, including the PREDICT sub-table.
  • a data mining engine and a SQL server will treat a null value differently.
  • a null value is unknown and, in most cases, will return no answers.
  • certain data mining engines such as the DataCruncher from DataMind will return all possible answers in response a null value.
  • a SQL query will return no values, while a data mining engine will return all possible values from the age column because the value is unknown.
  • the system can be set, at the user's preference, to treat a null value in either the SQL or data mining manner.
  • a CREATE MODEL STATEMENT may include an occurrence threshold and/or a discrimination threshold.
  • the occurrence threshold defines the percentage in which a given correlation or conjunction of correlations is required before the relation is retrieved in the UNDERSTAND sub-table. Only those relations with an Occurrence Frequency score in the UNDERSTAND sub-table that is higher than the Occurrence Threshold will be retrieved.
  • the Discrimination Threshold is similar to the Occurrence Threshold, except that it applies during prediction instead of during understanding.
  • the Discrimination Threshold affects the number of rows that are generated for a prediction on an input row. If the Discrimination Threshold is set to 0.0, a prediction is generated for each possible output value. The Discrimination, or the difference in strength between the best prediction and the second best prediction, appears in the PREDICT sub-table. In one embodiment, for all prediction values other than the best prediction, the Discrimination value is NULL .
  • Discrimination Threshold is set to a value greater than 0.0, then only the best prediction appears in the PREDICT sub-table. However, if the Discrimination value for the best prediction is equal to or less than the Discrimination Threshold value, no prediction appears. In a specific embodiment, if the user does not specify a Discrimination Threshold value, the default of 0.0 (0%) is used.

Abstract

An integrated data mining and relational database management system is provided on a server. The data mining engine determines characteristics of relationships between input data values and an output data value that are obtained from a relational database (managed by the relational database management system). The integration allows direct conversion of data values from the relational database to data mining identifiers used for data mining operations by the data mining engine, and vice-versa. The integrated server also makes patterns uncovered during data mining (e.g., "understand" and "predict" information) available in virtual relational database tables that can be queried.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS
This application claims priority under 35 USC 119(e) from U.S. Provisional Application No. 60/063,999, filed Oct. 14, 1997, naming Wagstaff et al. as inventors, and titled “SYSTEM AND METHOD FOR INTEGRATING DATA MINING INTO A RELATIONAL DATABASE MANAGEMENT SYSTEM.” That application is incorporated herein by reference in its entirety and for all purposes.
BACKGROUND OF THE INVENTION
The present invention relates to relational database management systems. More specifically, the invention relates to data mining applications for data stored in a relational database table.
Data mining is the process of discovering unexpected patterns or trends in existing data so that a database user can use the discovered knowledge to manage a business more effectively. For example, a typical application might study the demographic information known about a list of customers to create a profile of people most likely to buy a given product, respond to a direct mail campaign, or default on a loan.
Despite its name, “data mining” has little to do with “drill-down” queries; these types of queries are feasible in a data warehouse that has no data mining component. The difference between a data mining exercise and standard decision support queries lies in the analyst's approach to the data: standard queries are assumption-driven, whereas data mining is discovery-based.
For example, an analyst who writes a query that compares sales last year to sales this year is looking for an accurate result to a routine business question, while an analyst who mines sales data is looking for patterns or trends that might be interesting and useful to understand. If the sales comparison query reveals that sales this year are up 200% from last year in some stores but only 100% in others, for example, the analyst might want to mine the data to discover any unexpected reasons for this discrepancy.
In other words, the data warehouse application helps analysts understand what happened, while data mining applications attempt to tell analysts why it happened. It is useful for a retailer to know, for example, what factor had the greatest impact on sales of a given product, and whether the retailer can control that factor or take advantage of that knowledge. Any number of factors can influence sales—price, style, packaging, promotions, placement in the store, season, weather, day of week, time of day, and so on. Without requiring analysts to ask explicit questions about each possible factor, a data mining application can read very large volumes of data and discover both obvious and hidden trends.
A data mining exercise consists of two main phases: building a model and predicting future results. A model defines the influencing factors (input data) is and the potential outcomes (output values). If the data must be obtained from a large pool of data that already exists (e.g., a relational database), the model also defines how these factors and outcomes are selected and mapped from the larger pool of data. The set of inputs, which might be very large (100 or more), is a list of factors that might influence the output. The result of the data mining exercise is a much smaller list of inputs that individually or in combination with other inputs does influence the output.
In turn, the model provides the ability to predict an output given a set of input characteristics. For example, if the model accurately reflects the tendency of customers with certain attributes (age, gender, income, and so on) to purchase a luxury automobile, the discovered results can be compared with a list of prospective buyers to determine those most likely to make a purchase in the near future. Because models can be used independently or in conjunction with query analysis, a warehouse query might be issued to generate a promotional mailing list from a Customer table.
Categorization analysis (a subset of data mining) has useful applications in various industries—financial services, direct mail marketing, telecommunications, insurance, healthcare, retail sales—as a means of solving business problems by leveraging a deeper knowledge of the targeted consumers. Some of these applications are as follows:
Promotion analysis—In retail sales, understanding which products customers often purchase in combination with other products can lead to changes and improvements to in-store displays, seasonal promotions, advertising campaigns, and general advertising strategies.
Churn analysis—In telecommunications, discovering the profile of individuals likely to switch (or not to switch) long-distance carriers helps find ways to attract long-term customers and discourage short-term customers from switching carriers.
Claims analysis—In insurance, isolating the characteristics of a good risk can save both time and money. In healthcare, cost-cutting measures can be discovered by analyzing the history of a claim and the profile of the claimant.
Customer profiling—In almost any business, discovering the demographic profile of consumers most likely to buy or use a given product is critical to maintaining a competitive edge. The ability to compile effective target mailing lists is a common result of good profiling.
Rate and usage analysis—In telecommunications, studying the details of customer calls helps analysts find ways to better serve customers and keep their business, as well as improve the day-to-day service available to those customers.
Fraud detection—In insurance, healthcare, and credit-card businesses, discovering the typical characteristics of a fraudulent claim or application helps analysts predict and prevent future fraudulent activity.
Various data mining products are available including “DataCruncher” from DataMind Corporation of San Mateo, Calif., “IBM Intelligent Miner” from IBM Corporation of Armonk, N.Y., and “MineSet” available from Silicon Graphics, Inc., of Redwood City, Calif. To use large data sets, all of these products must first retrieve data from a relational database (via SQL) and then convert the retrieved data to a flat file, and finally send that file to the data mining engine. Unfortunately, even if the data mining functionality can quickly and efficiently handle the large data sets it receives, the associated systems can convert and send the data only relatively slowly. First, the step of converting the database data to a flat file entails significant effort, including converting data types. Second, transporting the data to the data mining functionality typically involves sending the file over an ODBC connection. Unfortunately, transporting the large data sets necessary for many data mining projects over such connections is too slow for many applications. A related problem exists in providing the mined results back into a database. Specifically, other tools need to transfer the mined results back into the database, further increasing the overhead.
Further, some data mining products employ spreadsheets to provide the data used in the data mining operation and to display results of the operation. Without a mechanism for rapidly porting large data sets (from a large database for example), the size of the data sets employed with such products are limited. In addition to limiting application of data mining to relatively small data sets, this can limit the validity of models generated from the data.
In view of these limitations, a data mining system with improved performance would be desirable.
SUMMARY OF THE INVENTION
The present invention fills this need by providing an integrated data mining and relational database system. This is accomplished by eliminating the need to convert data to a flat file and export it from the relational database management system to a data mining engine. In addition, the invention makes patterns uncovered during data mining (e.g., “understand” and “predict” information) available in virtual relational database tables that can be queried.
Preferably, the relational database management system integrated with the data mining engine is integrated on a server. The data mining engine determines characteristics of relationships between input data values and an output data value that are obtained from a relational database (managed by the relational database management system). The integration allows direct conversion of data values from the relational database to data mining identifiers used for data mining operations by the data mining engine. It also allows identifiers output by the data mining engine to be converted back to the data values. As mentioned, prior data mining systems did not integrate data mining engines with relational database management systems. Therefore, they had to first convert data from the relational table to a flat file or other format before transferring that data to the data mining engine, which then converted the raw data to data mining identifiers for the process of data mining.
The integrated data mining engine and the relational database system of this invention allows users to create a data mining model that includes a model table specifying input columns and an output column for rows of values from the relational database. Note that the rows specify the relationships between the input values and the output value. Preferably, the model table includes a definition for the model but is not populated with data values. However, the model itself may include one or more data model look up indexes specifying translations between values in the relational database and data mining identifiers used by the data mining engine to represent the relational database values. One look up index may be a forward translation index configured to translate data values from the relational database to data mining identifiers. Another look up index may be a reverse translation index configured to translate data mining identifiers to corresponding data values from the relational database. The indexes allow data to be inserted for calculations by the data mining and rows to be constructed in response to user queries.
Another aspect of the invention relates to data mining models including a definition for a relational table providing multiple relationships between input values and output values and indicia of the “importance” of each relationship between an output and one or more inputs. Such relational tables are sometimes referred to as UNDERSTAND sub-tables. The importance of the relationship may be determined by the data mining model to be any one or more criteria indicating how strong the tie between the input values and the output value might be. Often the importance indicates the strength of the correlation between the input values and the output value.
Preferably, the relational table is not actually populated with data, but is tied to a data mining model so that the computer system can construct rows corresponding to the relationships in response to user queries. These rows can be displayed as views or otherwise presented to the user for review.
While the relational table may not be populated with data values, it does include a definition that may specify one or more columns for user specified outputs and inputs from a relational database. The rows of the table may specify relationships between input data values and an output data value. The definition may also specify one or more columns that indicate the importance of the relationships. For example, one column might be defined to contain values indicating occurrence counts for the relationships, another to contain occurrence frequencies for the relationships, and another to specify correlations for the relationships. Preferably, the importance of the relationships (however it is represented) is calculated by a data mining engine.
Yet another aspect of the invention provides a data mining model including a definition for a relational “PREDICT” table providing multiple relationships between input values and output values and configured to return a predicted output value in response to a query containing one or more input values. Preferably, the relational predict table is further configured to return a “confidence” value for the predicted output value it returns in response to the query. The confidence in the prediction may take various forms. For example, it may take the form of a discrimination value calculated by a data mining engine. The discrimination indicates the relative likelihood of one output occurring over another output in response to the same set of inputs.
The PREDICT relational table preferable exists only as a definition, unpopulated by actual data values. In response to user queries requesting a prediction, the computer system constructs rows corresponding to the relationships that include a column for an output and one or more columns for user specified inputs from a relational database. The rows will also include a column for confidence in the predicted output (indicated as a discrimination value for example).
Another aspect of the invention provides a method of evaluating a query on a predict table in a data mining model. The method may be characterized as follows: (a) identifying an expression or sub-expression in a predicate of the query; (b) identify a start/stop condition from the expression or sub-expression; (c) binding the start/stop condition to a column of the predict table; and (d) passing column values constrained by the start/stop condition to a data mining engine. The method may require that expression meet certain criteria before its start/stop conditions will be bound to the column. If the expression or sub-expression does not meet these criteria, the DBMS may defer application of start/stop conditions (or even evaluation of start/stop conditions) until after receiving results of a data mining operation from the data mining engine. An example of a condition used to determine whether a start/stop condition should be applied before or after data mining is the condition that the expression or sub-expression be atomic and conjunctive. Further, the expression or sub-expression may have to compare a bindable value to a model input.
These and other features and advantages of the present invention will be detailed below with reference to associated drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1A is a block diagram illustrating a preferred architecture of this invention in which an integrated database (or warehouse) and data mine conducts rapid data mining operations in connection with a front-end tool.
FIG. 1B is a block diagram of a warehouse server of this invention including an integrated relational database and data mining model/engine.
FIG. 2 is a flow diagram illustrating an iterative technique for creating and using and refining a data mining model.
FIG. 3A is a process flow diagram depicting a procedure used by a database system to create a data mining model in accordance with one embodiment of this invention.
FIG. 3B is a diagram representing a “bucket name table” created by a system of this invention to keep track of ranges of continuous data values used in a data mining model.
FIG. 3C is a diagram representing a “composite” index for translating a bucket name to a corresponding identifier used by a data mining engine integrated with a relational database management system.
FIG. 3D is a diagram representing a reverse look up index for translating an identifier used by a data mining engine to an attribute used in a relational database.
FIG. 3E is a diagram representing forward look up indexes for translating an attribute used in a relational database to an identifier used by a data mining engine to integrated with a relational database management system.
FIG. 4 is a process flow diagram illustrating a procedure for inserting data into a model with data from a relational database.
FIG. 5A is a process flow diagram illustrating a procedure for selecting information from an “UNDERSTAND” table generated with the aid of a data mining engine.
FIG. 5B is a diagram of a relationship stream from a data mining engine and used by a database system to present information from an UNDERSTAND sub-table.
FIG. 6A is a process flow diagram illustrating a procedure for selecting information from a “PREDICT” sub-table generated with the aid of a data mining engine.
FIG. 6B is a process flow diagram illustrating a procedure for pre-processing a predicate of a query on a PREDICT sub-table in order to define start/stop conditions for the input columns submitted to a data mining engine.
FIG. 6C is a process flow diagram illustrating a procedure for composing rows of data in response to a query on a PREDICT sub-table.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
The present invention makes use of a data mining engine that calculates one or more values representing the importance of relationships chosen by a data mining user. The relationships represent a connection between an output value (e.g., whether or not popcorn was sold) and one or more input values (e.g., types of candy sold and types of drink sold). The data defining individual instances of these relationships may be obtained from a relational database. For example, one relationship used by the data mining engine might be that for customer A, a sale of chocolate (candy) and lemonade (drink) did not result in a popcorn sale. For customer B, a sale of a soda (drink) but no candy resulted in popcorn sale. For a customer C, a sale chocolate with a soda resulted in a popcorn sale. And for a customer D, a sale of licorice and no soda resulted in no popcorn sale.
In this example, the data mining user is interested in factors affecting the sale of popcorn. Do some products go with popcorn more naturally than others do? Obviously, more profound and complex data mining investigations can be performed. For now, just recognize that a large group of relationship instances of a standard form (e.g., input CANDY, input DRINK, output POPCORN SALE (yes or no)) are examined by the data mining engine to determine the importance of each of them or of groups of them. The “importance” may take the form of a correlation between specific inputs and a specific output, the discrimination between the two different relationships having the same inputs (but different outputs), the occurrence rate of a particular relationship instance (a gauge of the statistical validity of the result), etc.
This invention assumes that the data mining engine properly performs its role of analyzing the relationships and outputting the importance of the various relationships. It is not concerned with the calculations that make up the data mining operation. The invention is directed to ways in which the data mining engine and a relational database system (e.g., a RDBMS) are integrated. Preferably, they are tightly integrated such that the data mining engine can perform its calculations without transferring large blocks of data from a remote database. Preferably, the integration also allows the relationships provided by the user and the information calculated by the data mining engine to be analyzed in relational tables. By using an RDBMS, the entire process of building a data mining model and using it for understanding and prediction may be done with a standard (or slightly extended) set of SQL commands.
Some suitable data mining engines work on compact data mining identifiers that represent values comprising the relationship instances. For example, “chocolate” may be represented by the identifier “56.” The reason for using identifiers is that the data mining engine can manipulate small identifiers much easier than it can the corresponding text strings, floating point values, images, etc. that are stored in a database. An example of a suitable data mining engine for use with this invention is the “DataCruncher” from DataMind Corporation.
FIG. 1A represents a client server architecture that may be used with the database systems of this invention. As shown, a network 3 includes a server 5 that services requests from a network client 7. Server 5 includes a relational database management system 9 (e.g., a Data Warehouse such the Red Brick Warehouse available from Red Brick Systems, Inc. of Los Gatos, Calif.) integrated with a data mining engine 11. Preferably, RDBMS 9 and data mining engine 11 are so tightly integrated that they appear as single server to client 7—which communicates directly with the RDBMS. The result of this integration is one product—a data warehouse RDBMS with data mining capabilities as well as ad hoc query analysis functions. Preferably, all capabilities and functions of server 5 are accessible via SQL, using a conventional SQL-based front-end tool running on client 7, for example.
Generally, the servers and/or the clients of this invention may be specially constructed for the required purposes, or, more typically, may be a general purpose programmable machine selectively activated or reconfigured by a computer program stored in memory. The processes presented herein are not inherently related to any particular computer or other computing apparatus. In one specific example, server 5 (including RDBMS 9 and data mining engine 11) runs on a single machine such as a computer running a UNIX or Microsoft Windows NT operating system. In a specific example, client 7 runs on a PC or workstation.
Because the information (tables, indexes, and certain other data structures) and program instructions may be employed to implement the data mining systems/methods described herein, the present invention relates to machine readable media that include program instructions, tables, indexes, etc. for performing various operations described herein. Examples of machine-readable media include, but are not limited to, magnetic media such as hard disks, floppy disks, and magnetic tape; optical media such as CD-ROM disks; magneto-optical media such as floptical disks; and hardware devices that are specially configured to store and perform program instructions, such as read-only memory devices (ROM) and random access memory (RAM). Examples of program instructions include both machine code, such as produced by a compiler, and files containing higher level code that may be executed by the computer using an interpreter.
Data mining in the relational database engine is accomplished by building models that behave like tables. FIG. 1B shows how a relational database serves as the data source for a data mining model, which consists of the parent “table” and three child “sub-tables.”
As shown in FIG. 1B, network 3, server 5, client 7, and data mining engine 11 exist in the configuration shown in FIG. 1A. However, server 5 is shown in more detail. RDBMS server 5 includes a collection of tables 21 that together provide the data necessary to populate a data mining model 25. Data from tables 21 is represented in a “model” 27 within the umbrella data mining model 25. Model 27 lists the user-defined output and various inputs defining the relationship instances for data mining. Preferably, the model does contain data, but only unique data. For example, in the popcorn example, no matter how many users buy “soft drinks,” only one instance of the value “soft drink” exists in the model and it is associated with a data mining identifier. Data mining engine 11 keeps a count of the occurrences of the “soft drink” value in the data set. As a user refines his or her model, inputs and outputs may be inserted into or deleted from model 27. In a specific example, the inputs and outputs correspond to columns from tables 21.
The descriptions of the sub-tables are created automatically when the model is created. Specifically, the system creates an UNDERSTAND sub-table 29, a PREDICT sub-table 31, and, optionally, a BINARY sub-table 33. The data mining discovery process is performed on the server whenever data is inserted into the model; users can query the UNDERSTAND and PREDICT sub-tables to study the results of that process.
UNDERSTAND sub-table 29 presents patters patterns uncovered by data mining engine 11 during the discovery process. In a specific embodiment, it may rate patterns it discovers in terms of “importance” (strength of the relationship or correlation), occurrence count, occurrence frequency, discrimination, etc.
PREDICT sub-table 31 may be queried to discover the most likely output for a given set of input values. Thus, users can use the results of the data mining discovery process as a predictive tool or model to forecast events. Typically, the user's query will include a list of inputs and the PREDICT output will be a likely outcome based on those inputs. A particularly important value calculated by data mining engine 11 for use with PREDICT sub-table 31 is a discrimination value which indicates the relatively likelihood that one outcome will prevail over another.
BINARY sub-table 33 contains a binary file readable by a front-end data mining client application 35 (including a graphical user interface) resident on client 7. This sub-table allows models created on a data mining client running application 35 to be “uploaded” to the server 5, while models created on server 5 in SQL can be “downloaded” to client 7. Preferably application 35 provides a graphical user interface (GUI) on a PC and connects to the database via an ODBC interface. One example of a suitable client application is the Red Brick Data Mine Builder application; for details on its operation refer to the Red Brick Data Mine Builder User's Guide available from Red Brick Systems, Inc. of Los Gatos, Calif.
Still further, data mining model 25 communicates with data mining engine 11, which includes an internal model data object 39 containing the identifiers used by the data mining engine during the discovery process. In essence, internal model data object 39 represents the relationships specified in model 27 via data mining identifiers that the data mining engine can manipulate during discovery. It keeps count of the occurrences of each value (identifier) in the data set. It also recognizes the input and output columns defined for the model, but it is populated with identifiers rather than data values of the database. Data object 39 provides a link between the data mining model 25 (part of the RDBMS) and data mining engine 11.
The integrated data mining RDBMS systems of this invention may be used in an iterative process:
1. Create a model.
2. Populate the model to perform discovery.
3. Query the UNDERSTAND sub-table to see the results of the discovery process.
4. Refine the model as required.
5. Use the model for prediction.
The first four steps represent a complete phase in the process that might be called the model-building phase. These steps are likely to be performed by an application developer—someone very familiar with the RDBMS and SQL. The fifth step represents a second phase that is more likely to be of interest to business analysts. Predictive models may be typically shared and reused among various decision-making groups connected to the same data warehouse.
FIG. 2 illustrates the iterative nature of a data mining process 201. Initially, an application developer creates a model at a step 203. This may involve defining the inputs, outputs, and other relevant model parameters in a CREATE MODEL statement. The RDBMS then creates definitions for the model table 27 and the UNDERSTAND, PREDICT, and BINARY sub-tables 29, 31, and 33. Other possible steps associated with this process will be detailed below with reference to FIGS. 3A-3D.
Next, at a step 205, the developer instructs the RDBMS to insert data into the model (via an INSERT command for example). This “populates” the model with data and initiates execution of the data mining engine. In the process, the data mining engine provides information about patterns in the user-defined relationships and it makes this information available to the UNDERSTAND, PREDICT, and BINARY sub-tables 29, 31, and 33. Each new insert may update the model (but only if it contains values not already in the model). The sub-tables share data stored in the model.
Next, at a step 207, a user queries UNDERSTAND sub-table 29 to find out what patterns were uncovered during the data mining discovery operation (initiated by the user's INSERT command). The UNDERSTAND sub-table may indicate that relevant patterns were uncovered. These patterns could be used for forecasting and other predictions. If the user sees no further reason to refine the model, he or she may use the model to predict outcomes of other inputs in a prediction step 209. Alternatively, the user may decide, on reflection of the UNDERSTAND table query, that the model could use refinement. If so, he or she refines the model at a step 211. This may involve modification of the CREATE MODEL statement prepared at step 203 and then a subsequent model population step initiated by an INSERT command as in step 205. The refined model then may be repopulated (step 205) and checked with a query of the UNDERSTAND sub-table per step 207. After one or more refinements, the user may find that the model is suitable for prediction, and the process moves to step 209. For more details about each step in this process, refer to the RED BRICK DATA MINE USER'S GUIDE (from Red Brick Systems, Inc.) which is incorporated herein by reference in its entirety and for all purposes.
A preferred embodiment will be described below in which a data mining engine is closely integrated with a relational database management system through a series of data mining specific SQL statements and through a collection of indexes which translates values from a relational database to simpler “identifiers” used by a data mining engine. It should be understood that this invention is not limited to this particular collection of SQL statements or indexes. In fact, the invention is not necessarily limited to use with data mining engines that employ simple identifiers of the type described below (“data mining identifiers” or DMIDs). For the sake of illustration, the invention will be described with respect to a data mining engine resembling the “DataCruncher” made available by DataMind Corporation.
Referring now to FIG. 3A, a process for creating a model in accordance with one embodiment of this invention is depicted. This process corresponds to step 203 of FIG. 2. Initially, the system (e.g., server 5) receives a CREATE MODEL command from the user. As explained herein, a CREATE MODEL command may completely define the model including its input columns, output column, any bucket ranges, any discrimination threshold, and any occurrence threshold. From the above simple example, a CREATE MODEL command may be the following:
create model popcorn (candy char (20) input, drinks char (20) input, popcorn char (3) output);
The purpose of this model is to discover what combinations of candy and drink purchases at a chain of movie theaters tend to be accompanied by a purchase of popcorn (an example of categorization analysis). The Popcorn column contains the values “Yes” and “No,” while the other two columns contain generic names of types of candy and drinks (for example, “Chocolate” and “Soda”). Although only two inputs are used here, any number of input columns could be added to the model, and multiple versions of the model could be created to “rotate” the columns. For example, a second model could have the Popcorn and Drinks columns as inputs and the Candy column as the output. Such “product grouping” analyses are common in the retail industry. The goal of these analyses is to discover what products tend to be bought or consumed together, then find ways to promote or facilitate the sales of those products.
After the system receives the CREATE MODEL command at step 301, it instructs the data mining engine to create internal model data object 39 (FIG. 1B) at a step 303. This may involve passing the name of the model to the data mining engine to allow it to allocate space and internally make any necessary arrangements. It may also involve registering input and output columns with the data mining engine without specific reference to type or name or other descriptive information.
The CREATE MODEL command also triggers the creation of the model sub-tables. Thus, at a step 305, the system creates definitions for a relational PREDICT sub-table of the model. Note that the PREDICT sub-table is not yet populated with data. The population step will have to await a subsequent process of populating the model (via queries from a user, for example). At this point, the system merely provides a name for the PREDICT sub-table as well as input columns and associated data types, an output column and an associated data type as specified by the CREATE MODEL command received at step 301. It may also define PREDICT sub-table columns for the Rank, Validity, Discrimination Score, etc. of the relationships defined by the inputs and output.
Next, at a step 307, the system creates definitions for a relational UNDERSTAND table. As with creation of the PREDICT sub-table, creation of the UNDERSTAND sub-table does not involve populating that table. Rather, it simply sets up the definitions including the table name, input columns and data types, output column and a data type, a column for the importance of each relationship, a column for the occurrence frequency of each relationship, etc.
Next, at a step 309, the system creates the definitions for a BINARY sub-table. Again, this sub-table is not yet populated with values. The appropriate definitions including a user-defined name of the BINARY sub-table is provided at this step. This sub-table includes a BINARY file that is readable by a separate application (see application 35FIG. 1A) that provides a convenient interface for creating a model, transferring the model from the server to the client, and interpreting the results of a discovery operation.
After the system has created sub-tables as described, it next creates the definition for a DMID table for use with a reverse look up index (see step 311). This table stores DMIDs for all the values in all the input and output columns in the model. The nature and purpose of such table/index will be detailed below with reference to FIG. 3B. For now, simply recognize that this “reverse“index is used to translate DMIDs used by a data mining engine to corresponding values from the relational database. This table/index is not populated at this point. Space is allocated and the necessary definitions are created.
Next, at a step 313, the system creates definitions for one or more “forward” indexes on model input and output columns. A discussion of such forward indexes will be provided with reference to FIG. 3C. For now, recognize that such forward indexes are used to translate values from the relational database to corresponding DMIDs for use by the data mining engine. This index is not populated at this point. Space is allocated and the necessary definitions are created.
Any given input or output column in a model may have its values represented as ranges of discrete values (which appear in the relational database). A user might specify such ranges in a MAPPING RANGES specification of a CREATE MODEL statement; e.g.,
mapping ranges (1/1 to 3/31 as ‘Q1’, 4/1 to 6/31 as ‘Q2’, 7/1 to 9/30 as ‘Q3’, 10/1 to 12/31 as ‘Q4’).
To keep track of such ranges (buckets) when considering values in the model, the system may create a bucket name table 331 as illustrated in FIG. 3D. This procedure is illustrated at a decision step 315 and a process step 317 in FIG. 3A. At step 315, the system determines whether the CREATE MODEL command specifies buckets of data for an input or output column. If so, the system creates and populates a bucket name table (as exemplified in FIG. 3D) for each input or output column including buckets.
In the example shown in FIG. 3B, the bucket name table includes a bucket name column, a range column, and a sequence number of the range (e.g., 0, 1, 2, or 3 for Q1, Q2, Q3, or Q4). The range column represents a range of discrete data values from the relational database which constitute a given bucket. In the example shown, the bucket names correspond to quarters of a year. Thus, for example, quarter 1 (“Q1”) appears in the bucket name column and the corresponding value in the range column are the dates January 1 through March 31. The standard ranges are identified for Q2, Q3, and Q4 as illustrated. Note that a separate bucket name table may be created for each column that employs mapped ranges. Further, there may be a data type conversion associated with the values in a column that has been range mapped. Preferably, such conversions are implicit. The relationship between the range column and the mapped column is stored in the model. Both the pre-mapped column and the post-mapped column definitions are part of the model. In essence, one inserts into the pre-mapped column and selects from the post-mapped column.
After the bucket name table has been created and populated, the system creates and populates (step 319) a composite index on the DMID model table (defined at step 311). For each mapped range in the CREATE MODEL statement, the composite index identifies the column in the model where range is used, the sequence number of the range, and the DMID associated with the range. As shown in FIG. 3C, a composite index 341 may be represented as a table having as a key a combination of the values in two columns: a column number in the model column and a range sequence number column. The composite index includes a third column: a DMID column. In a specific embodiment, a single composite index is created for all columns that include mapped ranges—as exemplified in FIG. 3C.
The composite index is used to get the DMID associated with a mapped to range (sequence number) associated with a given column. Note that the system must obtain the DMID for each mapped range at this point (in order to populate the index). It may accomplish this by requesting the new DMIDs from the data mining engine. Similar operations will be described with reference to the INSERT operation described with reference to FIG. 4.
In this embodiment of the invention, the data mining engine uses DMIDs not only for representing specific data values in tables, but also for representing the columns themselves that house those data values in the model. This is important because it lets the data mining engine know the relationship between the model inputs and the model output.
Thus, after the system has created and populated any appropriate bucket name and composite tables at steps 317 and 319 (or after the system has determined that decision step 315 is answered in the negative), the system registers input and output columns for DMIDs usable by the data mining engine (see step 321). Registration accomplishes two sub-steps: (1) the DBMS receives DMIDs to identify each column and (2) the data mining engine receives notification that there is a relationship (indicated by specifying some columns as input columns and one column as an output column). Regarding the first of these sub-steps, the system must obtain the column DMIDs from the data mining engine as described for step 319. The DMID/column pairs that result are stored in the DMID model created at step 311. Regarding the second of these sub-steps, the system flags the DMIDs associated with output data columns so that the data mining engine understands these DMIDs to be output DMIDs.
Next, at a step 323, the system creates the definitions for the model table itself. This involves specifying all input columns and the output column for the model table itself. This step is analogous to steps 305, 307, and 309 for defining the three sub-tables of the model. Thus, the model table is not yet populated with data. The model table serves as a template to allow insertions, deletions, etc. of input and output data and columns in the model. This is particularly beneficial during model refinement (step 211 of FIG. 2). The model also serves as the object of any data insertions into the model.
Finally, at a step 325, the system sets any discrimination and/or occurrence thresholds as necessary; the use of such thresholds is described below. If the user has specified one or more of these thresholds in the CREATE MODEL command, those thresholds are employed in the model definition. Otherwise, the system simply uses the default threshold values. After setting any necessary threshold values, the model definition is complete and the CREATE MODEL command has been fully executed.
As noted at step 311, the system creates definitions for a reverse look up index. Such reverse look up index is illustrated in FIG. 3D. The left side of this diagram shows a definition 351 for the index as it might appear (logically) at the model creation phase of data mining. The index definition includes a DMID and an associated value from the relational database. Thus, index definition 351 includes a DMID column and a value column. The column number of model table 27 is stored in the index (as a third column) where a row ID is ordinarily stored (i.e., in an index on an ordinary table). The DMID portion of this key forms the leading component of the index to allow easy conversion of a DMID provided from the data mining engine to the associated relational database attribute value.
Because the data from the relational database that will be used to populate the model has not yet been identified to the system, the reverse look up index is unpopulated at this stage. Later, at the model population phase, the DMIDs for discrete data values from the relational database are specified as illustrated at the right side of the FIG. 3D (see index 351′).
As indicated at step 313 of FIG. 3A, the system also defines a forward index for each input and output column of the model. Again, because the model has not yet been populated with discrete values, this step merely defines the indexes and does not populate them. That is, it does not assign DMIDs for specific database values. This is illustrated in FIG. 3E where at the CREATE MODEL phase (left side of the figure), three separate forward indexes (361, 363, and 365) are defined, one for each attribute in the model. For the sake of simplicity, this model has as input columns “gender” and “color.” It has as an output column “food.” In these forward indexes, the key is the column value from the relational database.
Two distinctions from the reverse look up index (351) are worth noting. First, the leading component of the key is the relational database attribute, not the DMID. This is because the purpose of the forward index is to translate relational database values to DMIDs that can be provided to the data mining engine. Thus, the forward indexes are used to translate data from the relational database to the data mining engine. In contrast, the reverse index is used to translate data from the data mining engine to the relational database format. Second, a separate forward index is created for each attribute in the model. In is contrast, only a single reverse index is created, which includes all attributes in the model. This is because the system does not know which column a DMID is associated with until it looks it up in the index. Note that the forward indexes may be combined into a single index. In a preferred embodiment, the indexes described herein are implemented as B-Tree indexes.
The population phase (sometimes referred to as the INSERT phase) of the invention is depicted in FIG. 4 as a process 400. A model may be populated and the data mining discovery process is triggered when an INSERT statement that selects rows from existing database tables is issued. In this case, assume that a predefined table or view exists in the database that contains the three columns used in the model:
CANDY DRINKS POPCORN
Chocolate Lemonade No
NULL Soda Yes
Chocolate Soda Yes
Licorice NULL No
Chocolate Soda Yes
Each row reflects a sales transaction at a movie theater. The INSERT statement would look like this:
insert into popcorn_model
select * from popcorn_view;
Logically, this statement selects all the rows and columns from the view and inserts them into the model. Although this is the simplest possible query, in most cases the INSERT statement will contain a much more complex query that to “transforms” the warehouse data into a result set that matches a larger set of column definitions in the model. For example, the query might join several tables and perform calculations on certain columns.
When the INSERT statement is issued (via any SQL interface connected to the database), the data mining discovery process may take place automatically, and the UNDERSTAND and PREDICT sub-tables may be queried based on the newly inserted relationships without further user intervention. These sub-tables are the source of the knowledge discovered by the data mining exercise.
Initially in process 400, the system gets the first row of the data at a step 401. This row will include multiple input columns and an output column. After the first row has been selected and made the ” current row,” the system gets the first column of that row at a step 403. This column of the first row is then made the “current column.” During process 400, the system incrementally considers each row and each column of such row in a nested fashion. Thus, process 400 repeatedly loops back through steps 401 and 403 as detailed below.
After the current row and column have been selected (to define an intersection of a row and a column), the system determines, at a decision step 405, whether the value at that intersection is in a bucket. If so, the system translates the discrete value from the relational database (and associated with that column-row intersection) to a bucket value (see step 407 which may employ a bucket name table as in FIG. 3B). Assuming, on the other hand, that the system determines that the value at the current row-column intersection is not to be converted to a bucket value, the system next determines whether the associated relational database value exists in a forward index (such as the indexes depicted in FIG. 3E). See step 409. If so, this means that the value had been previously considered in population process 400 and added to the forward index. In such case (decision step 409 is answered in the affirmative), the system gets the associated DMID from the forward index at a step 411. Note that if the current value was part of a bucket (decision step 405 was answered in the affirmative) process control is directed from step 407 to step 411. In other words, the DMID for the associated bucket value is retrieved from the appropriate forward index.
Assuming that decision step 409 is answered in negative (the current value does not exist in a forward index), the system identifies a new DMID for that value and then adds the new value-DMID pair to the appropriate forward index and to the reverse index. See step 413. Note that to identify a new DMID for the value, the system may consult the data mining engine.
After the new DMID has been obtained and the index is updated, the system next determines whether there are any other columns in the current row at a decision step 414. Assuming that there are other columns in the current row, process control returns to step 403 where the system gets the next column in the model. Process control then follows the above defined flow beginning at decision step 405. The system continues to loop through the flow bracketed by steps 403 and 414 until each column of the current row has been considered. Step 414 may also be performed immediately after step 411 (which assumes that decision step 409 had been answered in the affirmative).
After all columns for the current row have been considered (step 414 answered in the negative), the system provides the row associated DMIDs for the current row to the data mining engine. The data mining engine may then insert them into its internal model data object 39 (FIG. 1B) at a step 417.
Next, the system determines whether there are any other rows remaining in the data to be inserted at a decision step 419. Assuming that such additional rows do exist, process control returns to step 401 when the system retrieves the next row of the data for consideration as described above. The flow bracketed by steps 401 and 419 defines the outer loop of the nested column-row process 400. Eventually, all rows of the data to be inserted into the model will be considered. At that point, decision step 419 is answered in the negative and the process is concluded.
A process for selecting information from an UNDERSTAND sub-table is depicted in FIG. 5A as a process flow 500. The results of the discovery process may be selected from the UNDERSTAND sub-table, using any SELECT statement. The contents of this sub-table may be quite detailed, but the essential information may be embodied in a few specific columns. In a specific example, the most useful discovery ratings are the “Importance” values; these specify, numerically, the strength of the relationship (or correlation) between a given input value or set of input values and a given output value. A set of input values that, taken together, are significant is known as a conjunction; each conjunction is given an ID number.
One way to constrain on the UNDERSTAND sub-table is to select all the columns but use the RANK function in the WHEN clause to return only those rows with the highest Importance ratings. This significant advantage is a direct result of the integration of the data mining engine and the relational database management system. It allows the understand table to be queried in a manner that returns only those relationships that are most pertinent to the user for data mining purposes. An example using the RANK function follows:
select * from popcorn_understand when rank(importance)←3;
In standard SQL, this expression may read:
select * from popcorn_understand where importance ←3;
TYPE ConjID Input Value Imp Disc OccCt OccFr POPCORN
N
1 CANDY Chocolate 178.08 65.17 10 35.71 No
N 1 DRINKS Lemonade 178.08 65.17 10 35.71 No
N NULL DRINKS NULL 100.00 100.00 11 39.29 No
N NULL CANDY NULL 100.00 100.00 45 49.45 Yes
N NULL CANDY Licorice 100.00 100.00 5 17.86 No
The strongest correlation in this model in terms of Importance value alone is a conjunction of Chocolate and Lemonade; when products in these two categories are purchased in a single transaction, popcorn tends not to be purchased. Note, however, that the Occurrence_Count (OccCt) value is low; only 10 transactions were recorded in which this correlation was found. Taking all columns into account, the strongest correlation in this result set is represented by the fourth row, which suggests that when no candy is purchased (NULL in the Value column), popcorn is purchased (Yes). This row has the highest possible Importance value for a single input not involved in a conjunction (100), as well as relatively high Discrimination and Occurrence values. The third and fifth rows are also potentially interesting correlations, but like the conjunction of the first two rows, they have very low occurrence counts.
The query process begins with the system receiving a query (in standard SQL, for example) on the UNDERSTAND sub-table. The system then calls an appropriate API of the data mining engine to receive the engine's representation of the complete understand table. The UNDERSTAND sub-table is provided as a relationship stream. This stream may be represented as illustrated in FIG. 5B. As shown there, the stream is provided as pairs of DMIDs for each relationship in the model followed by information about the relationship as determined by the data mining engine. Specifically, such relationship stream may include a stream of pairs <DMIDIN, DMIDOUT>, where DMIDIN represents a particular value for a particular input column and DMIDOUT represents a particular value for the output column. Each pair represents a relationship. In the example above, DMIDIN could be CANDY:chocolate and DMIDOUT is POPCORN:NO. Associated with the relationship pair is auxiliary information presenting the data mining engine's conclusions regarding the relationship. In a preferred embodiment, this auxiliary information includes such relationship information (indicated above) as conjunctions between input values (if appropriate), the importance (correlation), occurrence count, and occurrence frequency.
As illustrated in FIG. 5A, the system receives the first relationship (of the UNDERSTAND sub-table) from the data mining engine at a step 501. After receiving the relationship stream, the system converts the DMIDs for each pair to relational database values (or buckets as necessary) using the reverse mapping index. See step 503. It first converts the input criteria DMID to the corresponding value and column name/number using the reverse mapping index. It then converts the output DMID to the corresponding value and column name/number. Thus, step 503 converts the DMID information format used by the data mining engine to a user-friendly format that can be interpreted by the user.
Next, at a step 505, the system evaluates any predicates in the SELECT statement. Such predicates may take the form of WHERE statements which delimit the data from the UNDERSTAND sub-table that is presented to the user.
Next, at a step 507, the system composes the row based upon any predicate, the converted DMIDs (step 503) and the associated relationship conclusions drawn by the data mining engine (e.g., correlation, occurrence count, and occurrence frequency). This step essentially presents the values and associated relationship information to the user in a readable format by using various operators available in the relational database management system. In a preferred embodiment, the DBMS employs an operator dedicated to handling queries of the UNDERSTAND sub-table in the manner described above. Generally, an “operator” is a set of program instructions that performs a specific relational algebra operation such as join or union. When evaluating a query, a DBMS may call a sequence of operators to execute the various relational operations that comprise the query.
After the row has been composed as step 507, the system determines whether there are any additional relationships provided by the data mining engine for the current UNDERSTAND sub-table. See step 509. Assuming such additional relationships exist (i.e., there are additional rows in the UNDERSTAND sub-table), process control returns to step 501. Thereafter, the process is executed as described above for the newly current relationship. At some point, all relationships (rows) for the UNDERSTAND sub-table will have been considered. At that point, decision step 509 is answered in the negative and process 500 is concluded.
In a preferred embodiment, the UNDERSTAND sub-table is not a fully populated relational table, but a “virtual table.” It contains SQL definitions of a relational table including definitions for columns, locations, sizes, data types, etc. Because it can be queried like a relational table, it appears to be a real fully populated relational table to the user. But because it only returns values when presented with a query and only after converting a relationship stream of DMIDs from the data mining engine, it need not consume much storage space and need not be maintained. Note that the model data (the unique values and buckets) are stored in the “model” and shared among the sub-tables.
As indicated in the discussion of FIG. 2 (step 211), models may require modifications in order to fine tune the discovery results. For example, the data set might not be representative or large enough or additional input and columns might be required. In a preferred embodiment, various SQL-like commands are provided to facilitate modification. For example, a model can be refined by adding or dropping columns with an ALTER MODEL command. If necessary, a user can remove the model and its sub-tables from the database with a DROP MODEL command or delete all the rows from a model with a DELETE command. Also, a CREATE MODEL . . . LIKE command allows a user to make a copy of a model and give it a new name; however, when using this command the rows in the model are not copied, just the column definitions. In this case, it might be interesting to know if the conjunction of Chocolate and Lemonade still amounts to a significant correlation when the model is tested against a larger data set; therefore, another INSERT statement could be issued to add some new rows to the model and automatically update the sub-tables.
In a preferred embodiment, the PREDICT sub-table, like the UNDERSTAND sub-table, can be queried as soon as the model is populated with data. It may be desirable to refine the model to some degree before using it for prediction. Prediction is the process of querying the PREDICT sub-table to discover the most likely output for a given set of input values. A user might query the PREDICT sub-table in two ways:
On a case-by-case (row-by-row) basis with a query that contains WHERE clause constraints on some or all of the input columns.
In “batch” mode by joining from a database table or view to the PREDICT sub-table.
Assuming that the original popcorn model discussed above is not altered or refined in any way, a SELECT statement as follows could be issued to predict the output for a specified pair of inputs:
select * from popcorn_predict where candy=‘Licorice’ and drinks=‘Soda’;
CANDY DRINKS POPC SCORE Rank Valid? Disc
Licorice Soda No 156 1 Y 38.00
Licorice Soda Yes  98 2 Y  0.00
It may be desirable to specify WHERE clause conditions on all the input columns. Nonetheless, this kind of query will return more than one row—one for each distinct value in the domain of the output column. In this case, two rows are returned, one for an output value of No and one for Yes. The results of this query may be difficult to judge without a sense of the relative weight of the Score values. Therefore, it is useful to know what the highest score in the entire PREDICT sub-table is; the following query quickly answers this question:
select max(score) from popcorn predict; 200
Given this knowledge, it is reasonable to say that a score of 156 is high; therefore, the prediction that Licorice and Soda purchases do not also involve Popcorn purchases looks reliable. However, note that the opposite case also returns a fairly high score of 98. In conclusion, this model returns some potentially interesting correlations; however, their reliability is difficult to judge until more data has been inserted into the model and the discovery results have been revisited.
A further explanation of some of the fields in the PREDICT table will now be provided. Note that this is but one embodiment. This invention is not limited to these specific fields or the meanings presented here.
The Score value is an integer value that indicates the strength of the prediction. A higher number in this field indicates a stronger prediction. This value is similar to Importance in the UNDERSTAND sub-table.
If a prediction is valid, the “Rank” field indicates its rank relative to all the other valid predictions. If the prediction is not valid, this field has the value 0 (zero). Thus, this Rank field also indicates whether or not the prediction is valid. If it is valid, the value in the Valid field is “Y”; if it is not valid, the value is “N”. A valid prediction is one that satisfies the minimal requirements for the predicted output value, as defined in the model's Discrimination Threshold and Occurrence Threshold parameters.
The “Discrimination” field indicates the difference in Score between the best prediction and the nearest other prediction for the given inputs. If this value is small, this might indicate that this output value and the nearest other are similarly likely to occur for the specified input value, or it might indicate that the data mining engine does not have enough information to make a strong distinction between the two predictions. If this value is large, it indicates that the likelihood of the most likely output value occurring is significantly stronger than the next one in rank.
For example, in a Credit model, the three possible output values (using an Account_Status field) are Balanced, Payment_Late, and Overdraft. If, for a given set of inputs, the Discrimination between an output of Balanced and an output of Overdraft is 5, then this might indicate that the inputs used are not very valuable in determining account status (it cannot be accurately predicted that a person with the given characteristics will have a balanced or an overdrawn account); if the Discrimination is 90, then this might indicate that the higher-ranked prediction is useful in predicting the desired outcome (a person with the given characteristics is significantly more likely to have a balanced account than an overdrawn one).
The number of possible relationships returned in a query on the PREDICT sub-table is a function of the cross product of the values in the input columns of the model. Thus, the number of relationships is an exponential function of the number of input columns in the model, and a query can potentially return a very large number of relationships. To limit the return values to the most relevant relationships, users may wish to constrain their queries with predicates.
Assuming that the user does constrain his or her query, it is desirable to pre-process the predicate, to the extent possible, before requesting that the data mining engine return data streams containing relationship data for the PREDICT sub-table. This limits the amount of data returned by the engine for further processing. Otherwise, the system may become bogged down in receiving and processing each and every relationship from the data mining engine associated with the PREDICT sub-table—including many relationships that are irrelevant based upon the query predicate.
In view of the desire to efficiently handle predicates, a process 600 for handling queries on the PREDICT sub-table is presented in FIG. 6A. As shown there, process 600 begins with the system receiving a user query (in standard SQL for example) on the PREDICT sub-table at a step 601. Thereafter, the system derives any “start/stop” conditions to the extent possible from any predicate in the user query. See step 603. Such start/stop conditions are used to constrain the number of relationships returned from the data mining engine by putting the boundaries on the input column values submitted to the data mining engine during processing of the user query. This reduces the number of terms in the cross product.
After any start/stop conditions have been identified in step 603, the system determines whether the user query requests a prediction based on data that is provided in a row-by-row format (see step 605). Assuming that the answer to this question is yes, the system executes the query in a row-by-row mode as indicated at the step 607. The process is then complete. Alternatively, the user query may specify that the predictions be made in a batch mode. If so, the system executes such query in the batch mode as indicated in step 609. The process is then complete following this path.
As indicated above, a batch mode prediction involves a query that requires joining from another data base table or view containing data for which a prediction is desired to the PREDICT sub-table. In contrast, the row-by-row query approach presents the data for which a prediction is desired in a row-by-row basis (without using a table join).
A suitable process for approximating the start/stop conditions (step 603) is detailed in FIG. 6B. As shown there, process 603 begins with the system considering a particular sub-expression of the predicate associated with the PREDICT sub-table query. Note that a predicate may include multiple sub-expressions. See step 615. For example, the following WHERE clause has three sub-expressions:
where candy=‘licorice’
and drinks =‘soda’
and popcorn =‘y’
Here “candy=‘licorice’”, “drinks=‘soda”’ and “popcorn=‘y’” are all sub-expressions.
After the current sub-expression has been identified, the system next determines whether it is conjunctive. See step 617. A disjunctive sub-expression is one connected by a disjunctive logical operator such as an OR. For example, in the predicate “where A=1 or A=2”, this sub-expression qualifies as a “disjunctive sub-expression” for purposes of this analysis. If a system determines that the current sub-expression is disjunctive, it saves that sub-expression for post processing at a step 619. In other words, this sub-expression will be applied after the system receives the data streams from the data mining engine.
Assuming that the current sub-expression is conjunctive, the system next determines whether it is “atomic” at a step 621. An atomic predicate sub-expression is one that contains an expression on each side of a comparison operator; e.g., A=1, A=B, A>3, A<9, A<AVG (age), etc. For example, the sub-expressions “where age=15” and “where age>AVG (age) ” are atomic sub-expressions when the query is on the age column. On the other hand, the sub-expression “A=B and A<>3” is an example of a non-atomic predicate sub-expression because it contains a logical “and”. Assuming that the system determines that the current sub-expression is not atomic (step 621 is answered in the negative), it saves the predicate sub-expression for post processing at step 619 as discussed above.
If, on the other hand, the current sub-expression is in fact atomic, the system next determines whether the predicate sub-expression compares a model input column to a “bindable value.” See step 623. A bindable value is any value that can be substituted for an expression at either compile time (such as a literal value such 15 in the expression where age=15) or execute time (such as a correlation value when A=B, where A and B are columns of a join specification). Anything other than an actual exact value is not a bindable value. For example, average age is not a bindable value, because it cannot be evaluated until all values in the column have been considered and averaged. This is true of all expressions using “aggregate” functions on the column being considered.
If the current predicate sub-expression does not employ a bindable value, the predicate sub-expression is saved for post processing at step 619 as explained above. On the other hand, if the predicate compares a bindable value (and is atomic and not disjunctive), then the system brackets the associated column with a start/stop condition based upon the predicate sub-expression (see step 625). In other words, the predicate is evaluated via pre-processing. This limits the number of column values that are submitted to the data mining engine.
After the appropriate start/stop conditions have been applied to the predicate based upon the current sub-expression, the system next determines whether there are any additional sub-expression contained within the predicate. See step 627. If so, process control returns to step 615 where the next sub-expression in the predicate is retrieved. Ultimately, all sub-expressions in the predicate will have been considered via the above-described process flow. When this occurs, decision step 627 is answered in the negative and process 603 is completed.
A process for executing a query in a row-by-row mode (step 607) is illustrated in FIG. 6C. As illustrated there, the process begins with the system applying any start/stop conditions that have been previously identified for pre-processing at a step 631. Obviously, the appropriate start/stop conditions are matched to the appropriate input column values being provided to the data mining model.
After all pre-processing predicates have been applied to the appropriate columns, the system feeds the relationships identified for prediction to the data mining engine. These relationships are identified by the cross product of the various input column values. Thus, every possible combination of values from the chosen input columns is submitted to the data mining engine. The various cross product terms may be generated from all possible combinations of values from each of the columns using nested loops, the number of which equals the number of input columns.
The individual terms of the cross product will have a number of values equal to the number of input columns used in the prediction. For example, the input columns in the query might be color (red, green, or blue), gender (male or female), and season (winter, summer, fall, and spring). The cross product of these input columns is <red, male, winter>, <red, male, summer>, <red, male, fall>, <red, male, spring>, <red, female, winter>, <red, female, summer>, <red, female, fall>, <red, female, spring>, <green, male, winter>, <green, male, summer>, <green, male, fall>, <green, male, spring>, <green, female, winter>, <green, female, summer>, <green, female, fall>, <green, female, spring>, <blue, male, winter>, <blue, male, summer>, <blue, male, fall>, <blue, male, spring>, <blue, female, winter>, <blue, female, summer>, <blue, female, fall>, and <blue, female, spring>. Assume that the WHERE clause predicate, and hence the start/stop conditions limited color to blue and gender to male, then cross product terms would be reduced to <blue, male, winter>, <blue, male, summer>, <blue, male, fall>, and <blue, male, spring>. Preferably, the entire cross product is not materialized; rather, it is computed incrementally.
At a step 633, the system identifies the next group of input values in the cross product. It then converts those values to the associated DMIDs at a step 635. If the current value in the cross product term is a value that is mapped to a range, the system must first identify the bucket name associated with the value. It may accomplish this by consulting a bucket name table such as that depicted in FIG. 3B. The DMID for the bucket name may then be obtained from a composite index such as that depicted in FIG. 3C. If, on the other hand, the value under consideration is not part of a mapped range, then the system can simply obtain the appropriate DMID from a forward look-up index such as one of those presented in FIG. 3E.
Next, at a step 637, the system calls the appropriate data mining API to generate a prediction for the current relationship (as defined by the collection of input terms from the cross product). The data mining engine in turn returns a series of predictions, one for each possible output value associated with the input values. The outputs provided by the data mining engine may appear as streams, each including the DMID for the associated output value as well as a data structure presenting the appropriate PREDICT sub-table information about that prediction (e.g., a discrimination value).
Thus, after the data mining API has been called at step 637, the system receives the next stream of data associated with the current group from the data mining engine at a step 639. Again, each stream is associated with a separate output value. The system converts the output DMID to a corresponding database value using a reverse look up table, for example. After the database management system has the converted stream and the associated input values in hand, it evaluates any remaining predicates of the query (i.e., the post-processing predicates of expressions). See step 641. The post-processing of predicates may includes such operations as comparisons of input values versus aggregate values, disjunctive conditions, predicates applied to the value calculated by the data mining engine (e.g., discrimination), etc.
After any remaining predicates have been evaluated, the system composes a row from the current stream at a step 643. This may involve any necessary predicate post processing, the relationship's input and output values, and the associated relationship conclusions drawn by the data mining engine (e.g., discrimination). This step essentially presents the values and associated relationship information to the user in a readable format by using various operators available in the relational database management system. In a preferred embodiment, the DBMS employs an operator dedicated to handling row-by-row queries of the PREDICT sub-table in the manner described above.
Next, at a step 645, the system determines whether the current stream provides the last output value associated with the current set of input values. If not, process control is directed back to step 639 where the system receives the next stream for the current group from the data mining engine. That stream is then processed as described above to compose an associated row. The number of output values associated with a given input groups is the number of possible output values. Ultimately, the last stream for the current group is evaluated (i.e., decision step 645 is answered in the affirmative). At that point, the system determines whether there are any more input groups left for prediction at a step 647. This involves determining whether the last term from the cross product has been considered. Assuming that there are additional groups for prediction, process control is directed back to step 633 where the system identifies the next term “group of input values” in the cross product. Those input values are then processed as described above. Ultimately, the last term of the cross product is considered (step 647 is answered in the negative) and the process is concluded. At that point, the user is presented with the rows of prediction data that he or she requested.
As indicated in FIG. 6A (step 609), a query on the PREDICT sub-table may be executed in batch mode. This approach is generally similar to the row-by-row approach (step 607), except that it involves a join operation between the PREDICT sub-table and some other user specified table containing the input data for which predictions are desired. This ability results because the PREDICT sub-table is has properties of a relational database table. The join operation in a batch mode procedure involves comparing data values from one column of the user specified table with data values from the PREDICT sub-table. This step must be performed in order to define the sets of input values that are fed to the data mining engine for prediction. So, rather than generating the cross product as in the case of the row-by-row procedure, the batch mode operation does the join to define which input values will be used for the prediction. Each row of the table being joined to the PREDICT sub-table is used much as the set of values specified as a predicate the row-by-row process. Preferably, different operators are employed within the RDBMS to perform the row-by-row and batch queries on a PREDICT sub-table.
In a preferred embodiment, the PREDICT sub-table is not a fully populated relational table, but a “virtual table.” It contains SQL definitions of a relational table including definitions for columns, locations, sizes, data types, etc. Because it can be queries like a relational table, it appears to be a real fully populated relational table to the user. But because it only returns values when presented with a query and only after converting a stream of DMIDs from the data mining engine, it need not consume much storage space and need not be maintained. Again, the data stored in the model is shared by all sub-tables, including the PREDICT sub-table.
In some cases, a data mining engine and a SQL server will treat a null value differently. In SQL, a null value is unknown and, in most cases, will return no answers. In contrast, certain data mining engines such as the DataCruncher from DataMind will return all possible answers in response a null value. For example, if there is no DMID for Age equals 25 in the look tables and a query includes a predicate WHERE AGE EQUALS 25 (i.e., the age value is null), a SQL query will return no values, while a data mining engine will return all possible values from the age column because the value is unknown. In a preferred embodiment of this invention, the system can be set, at the user's preference, to treat a null value in either the SQL or data mining manner.
As mentioned above, a CREATE MODEL STATEMENT may include an occurrence threshold and/or a discrimination threshold. The occurrence threshold defines the percentage in which a given correlation or conjunction of correlations is required before the relation is retrieved in the UNDERSTAND sub-table. Only those relations with an Occurrence Frequency score in the UNDERSTAND sub-table that is higher than the Occurrence Threshold will be retrieved. For example, selecting from the UNDERSTAND sub-table with the occurrence threshold set to 0 will return all associations, no matter how small, while the same SELECT operation with the occurrence threshold set to 5 would result in the retrieval of only those associations that have a number greater than 5.0 in the Occurrence Freq column of the UNDERSTAND sub-table (in other words, those associations that occur more than 5% of the time). In a specific embodiment, if the user does not specify an occurrence threshold value, a default value of 3.0 (3%) is used.
The Discrimination Threshold is similar to the Occurrence Threshold, except that it applies during prediction instead of during understanding. The Discrimination Threshold affects the number of rows that are generated for a prediction on an input row. If the Discrimination Threshold is set to 0.0, a prediction is generated for each possible output value. The Discrimination, or the difference in strength between the best prediction and the second best prediction, appears in the PREDICT sub-table. In one embodiment, for all prediction values other than the best prediction, the Discrimination value is NULL.
If the Discrimination Threshold is set to a value greater than 0.0, then only the best prediction appears in the PREDICT sub-table. However, if the Discrimination value for the best prediction is equal to or less than the Discrimination Threshold value, no prediction appears. In a specific embodiment, if the user does not specify a Discrimination Threshold value, the default of 0.0 (0%) is used.
Although the foregoing invention has been described in some detail for purposes of clarity of understanding, it will be apparent that certain changes and modifications may be practiced within the scope of the appended claims. For example, the PREDICT and UNDERSTAND sub-tables described above may be partially or fully populated with values. Additionally, some of the above-described specific columns in the sub-tables are not necessary to the invention. Moreover, the discrimination and/or occurrence thresholds are not required. Further, the processes described above may be applied to a single machine as well as a network.

Claims (42)

What is claimed is:
1. A computer program product, implemented on a machine readable medium, comprising instructions operable to:
integrate a relational database with a data mining engine; and
define a data mining model as a relational table, the data mining model providing multiple relationships between inputs and outputs and indicia of the importance of each relationship between an output and one or more inputs.
2. The computer program product of claim 1, further comprising instructions operable to construct rows corresponding to the relationships in the data mining model in response to user queries.
3. The computer program product of claim 1, further comprising instructions to define one or more columns from a relational database as the inputs to the data mining model relational table.
4. The computer program product of claim 3, further comprising instructions to integrate the data mining model relational table with the relational database on a server.
5. The computer program product of claim 1, further comprising instructions to define a column from a relational database as the output of the data mining model relational table.
6. The computer program product of claim 5, further comprising instructions to integrate the data mining model relational table with the relational database on a server.
7. The computer program product of claim 1, further comprising instructions to indicate the importance of the relationships between the inputs and the output of the data mining model in one or more columns of the data mining model relational table.
8. The computer program product of claim 7, further comprising instructions to indicate occurrence counts for the relationships between the inputs and the output of the data mining model in a column of the data mining model relational table.
9. The computer program product of claim 7, further comprising instructions to to indicate occurrence frequencies for the relationships between the inputs and the output of the data mining model in a column of the data mining model relational table.
10. The computer program product of claim 7, further comprising instructions to indicate correlations for the relationships between the inputs and the output of the data mining model in a column of the data mining model relational table.
11. The computer program product of claim 1, further comprising instructions to define a data mining model relational table having multiple rows, each row providing a relationship between input data values and an output data value, and each row also providing correlations between the output data value and the input data values.
12. The computer program product of claim 11, further comprising instructions to obtain the input data values and the output data value in a row of the data mining model from a relational database, and to calculate correlations between the input data values and the output data value with a data mining engine.
13. The computer program product of claim 1, further comprising instructions to define a look up table to translate between data mining identifiers used by the data mining engine and input and output values used by the data mining model relational table.
14. The computer program product of claim 13, further comprising instructions to define one or more look-up table indexes, including a forward translation index configured to translate data values from data stored in the relational database to data mining identifiers.
15. The computer program product of claim 13, further comprising instructions to define one or more look-up table indexes, including a reverse translation index configured to translate data mining identifiers to corresponding data values of data stored in the relational database.
16. The computer computer program product of claim 1, further comprising instructions to convert between data values of data stored in a relational database managed by the relational database management system and data mining identifiers representing the data values that are used by the data mining engine.
17. The computer program product of claim 1, wherein the instruction to define a data mining model further includes instructions to define one or more data mining sub-tables.
18. The computer program product of claim 1, wherein the data mining capabilities perform calculations without transferring large blocks of data from a remote database.
19. The computer program product of claim 1, wherein the instruction to define a data mining model relational table further comprises instructions to define a relational predict table, the relational predict table providing multiple relationships between inputs and an output and configured to return a predicted output in response to a query containing one or more inputs.
20. The computer program product of claim 19, wherein the instruction to define a relational predict table, further comprises instructions to indentify a column of the relational predict table to hold a confidence value for the output returned in response to the query.
21. The computer program product of claim 19, further comprising instructions to construct one or more rows in the relational predict table in response to one or more corresponding user queries.
22. The computer program product of claim 19, further comprising instructions to identify one or more columns of the relational predict table to receive user specified inputs from a relational database.
23. The computer program product of claim 19, further comprising instructions to identify a column of the relational predict table to receive output from a data mining engine.
24. The computer program product of claim 19, further comprising instructions to identify one or more columns of the relational predict table to receive a value indicating the confidence in the relationship between one or more user specified inputs and the output of the data mining engine.
25. The computer program product of claim 24, further comprising instructions to identify one or more columns of the relational predict table to receive values discriminating the relationship between one or more user specified inputs and the output of the data mining engine.
26. The computer program product of claim 19, wherein the instruction to define the relational predict table further comprises instructions to define multiple rows for the relational predict table, each row providing a relationship between input data values and an output data value and each row also providing a discrimination associated with the relationship.
27. The computer program product of claim 26, further comprising instructions to obtain the input data values and the output data value in a row from a relational database, and to calculate the discrimination of the relationship between the input data values and the output data value with a data mining engine.
28. A method of evaluating a query on a predict table in a data mining model, the predict table providing multiple relationships between input values and output values and configured to return a predicted output value in response to a query containing one or more input values, the method comprising:
(a) identifying an expression or sub-expression in a predicate of the query;
(b) identifying a start/stop condition from the expression or sub-expression;
(c) binding the start/stop condition to a column of the predict table; and
(d) passing column values constrained by the start/stop condition to data mining engine.
29. The method of claim 28, further comprising:
identifying a second sub-expression in the predicate; and
determining that the second sub-expression will be evaluated after receiving results of a data mining operation from the data mining engine.
30. The method of claim 29, wherein the second sub-expression is saved for binding to results of a data mining operation performed by the data mining engine on column values passed to it.
31. The method of claim 30, wherein the determining whether the expression or sub-expression is an atomic conjunctive expression or sub-expression, further comprises determining whether the expression or sub-expression compares a bindable value to a model input.
32. The method of claim 28, further comprising determining whether the expression or sub-expression is an atomic conjunctive expression or sub-expression, prior to identifying the start/stop condition.
33. A computer system comprising:
a relational database management system;
a data mining engine integrated with the relational database management system such that data values from a relational database managed by the relational database management system are directly converted to data mining identifiers used for data mining operations by the data mining engine, wherein said data mining engine determines characteristics of relationships between input data values and an output data value and wherein the input and output data values are obtained from the relational database.
34. The computer system of claim 33, further comprising a data mining model including a model table specifying input columns and an output column for rows of values from the relational database, which rows specify the relationships between the input values and the output value.
35. The computer system of claim 34, wherein the data mining model includes
a definition of one or more data mining sub-tables which are not populated with data values; and
one or more data model look up indexes specifying translations between values in the relational database and data mining identifiers used by the data mining engine to represent the relational database values.
36. The computer system of claim 35, wherein the one or more data model indexes include a forward translation index configured to translate data values from the relational database to data mining identifiers.
37. The computer system of claim 35, wherein the one or more data model indexes include a reverse translation index configured to translate data mining identifiers to corresponding data values from the relational database.
38. A computer program product, implemented on a machine readable medium, comprising instructions operable to:
receive a create model statement at a relational database with data mining capabilities; and
define a data mining model including at least one of a model table, an understand table, a predict table, a binary table, and an index at the relational database with data mining capabilities.
39. The computer program product of claim 38, wherein the instructions are operable to:
receive an insert statement; and
in response to receiving the insert statement:
populate the data mining model with data; and
provide information about patterns to at least one of the understand table, predict table, and binary table.
40. The computer program product of claim 38, wherein the instructions are operable to:
receive a query of the understand table; and
identify relevant patterns that were uncovered during data mining.
41. The computer program product of claim 38, wherein the instructions are operable to:
receive a query of a predict table; and
return a likely output for a given set of input values.
42. The computer program product of claim 38, wherein the computer program product is implemented on a machine readable medium at a server and wherein the instructions are operable to at least one of:
download the data mining model to a client using the binary table; and
upload a data mining model defined at the client using the binary table.
US09/170,990 1997-10-14 1998-10-13 System and method for integrating data mining into a relational database management system Expired - Lifetime US6629095B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US09/170,990 US6629095B1 (en) 1997-10-14 1998-10-13 System and method for integrating data mining into a relational database management system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US6399997P 1997-10-14 1997-10-14
US09/170,990 US6629095B1 (en) 1997-10-14 1998-10-13 System and method for integrating data mining into a relational database management system

Publications (1)

Publication Number Publication Date
US6629095B1 true US6629095B1 (en) 2003-09-30

Family

ID=28456517

Family Applications (1)

Application Number Title Priority Date Filing Date
US09/170,990 Expired - Lifetime US6629095B1 (en) 1997-10-14 1998-10-13 System and method for integrating data mining into a relational database management system

Country Status (1)

Country Link
US (1) US6629095B1 (en)

Cited By (85)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020046273A1 (en) * 2000-01-28 2002-04-18 Lahr Nils B. Method and system for real-time distributed data mining and analysis for network
US20020107841A1 (en) * 2000-12-18 2002-08-08 Hellerstein Joseph L. Systems and methods for discovering partially periodic event patterns
US20020169824A1 (en) * 2001-05-11 2002-11-14 International Business Machines Corporation Predictive networking
US20030023612A1 (en) * 2001-06-12 2003-01-30 Carlbom Ingrid Birgitta Performance data mining based on real time analysis of sensor data
US20030145000A1 (en) * 2002-01-31 2003-07-31 International Business Machines Corporation System and method of using data mining prediction methodology
US20030195889A1 (en) * 2002-04-04 2003-10-16 International Business Machines Corporation Unified relational database model for data mining
US20030208706A1 (en) * 2002-05-03 2003-11-06 Roddy Nicholas E. Method and system for analyzing fault and quantized operational data for automated diagnostics of locomotives
US20030212678A1 (en) * 2002-05-10 2003-11-13 Bloom Burton H. Automated model building and evaluation for data mining system
US20030229635A1 (en) * 2002-06-03 2003-12-11 Microsoft Corporation Efficient evaluation of queries with mining predicates
US20030236784A1 (en) * 2002-06-21 2003-12-25 Zhaohui Tang Systems and methods for generating prediction queries
US20040010505A1 (en) * 2001-04-26 2004-01-15 Vishnubhotla Prasad R. Method and system for data mining automation in domain-specific analytic applications
US20040039548A1 (en) * 2002-08-23 2004-02-26 Selby David A. Method, system, and computer program product for outlier detection
US20040044662A1 (en) * 2002-08-29 2004-03-04 Microsoft Corporation Optimizing multi-predicate selections on a relation using indexes
US20040049473A1 (en) * 2002-09-05 2004-03-11 David John Gower Information analytics systems and methods
US20040088730A1 (en) * 2002-11-01 2004-05-06 Srividya Gopalan System and method for maximizing license utilization and minimizing churn rate based on zero-reject policy for video distribution
US20040095390A1 (en) * 2002-11-19 2004-05-20 International Business Machines Corporaton Method of performing a drag-drop operation
US20050004907A1 (en) * 2003-06-27 2005-01-06 Microsoft Corporation Method and apparatus for using conditional selectivity as foundation for exploiting statistics on query expressions
US20050033723A1 (en) * 2003-08-08 2005-02-10 Selby David A. Method, system, and computer program product for sorting data
US20050086076A1 (en) * 2003-10-17 2005-04-21 Integrated Healthcare Information Services, Inc. System and method for assessing healthcare risks
US20050114294A1 (en) * 1999-06-18 2005-05-26 Microsoft Corporation System for improving the performacne of information retrieval-type tasks by identifying the relations of constituents
US20050198041A1 (en) * 2000-12-07 2005-09-08 Lewandowski Robert P. Method and apparatus for processing electronic records for physical transactions
US20050251525A1 (en) * 2000-09-22 2005-11-10 Chu Chengwen R Model repository
US20060112048A1 (en) * 2004-10-29 2006-05-25 Talbot Patrick J System and method for the automated discovery of unknown unknowns
US7069197B1 (en) * 2001-10-25 2006-06-27 Ncr Corp. Factor analysis/retail data mining segmentation in a data mining system
US20060282436A1 (en) * 2005-05-06 2006-12-14 Microsoft Corporation Systems and methods for estimating functional relationships in a database
US20070011188A1 (en) * 2005-07-05 2007-01-11 International Business Machines Corporation System and method for selecting a data mining modeling algorithm for data mining applications
US20070011135A1 (en) * 2005-07-05 2007-01-11 International Business Machines Corporation System and method for selecting parameters for data mining modeling algorithms in data mining applications
US20070011187A1 (en) * 2005-07-05 2007-01-11 International Business Machines Corporation System and method for generating and selecting data mining models for data mining applications
US20070027771A1 (en) * 2005-07-29 2007-02-01 Yahoo! Inc. API for maintenance and delivery of advertising content
US7194483B1 (en) 2001-05-07 2007-03-20 Intelligenxia, Inc. Method, system, and computer program product for concept-based multi-dimensional analysis of unstructured information
US20070143547A1 (en) * 2005-12-20 2007-06-21 Microsoft Corporation Predictive caching and lookup
US20080154578A1 (en) * 2006-12-26 2008-06-26 Robert Bosch Gmbh Method and system for learning ontological relations from documents
US20080179229A1 (en) * 2007-01-31 2008-07-31 Russell N. Frye Filter assembly for use in drainage system
US20080183688A1 (en) * 2006-08-25 2008-07-31 Chamdani Joseph I Methods and systems for hardware acceleration of database operations and queries
US20080195601A1 (en) * 2005-04-14 2008-08-14 The Regents Of The University Of California Method For Information Retrieval
US7418431B1 (en) * 1999-09-30 2008-08-26 Fair Isaac Corporation Webstation: configurable web-based workstation for reason driven data analysis
US7433879B1 (en) * 2004-06-17 2008-10-07 Versata Development Group, Inc. Attribute based association rule mining
US7444291B1 (en) 2000-08-10 2008-10-28 Ingenix, Inc. System and method for modeling of healthcare utilization
US20080270336A1 (en) * 2004-06-30 2008-10-30 Northrop Grumman Corporation System and method for the automated discovery of unknown unknowns
US7536413B1 (en) 2001-05-07 2009-05-19 Ixreveal, Inc. Concept-based categorization of unstructured objects
US7627588B1 (en) 2001-05-07 2009-12-01 Ixreveal, Inc. System and method for concept based analysis of unstructured data
US7640175B1 (en) 2000-12-08 2009-12-29 Ingenix, Inc. Method for high-risk member identification
US7676485B2 (en) 2006-01-20 2010-03-09 Ixreveal, Inc. Method and computer program product for converting ontologies into concept semantic networks
US20100205171A1 (en) * 2007-10-01 2010-08-12 Technion Research And Development Foundation Ltd. Method and computer program for evaluating database queries involving relational and hierarchical
US7788251B2 (en) 2005-10-11 2010-08-31 Ixreveal, Inc. System, method and computer program product for concept-based searching and analysis
US7966343B2 (en) 2008-04-07 2011-06-21 Teradata Us, Inc. Accessing data in a column store database based on hardware compatible data structures
US20110153419A1 (en) * 2009-12-21 2011-06-23 Hall Iii Arlest Bryon System and method for intelligent modeling for insurance marketing
US8355950B2 (en) 2009-02-25 2013-01-15 HCD Software, LLC Generating customer-specific vehicle proposals for vehicle service customers
US20130132400A1 (en) * 2011-11-22 2013-05-23 International Business Machines Corporation Incremental context accumulating systems with information co-location for high performance and real-time decisioning systems
US8458129B2 (en) 2008-06-23 2013-06-04 Teradata Us, Inc. Methods and systems for real-time continuous updates
US20130218893A1 (en) * 2012-02-17 2013-08-22 Girish Kalasa Ganesh Pai Executing in-database data mining processes
US20130232296A1 (en) * 2012-02-23 2013-09-05 Kabushiki Kaisha Toshiba Memory system and control method of memory system
US8589413B1 (en) 2002-03-01 2013-11-19 Ixreveal, Inc. Concept-based method and system for dynamically analyzing results from search engines
US20130325158A1 (en) * 2012-05-31 2013-12-05 Yokogawa Electric Corporation Process monitoring system, apparatus and method
US8713638B2 (en) 2012-06-30 2014-04-29 AT&T Intellectual Property I, L.L.P. Managing personal information on a network
US20140245207A1 (en) * 2013-02-25 2014-08-28 Christian D. Poulin Interfaces for predictive models
CN104050225A (en) * 2013-03-14 2014-09-17 Sap股份公司 View variants in database schema mapping
US20140278755A1 (en) * 2013-03-13 2014-09-18 Salesforce.Com, Inc. Systems, methods, and apparatuses for implementing change value indication and historical value comparison
US8862625B2 (en) 2008-04-07 2014-10-14 Teradata Us, Inc. Accessing data in a column store database based on hardware compatible indexing and replicated reordered columns
US8965839B2 (en) 2012-12-19 2015-02-24 International Business Machines Corporation On the fly data binning
US9245243B2 (en) 2009-04-14 2016-01-26 Ureveal, Inc. Concept-based analysis of structured and unstructured data using concept inheritance
US20160162575A1 (en) * 2014-12-03 2016-06-09 Facebook, Inc. Mining multi-lingual data
US9424315B2 (en) 2007-08-27 2016-08-23 Teradata Us, Inc. Methods and systems for run-time scheduling database operations that are executed in hardware
US9805029B2 (en) 2015-12-28 2017-10-31 Facebook, Inc. Predicting future translations
US9830386B2 (en) 2014-12-30 2017-11-28 Facebook, Inc. Determining trending topics in social media
US9830404B2 (en) 2014-12-30 2017-11-28 Facebook, Inc. Analyzing language dependency structures
US9899020B2 (en) 2015-02-13 2018-02-20 Facebook, Inc. Machine learning dialect identification
US20180137431A1 (en) * 2016-11-15 2018-05-17 General Electric Company Multimodal, small and big data, machine learing systems and processes
US10002131B2 (en) 2014-06-11 2018-06-19 Facebook, Inc. Classifying languages for objects and entities
US10002125B2 (en) 2015-12-28 2018-06-19 Facebook, Inc. Language model personalization
USRE46973E1 (en) 2001-05-07 2018-07-31 Ureveal, Inc. Method, system, and computer program product for concept-based multi-dimensional analysis of unstructured information
US10067936B2 (en) 2014-12-30 2018-09-04 Facebook, Inc. Machine translation output reranking
US10089299B2 (en) 2015-12-17 2018-10-02 Facebook, Inc. Multi-media context language processing
US10133738B2 (en) 2015-12-14 2018-11-20 Facebook, Inc. Translation confidence scores
US10289681B2 (en) 2015-12-28 2019-05-14 Facebook, Inc. Predicting future translations
US10311364B2 (en) 2013-11-19 2019-06-04 Salesforce.Com, Inc. Predictive intelligence for service and support
US10319031B2 (en) 2003-11-25 2019-06-11 Autoalert, Llc Generating customer-specific vehicle proposals for potential vehicle customers
US10346537B2 (en) 2015-09-22 2019-07-09 Facebook, Inc. Universal translation
US10380249B2 (en) 2017-10-02 2019-08-13 Facebook, Inc. Predicting future trending topics
US10430848B2 (en) 2016-10-18 2019-10-01 Autoalert, Llc. Visual discovery tool for automotive manufacturers, with network encryption, data conditioning, and prediction engine
US10902221B1 (en) 2016-06-30 2021-01-26 Facebook, Inc. Social hash for language models
US10902215B1 (en) 2016-06-30 2021-01-26 Facebook, Inc. Social hash for language models
US11017027B2 (en) * 2017-05-12 2021-05-25 Qliktech International Ab Index machine
US11144525B2 (en) * 2017-05-12 2021-10-12 Qliktech International Ab Chart engine
US11182394B2 (en) 2017-10-30 2021-11-23 Bank Of America Corporation Performing database file management using statistics maintenance and column similarity

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5970482A (en) * 1996-02-12 1999-10-19 Datamind Corporation System for data mining using neuroagents
US5991751A (en) * 1997-06-02 1999-11-23 Smartpatents, Inc. System, method, and computer program product for patent-centric and group-oriented data processing
US6185561B1 (en) * 1998-09-17 2001-02-06 Affymetrix, Inc. Method and apparatus for providing and expression data mining database
US6185559B1 (en) * 1997-05-09 2001-02-06 Hitachi America, Ltd. Method and apparatus for dynamically counting large itemsets
US6185549B1 (en) * 1998-04-29 2001-02-06 Lucent Technologies Inc. Method for mining association rules in data
US6439783B1 (en) * 1994-07-19 2002-08-27 Oracle Corporation Range-based query optimizer
US6516308B1 (en) * 2000-05-10 2003-02-04 At&T Corp. Method and apparatus for extracting data from data sources on a network
US6516310B2 (en) * 1999-12-07 2003-02-04 Sybase, Inc. System and methodology for join enumeration in a memory-constrained environment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6439783B1 (en) * 1994-07-19 2002-08-27 Oracle Corporation Range-based query optimizer
US5970482A (en) * 1996-02-12 1999-10-19 Datamind Corporation System for data mining using neuroagents
US6185559B1 (en) * 1997-05-09 2001-02-06 Hitachi America, Ltd. Method and apparatus for dynamically counting large itemsets
US5991751A (en) * 1997-06-02 1999-11-23 Smartpatents, Inc. System, method, and computer program product for patent-centric and group-oriented data processing
US6185549B1 (en) * 1998-04-29 2001-02-06 Lucent Technologies Inc. Method for mining association rules in data
US6185561B1 (en) * 1998-09-17 2001-02-06 Affymetrix, Inc. Method and apparatus for providing and expression data mining database
US6516310B2 (en) * 1999-12-07 2003-02-04 Sybase, Inc. System and methodology for join enumeration in a memory-constrained environment
US6516308B1 (en) * 2000-05-10 2003-02-04 At&T Corp. Method and apparatus for extracting data from data sources on a network

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
Brobowski et al., "Oracle 7 Server Concepts Manual", pp. 5-3, 11-3, Dec. 1992.* *
Hirayama et al., Scalable data mining with log based consistency DSM for high performance distributed computing, Engineering of Complex Computer Systems, 2000, ICECCS 2000, Proceedings Sixth IEEE Conference on, 2000, pp. 143-150.* *
Hou, A framework for statistical data mining with summary tables, Scientific and Statistical Database Management, 1999, Eleventh International Conference on, Aug. 1999, pp. 14-23. *
Hsu et al., "Analyzing the subjective interestingness of association rules", IEEE Intelligent Systems, vol. 15, Issue 5, Sep.Oct. 2000, pp. 47-55.* *
Kusiak et al., "Autonomous decision-making: a data mining approach", Information Technology in Biomedicine: IEEE Transactions on, vol. 4, Issue 4, pp. 274-284, Dec. 2000.* *
Robinson et al., Data mining information visualization-beyond charts and graphs, Information Visualisation, 2002, Proceedings, Sixth International Conference on, 2002, 577-583.* *
Seltzer et al., "INDED: a distributed knowledge-based learning system", IEEE Intelligent Systems, vol. 15, Sep.-Oct. 2000, pp. 38-46.* *

Cited By (140)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050114294A1 (en) * 1999-06-18 2005-05-26 Microsoft Corporation System for improving the performacne of information retrieval-type tasks by identifying the relations of constituents
US7536397B2 (en) * 1999-06-18 2009-05-19 Microsoft Corporation System for improving the performance of information retrieval-type tasks by identifying the relations of constituents
US7418431B1 (en) * 1999-09-30 2008-08-26 Fair Isaac Corporation Webstation: configurable web-based workstation for reason driven data analysis
US20020046273A1 (en) * 2000-01-28 2002-04-18 Lahr Nils B. Method and system for real-time distributed data mining and analysis for network
US7444291B1 (en) 2000-08-10 2008-10-28 Ingenix, Inc. System and method for modeling of healthcare utilization
US20050251525A1 (en) * 2000-09-22 2005-11-10 Chu Chengwen R Model repository
US7809729B2 (en) * 2000-09-22 2010-10-05 Sas Institute Inc. Model repository
US20050198041A1 (en) * 2000-12-07 2005-09-08 Lewandowski Robert P. Method and apparatus for processing electronic records for physical transactions
US7640175B1 (en) 2000-12-08 2009-12-29 Ingenix, Inc. Method for high-risk member identification
US20100100395A1 (en) * 2000-12-08 2010-04-22 Ingenix, Inc. Method for high-risk member identification
US6996551B2 (en) * 2000-12-18 2006-02-07 International Business Machines Corporation Apparata, articles and methods for discovering partially periodic event patterns
US20020107841A1 (en) * 2000-12-18 2002-08-08 Hellerstein Joseph L. Systems and methods for discovering partially periodic event patterns
US20040010505A1 (en) * 2001-04-26 2004-01-15 Vishnubhotla Prasad R. Method and system for data mining automation in domain-specific analytic applications
US6799181B2 (en) * 2001-04-26 2004-09-28 International Business Machines Corporation Method and system for data mining automation in domain-specific analytic applications
USRE46973E1 (en) 2001-05-07 2018-07-31 Ureveal, Inc. Method, system, and computer program product for concept-based multi-dimensional analysis of unstructured information
US7627588B1 (en) 2001-05-07 2009-12-01 Ixreveal, Inc. System and method for concept based analysis of unstructured data
US7831559B1 (en) 2001-05-07 2010-11-09 Ixreveal, Inc. Concept-based trends and exceptions tracking
US7890514B1 (en) 2001-05-07 2011-02-15 Ixreveal, Inc. Concept-based searching of unstructured objects
US7536413B1 (en) 2001-05-07 2009-05-19 Ixreveal, Inc. Concept-based categorization of unstructured objects
US7194483B1 (en) 2001-05-07 2007-03-20 Intelligenxia, Inc. Method, system, and computer program product for concept-based multi-dimensional analysis of unstructured information
US7114001B2 (en) * 2001-05-11 2006-09-26 International Business Machines Corporation Predictive networking
US20020169824A1 (en) * 2001-05-11 2002-11-14 International Business Machines Corporation Predictive networking
US7580912B2 (en) * 2001-06-12 2009-08-25 Alcatel-Lucent Usa Inc. Performance data mining based on real time analysis of sensor data
US20030023612A1 (en) * 2001-06-12 2003-01-30 Carlbom Ingrid Birgitta Performance data mining based on real time analysis of sensor data
US7069197B1 (en) * 2001-10-25 2006-06-27 Ncr Corp. Factor analysis/retail data mining segmentation in a data mining system
US20030145000A1 (en) * 2002-01-31 2003-07-31 International Business Machines Corporation System and method of using data mining prediction methodology
US7099880B2 (en) * 2002-01-31 2006-08-29 International Business Machines Corporation System and method of using data mining prediction methodology
US8589413B1 (en) 2002-03-01 2013-11-19 Ixreveal, Inc. Concept-based method and system for dynamically analyzing results from search engines
US6970882B2 (en) * 2002-04-04 2005-11-29 International Business Machines Corporation Unified relational database model for data mining selected model scoring results, model training results where selection is based on metadata included in mining model control table
US20030195889A1 (en) * 2002-04-04 2003-10-16 International Business Machines Corporation Unified relational database model for data mining
US6981182B2 (en) * 2002-05-03 2005-12-27 General Electric Company Method and system for analyzing fault and quantized operational data for automated diagnostics of locomotives
US20030208706A1 (en) * 2002-05-03 2003-11-06 Roddy Nicholas E. Method and system for analyzing fault and quantized operational data for automated diagnostics of locomotives
US7756804B2 (en) * 2002-05-10 2010-07-13 Oracle International Corporation Automated model building and evaluation for data mining system
US20030212678A1 (en) * 2002-05-10 2003-11-13 Bloom Burton H. Automated model building and evaluation for data mining system
US20030229635A1 (en) * 2002-06-03 2003-12-11 Microsoft Corporation Efficient evaluation of queries with mining predicates
US7346601B2 (en) * 2002-06-03 2008-03-18 Microsoft Corporation Efficient evaluation of queries with mining predicates
US7640252B2 (en) * 2002-06-21 2009-12-29 Microsoft Corporation Systems and methods for generating prediction queries
US6931391B2 (en) * 2002-06-21 2005-08-16 Microsoft Corporation Systems and methods for generating prediction queries
US20030236784A1 (en) * 2002-06-21 2003-12-25 Zhaohui Tang Systems and methods for generating prediction queries
US20050144163A1 (en) * 2002-06-21 2005-06-30 Microsoft Corporation Systems and methods for generating prediction queries
US20040039548A1 (en) * 2002-08-23 2004-02-26 Selby David A. Method, system, and computer program product for outlier detection
US7050932B2 (en) * 2002-08-23 2006-05-23 International Business Machines Corporation Method, system, and computer program product for outlier detection
US7120623B2 (en) * 2002-08-29 2006-10-10 Microsoft Corporation Optimizing multi-predicate selections on a relation using indexes
US20040044662A1 (en) * 2002-08-29 2004-03-04 Microsoft Corporation Optimizing multi-predicate selections on a relation using indexes
US20040049473A1 (en) * 2002-09-05 2004-03-11 David John Gower Information analytics systems and methods
US20040088730A1 (en) * 2002-11-01 2004-05-06 Srividya Gopalan System and method for maximizing license utilization and minimizing churn rate based on zero-reject policy for video distribution
US20040095390A1 (en) * 2002-11-19 2004-05-20 International Business Machines Corporaton Method of performing a drag-drop operation
US7249120B2 (en) * 2003-06-27 2007-07-24 Microsoft Corporation Method and apparatus for selecting candidate statistics to estimate the selectivity value of the conditional selectivity expression in optimize queries based on a set of predicates that each reference a set of relational database tables
US20050004907A1 (en) * 2003-06-27 2005-01-06 Microsoft Corporation Method and apparatus for using conditional selectivity as foundation for exploiting statistics on query expressions
US20050033723A1 (en) * 2003-08-08 2005-02-10 Selby David A. Method, system, and computer program product for sorting data
US10580078B2 (en) 2003-10-17 2020-03-03 Optuminsight, Inc. System and method for assessing healthcare risks
US20050086076A1 (en) * 2003-10-17 2005-04-21 Integrated Healthcare Information Services, Inc. System and method for assessing healthcare risks
US9058629B2 (en) 2003-10-17 2015-06-16 Optuminsight, Inc. System and method for assessing healthcare risks
US11151645B2 (en) 2003-11-25 2021-10-19 Autoalert, Llc Generating customer-specific vehicle proposals for potential vehicle customers
US10319031B2 (en) 2003-11-25 2019-06-11 Autoalert, Llc Generating customer-specific vehicle proposals for potential vehicle customers
US7433879B1 (en) * 2004-06-17 2008-10-07 Versata Development Group, Inc. Attribute based association rule mining
US20080270336A1 (en) * 2004-06-30 2008-10-30 Northrop Grumman Corporation System and method for the automated discovery of unknown unknowns
US8078559B2 (en) 2004-06-30 2011-12-13 Northrop Grumman Systems Corporation System and method for the automated discovery of unknown unknowns
US20060112048A1 (en) * 2004-10-29 2006-05-25 Talbot Patrick J System and method for the automated discovery of unknown unknowns
US20080195601A1 (en) * 2005-04-14 2008-08-14 The Regents Of The University Of California Method For Information Retrieval
US7562067B2 (en) * 2005-05-06 2009-07-14 Microsoft Corporation Systems and methods for estimating functional relationships in a database
US20060282436A1 (en) * 2005-05-06 2006-12-14 Microsoft Corporation Systems and methods for estimating functional relationships in a database
US20070011188A1 (en) * 2005-07-05 2007-01-11 International Business Machines Corporation System and method for selecting a data mining modeling algorithm for data mining applications
US7516152B2 (en) 2005-07-05 2009-04-07 International Business Machines Corporation System and method for generating and selecting data mining models for data mining applications
US20070011187A1 (en) * 2005-07-05 2007-01-11 International Business Machines Corporation System and method for generating and selecting data mining models for data mining applications
US7509337B2 (en) 2005-07-05 2009-03-24 International Business Machines Corporation System and method for selecting parameters for data mining modeling algorithms in data mining applications
US7512626B2 (en) 2005-07-05 2009-03-31 International Business Machines Corporation System and method for selecting a data mining modeling algorithm for data mining applications
US20070011135A1 (en) * 2005-07-05 2007-01-11 International Business Machines Corporation System and method for selecting parameters for data mining modeling algorithms in data mining applications
US20070027771A1 (en) * 2005-07-29 2007-02-01 Yahoo! Inc. API for maintenance and delivery of advertising content
US9558498B2 (en) 2005-07-29 2017-01-31 Excalibur Ip, Llc System and method for advertisement management
US7788251B2 (en) 2005-10-11 2010-08-31 Ixreveal, Inc. System, method and computer program product for concept-based searching and analysis
US20070143547A1 (en) * 2005-12-20 2007-06-21 Microsoft Corporation Predictive caching and lookup
US7676485B2 (en) 2006-01-20 2010-03-09 Ixreveal, Inc. Method and computer program product for converting ontologies into concept semantic networks
US8244718B2 (en) * 2006-08-25 2012-08-14 Teradata Us, Inc. Methods and systems for hardware acceleration of database operations and queries
US20080183688A1 (en) * 2006-08-25 2008-07-31 Chamdani Joseph I Methods and systems for hardware acceleration of database operations and queries
US7630981B2 (en) * 2006-12-26 2009-12-08 Robert Bosch Gmbh Method and system for learning ontological relations from documents
US20080154578A1 (en) * 2006-12-26 2008-06-26 Robert Bosch Gmbh Method and system for learning ontological relations from documents
US20080179229A1 (en) * 2007-01-31 2008-07-31 Russell N. Frye Filter assembly for use in drainage system
US8652323B2 (en) 2007-01-31 2014-02-18 Russell N. Frye Filter assembly for use in drainage system
US9424315B2 (en) 2007-08-27 2016-08-23 Teradata Us, Inc. Methods and systems for run-time scheduling database operations that are executed in hardware
US8495055B2 (en) * 2007-10-01 2013-07-23 Technion Research And Development Foundation Ltd Method and computer program for evaluating database queries involving relational and hierarchical data
US20100205171A1 (en) * 2007-10-01 2010-08-12 Technion Research And Development Foundation Ltd. Method and computer program for evaluating database queries involving relational and hierarchical
US7966343B2 (en) 2008-04-07 2011-06-21 Teradata Us, Inc. Accessing data in a column store database based on hardware compatible data structures
US8862625B2 (en) 2008-04-07 2014-10-14 Teradata Us, Inc. Accessing data in a column store database based on hardware compatible indexing and replicated reordered columns
US8458129B2 (en) 2008-06-23 2013-06-04 Teradata Us, Inc. Methods and systems for real-time continuous updates
US8355950B2 (en) 2009-02-25 2013-01-15 HCD Software, LLC Generating customer-specific vehicle proposals for vehicle service customers
US8527349B2 (en) 2009-02-25 2013-09-03 HCD Software, LLC Methods, apparatus and computer program products for targeted and customized marketing of vehicle customers
US9245243B2 (en) 2009-04-14 2016-01-26 Ureveal, Inc. Concept-based analysis of structured and unstructured data using concept inheritance
US8543445B2 (en) * 2009-12-21 2013-09-24 Hartford Fire Insurance Company System and method for direct mailing insurance solicitations utilizing hierarchical bayesian inference for prospect selection
US20110153419A1 (en) * 2009-12-21 2011-06-23 Hall Iii Arlest Bryon System and method for intelligent modeling for insurance marketing
US8775342B2 (en) * 2011-11-22 2014-07-08 International Business Machines Corporation Incremental context accumulating systems with information co-location for high performance and real-time decisioning systems
US20130132400A1 (en) * 2011-11-22 2013-05-23 International Business Machines Corporation Incremental context accumulating systems with information co-location for high performance and real-time decisioning systems
US8688605B2 (en) * 2011-11-22 2014-04-01 International Business Machines Corporation Incremental context accumulating systems with information co-location for high performance and real-time decisioning systems
US20130218893A1 (en) * 2012-02-17 2013-08-22 Girish Kalasa Ganesh Pai Executing in-database data mining processes
US20130232296A1 (en) * 2012-02-23 2013-09-05 Kabushiki Kaisha Toshiba Memory system and control method of memory system
US9251055B2 (en) * 2012-02-23 2016-02-02 Kabushiki Kaisha Toshiba Memory system and control method of memory system
US20130325158A1 (en) * 2012-05-31 2013-12-05 Yokogawa Electric Corporation Process monitoring system, apparatus and method
US9921575B2 (en) * 2012-05-31 2018-03-20 Yokogawa Electric Corporation Process monitoring system, apparatus and method
US8713638B2 (en) 2012-06-30 2014-04-29 AT&T Intellectual Property I, L.L.P. Managing personal information on a network
US9361478B2 (en) 2012-06-30 2016-06-07 At&T Intellectual Property I, L.P. Managing personal information on a network
US8977589B2 (en) 2012-12-19 2015-03-10 International Business Machines Corporation On the fly data binning
US8965839B2 (en) 2012-12-19 2015-02-24 International Business Machines Corporation On the fly data binning
US9235332B2 (en) * 2013-02-25 2016-01-12 Christian D. Poulin Interfaces for predictive models
US20140245207A1 (en) * 2013-02-25 2014-08-28 Christian D. Poulin Interfaces for predictive models
US10860557B2 (en) * 2013-03-13 2020-12-08 Salesforce.Com, Inc. Systems, methods, and apparatuses for implementing change value indication and historical value comparison
US9753962B2 (en) 2013-03-13 2017-09-05 Salesforce.Com, Inc. Systems, methods, and apparatuses for populating a table having null values using a predictive query interface
US10963541B2 (en) 2013-03-13 2021-03-30 Salesforce.Com, Inc. Systems, methods, and apparatuses for implementing a related command with a predictive query interface
US20140278755A1 (en) * 2013-03-13 2014-09-18 Salesforce.Com, Inc. Systems, methods, and apparatuses for implementing change value indication and historical value comparison
CN104050225B (en) * 2013-03-14 2018-11-09 Sap欧洲公司 View variable in database schema mapping
CN104050225A (en) * 2013-03-14 2014-09-17 Sap股份公司 View variants in database schema mapping
US10311364B2 (en) 2013-11-19 2019-06-04 Salesforce.Com, Inc. Predictive intelligence for service and support
US10002131B2 (en) 2014-06-11 2018-06-19 Facebook, Inc. Classifying languages for objects and entities
US10013417B2 (en) 2014-06-11 2018-07-03 Facebook, Inc. Classifying languages for objects and entities
US9864744B2 (en) * 2014-12-03 2018-01-09 Facebook, Inc. Mining multi-lingual data
US20160162575A1 (en) * 2014-12-03 2016-06-09 Facebook, Inc. Mining multi-lingual data
US9830404B2 (en) 2014-12-30 2017-11-28 Facebook, Inc. Analyzing language dependency structures
US10067936B2 (en) 2014-12-30 2018-09-04 Facebook, Inc. Machine translation output reranking
US9830386B2 (en) 2014-12-30 2017-11-28 Facebook, Inc. Determining trending topics in social media
US9899020B2 (en) 2015-02-13 2018-02-20 Facebook, Inc. Machine learning dialect identification
US10346537B2 (en) 2015-09-22 2019-07-09 Facebook, Inc. Universal translation
US10133738B2 (en) 2015-12-14 2018-11-20 Facebook, Inc. Translation confidence scores
US10089299B2 (en) 2015-12-17 2018-10-02 Facebook, Inc. Multi-media context language processing
US9805029B2 (en) 2015-12-28 2017-10-31 Facebook, Inc. Predicting future translations
US10540450B2 (en) 2015-12-28 2020-01-21 Facebook, Inc. Predicting future translations
US10002125B2 (en) 2015-12-28 2018-06-19 Facebook, Inc. Language model personalization
US10289681B2 (en) 2015-12-28 2019-05-14 Facebook, Inc. Predicting future translations
US10902221B1 (en) 2016-06-30 2021-01-26 Facebook, Inc. Social hash for language models
US10902215B1 (en) 2016-06-30 2021-01-26 Facebook, Inc. Social hash for language models
US10885562B2 (en) 2016-10-18 2021-01-05 Autoalert, Llc Visual discovery tool for automotive manufacturers with network encryption, data conditioning, and prediction engine
US10430848B2 (en) 2016-10-18 2019-10-01 Autoalert, Llc. Visual discovery tool for automotive manufacturers, with network encryption, data conditioning, and prediction engine
US11790420B2 (en) 2016-10-18 2023-10-17 Autoalert, Llc Visual discovery tool for automotive manufacturers with network encryption, data conditioning, and prediction engine
US10929771B2 (en) * 2016-11-15 2021-02-23 General Electric Company Multimodal, small and big data, machine tearing systems and processes
US20180137431A1 (en) * 2016-11-15 2018-05-17 General Electric Company Multimodal, small and big data, machine learing systems and processes
US11017027B2 (en) * 2017-05-12 2021-05-25 Qliktech International Ab Index machine
US11144525B2 (en) * 2017-05-12 2021-10-12 Qliktech International Ab Chart engine
US11599576B2 (en) 2017-05-12 2023-03-07 Qliktech International Ab Index machine
US11755554B2 (en) 2017-05-12 2023-09-12 Qliktech International Ab Chart engine
US11947596B2 (en) 2017-05-12 2024-04-02 Qliktech International Ab Index machine
US10380249B2 (en) 2017-10-02 2019-08-13 Facebook, Inc. Predicting future trending topics
US11182394B2 (en) 2017-10-30 2021-11-23 Bank Of America Corporation Performing database file management using statistics maintenance and column similarity

Similar Documents

Publication Publication Date Title
US6629095B1 (en) System and method for integrating data mining into a relational database management system
Tang et al. Data mining with SQL Server 2005
US6640226B1 (en) Ranking query optimization in analytic applications
US8489532B2 (en) Similarity matching of a competitor&#39;s products
Tjioe et al. Mining association rules in data warehouses
O’Neil et al. The star schema benchmark (SSB)
US8930243B2 (en) System, process and software arrangement for providing multidimensional recommendations/suggestions
US6757670B1 (en) Method and system for query processing
US20110131202A1 (en) Exploration of item consumption by customers
US6847962B1 (en) Analyzing, optimizing and rewriting queries using matching and compensation between query and automatic summary tables
US20090012971A1 (en) Similarity matching of products based on multiple classification schemes
US20030220860A1 (en) Knowledge discovery through an analytic learning cycle
US20080288889A1 (en) Data visualization application
US20090006148A1 (en) Apparatus and method for materializing related business intelligence data entities
US11281664B1 (en) Search engine optimizer
US7970735B2 (en) Cross varying dimension support for analysis services engine
JP2003526159A (en) Multidimensional database and integrated aggregation server
JP2001273327A (en) Aggregate predicate and retrieval in data base management system
US6996568B1 (en) System and method for extension of data schema
Meier et al. Using a fuzzy classification query language for customer relationship management
Nestorov et al. Ad-hoc association-rule mining within the data warehouse
Katsaras et al. Data mining: a segmentation analysis of US grocery shoppers
US20060230028A1 (en) Apparatus and method for constructing complex database query statements based on business analysis comparators
Reinschmidt et al. Intelligent miner for data: enhance your business intelligence
Stamen Structuring databases for analysis

Legal Events

Date Code Title Description
AS Assignment

Owner name: RED BRICK SYSTEMS, INC., CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:WAGSTAFF, WILLIAM M.;SCHNEIDER, DONOVAN A.;KOEHLER, ANN M.;AND OTHERS;REEL/FRAME:009729/0972;SIGNING DATES FROM 19981222 TO 19981229

AS Assignment

Owner name: INFORMIX SOFTWARE, INC., CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:RED BRICK SYSTEMS, INC.;REEL/FRAME:010666/0228

Effective date: 20000117

AS Assignment

Owner name: RED BRICK SYSTEMS, INC., CALIFORNIA

Free format text: RECISSION OF ASSIGNMENT;ASSIGNOR:INFORMIX SOFTWARE, INC.;REEL/FRAME:010950/0397

Effective date: 20000629

AS Assignment

Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:INFORMIX CORPORATION AND/OR INFORMIX SOFTWARE INC.;REEL/FRAME:012581/0221

Effective date: 20010701

STCF Information on status: patent grant

Free format text: PATENTED CASE

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

CC Certificate of correction
FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

AS Assignment

Owner name: SAP AG, GERMANY

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:INTERNATIONAL BUSINESS MACHINES CORPORATION;REEL/FRAME:028540/0522

Effective date: 20120629

AS Assignment

Owner name: SAP SE, GERMANY

Free format text: CHANGE OF NAME;ASSIGNOR:SAP AG;REEL/FRAME:033625/0334

Effective date: 20140707

FPAY Fee payment

Year of fee payment: 12