1. Field of the Invention
The present invention generally relates to predictive modeling for optimizing a business objective and, more particularly, to presentation of feature importance information available in a predictive model with correlation information among the variables.
2. Background Description
There is an increasing interest in the use of predictive modeling as a means to provide information on levers, drivers, and/or triggers to control in order to optimize some objective in a business optimization problem. For example, in trigger-based marketing, profit modeling provides key drivers in terms of customer behavior and marketing actions. In customer lifetime value management, lifetime value modeling provides key drivers in terms of customer behavior and marketing actions. In price optimization, demand forecasting provides key drivers in terms of pricing strategy, product features, etc. In corporate performance management, performance indicator modeling provides key drivers in terms of operational performance metrics and on-demand indices.
There are, however, problems with the use of predictive modeling as a means to provide feature importance. In many real world applications of predictive modeling, the user is interested in finding out features that are key “drivers” or “triggers” that are likely to affect the outcome (or the target). Current practice is to present feature information available in the estimated models (e.g., regression coefficients in linear regression) as importance measures. There is a problem with this approach, because in predictive modeling important features can be shadowed by other features that are highly correlated with them and consequently receive low importance measures. Another problem is that some features having high importance may not be causally related to the target variable, or not easily controllable, and alternatives may need to be sought.
Hence, methods are needed that augment typical feature importance information given by a predictive model to facilitate more flexible choices of actions.
It is therefore an object of the present invention to provide a method and apparatus which presents feature importance information given by a predictive model to facilitate more flexible choices of actions by business managers.
According to the present invention, there is provided a method and apparatus which provides feature importance information that combines feature importance information available in a predictive model (e.g., the variable coefficients in a linear regression model) with correlational information among the variables. For example, feature importance information may be presented a (special case of) Bayesian network structure among the variables as a graph, and regression coefficients of the variables indicated on the corresponding nodes in the graph.
The foregoing and other objects, aspects and advantages will be better understood from the following detailed description of a preferred embodiment of the invention with reference to the drawings, in which:
Referring now to the drawings, and more particularly to
Computer system 100 may include additional servers, clients, and other devices not shown. In the depicted example, the Internet provides the network 102 connection to a worldwide collection of networks and gateways that use the TCP/IP (Transmission Control Protocol/Internet Protocol) suite of protocols to communicate with one another. At the heart of the Internet is a backbone of high-speed data communication lines between major nodes or host computers, consisting of thousands of commercial, government, educational and other computer systems that route data and messages. In this type of network, hypertext mark-up language (HTML) documents and applets are used to exchange information and facilitate commercial transactions. Hypertext transfer protocol (HTTP) is the protocol used in these examples to send data between different data processing systems. Of course, computer system 100 also may be implemented as a number of different types of networks such as, for example, an intranet, a local area network (LAN), or a wide area network (WAN).
Referring to
Peripheral component interconnect (PCI) bus bridge 214 connected to I/O bus 212 provides an interface to PCI local bus 216. A number of modems may be connected to PCI bus 216. Typical PCI bus implementations will support four PCI expansion slots or add-in connectors. Communications links to network computers 108, 110 and 112 in
Additional PCI bus bridges 222 and 224 provide interfaces for additional PCI buses 226 and 228, from which additional modems or network adapters may be supported. In this manner, server 200 allows connections to multiple network computers. A graphics adapter 230 and hard disk 232 may also be connected to I/O bus 212 as depicted, either directly or indirectly.
Those of ordinary skill in the art will appreciate that the hardware depicted in
The data processing system depicted in
With reference now to
In the depicted example, local area network (LAN) adapter 310, Small Computer System Interface (SCSI) host bus adapter 312, and expansion bus interface 314 are connected to PCI local bus 306 by direct component connection. In contrast, audio adapter 316, graphics adapter 318, and audio/video adapter 319 are connected to PCI local bus 306 by add-in boards inserted into expansion slots. Expansion bus interface 314 provides a connection for a keyboard and mouse adapter 320, modem 322, and additional memory 324. SCSI host bus adapter 312 provides a connection for hard disk drive 326, tape drive 328, and CD-ROM drive 330. Typical PCI local bus implementations will support three or four PCI expansion slots or add-in connectors.
An operating system runs on processor 302 and is used to coordinate and provide control of various components within data processing system 300 in
Those of ordinary skill in the art will appreciate that the hardware in
Data processing system 300 may take various forms, such as a stand alone computer or a networked computer. The depicted example in
A preferred embodiment of the method of invention implemented on hardware of the type described above with respect to
The preferred embodiment of the invention is shown in , i=1, . . . , m}. In Step 1.2, the linear regression engine R is called on input data S. In Step 1.3, FI is defined as the Feature Importance information output by linear regression engine R on input data S. In the second function block 502, there are two steps. Step 2.1 calls the dependency trees module G on the data S. In Step 2.2, GM is defined as the Graphical Model output of module G on CI, the Correlation Information output by linear regression engine R on the input data S. Finally, in function block 504, the Feature Importance (FI) information and the Graphical Model (GM) output are displayed. This information is combined in such a way that FI information on each node is displayed as an attribute of that node in the GM output,
Computer code which implements the function blocks shown in
The Linear Regression algorithm is one of the most well-known and standard methods of predictive modeling. The linear regression method is based on the idea of approximating the target real valued function as a linear function of the input, explanatory, variables. That is, if the explanatory variables are x1 through xn, and the target variable is y, then linear regression outputs a linear model of the following form that best approximates the target function:
y=a0+a1x1+ . . . +anxn (1)
The judgment of best approximation is done with respect to the minimization of the so-called squared loss using an input sample. That is, given an input sample of the form:
S={(x1, y1), (x2, y2), . . . , (xN, yN)}
where in general xi denotes a n-dimensional real valued vector of the form (x1,1, x1,2, . . . , x1,n), the method find the function F of the form (1), which minimizes the squared error on S, namely
SE(F, S)=Σi=1, . . . , N(F(xi)−yi)2
The procedure for finding such a function F is illustrated in
With reference to , i=1, . . . , N}. In function block 602 each xi vector is modified by adding a constant element, i.e., xi:=[1, xi,1, . . . , xi,n]T. Then, in function block 604, (n+1)×N matrix X is set to be X=[xi]T. In function block 606, the (n+1)-dimensional column vector a is set to be a=[aj]T. Then, in function block 608, the N-dimensional column vectory is set to be y=[yi]T. Function block 610 performs computation that solves for a satisfying XTXa=XTy by computing a=(XTX)−1XTy. The result of this computation in function block 612 is F(x)=a0+a1x1+ . . . +anxn as the linear regression function.
It is also possible to use a modified version of linear regression, where the input variables are transformed prior to the application of the linear regression procedure. Specifically, each variable is transformed via a piecewise linear regression function of the following form:
A flow chart for the procedure for doing the above variable transformation is given in
Similarly, if some of the input variables are “categorical” variables, namely those assuming values in a finite set A, each such variable can be transformed via a piecewise constant regression function of the form:
where each Aj is a subset of A, the set of all values that can be assumed by xi.
A flow chart for this transformation is given in
These transformations can be done in a number of ways, including the use of the more general procedure of “linear regression tree”, as described by C. Apte, E. Bibelnieks, R. Natarajan, E. Pednault, F. Tipu, D. Campbell, and B. Nelson in “Segmentation-based modeling for advanced targeted marketing”, Proceedings of the Seventh ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (SIGKDD), pages 408-413. ACM, 2001. In
The feature importance information can then be obtained by a number of methods, from the output of the linear regression module described above. A simple and common method is to simply output the variable coefficients of linear regression corresponding to the transformed variable, i.e., outputting ai as the feature importance for the variable/feature xi in the regression function (1) output by the linear regression method. Another possible method is to perform “variable perturbation” for each variable, using the output model. That is, each input variable is randomly varied, for example, by adding a Gaussian noise to its value, and then the feature importance score is determined by calculating how much change in the target variable is expected by the perturbation in the explanatory variable in question. To the extent that the model captures the non-linear effect of each explanatory variable via the feature transformation, the feature importance also reflects such effects. However, the importance measure of a given feature is fundamentally dependent on the particular model output by the algorithm, and hence is not free of some fundamental shortcomings common in any regression methods. For example, if two explanatory variables are highly correlated with one another, it is very likely that the regression model will include one but not the other, at least with a significant coefficient. In such a case, one of the variables will receive a high feature importance, whereas the other will be assigned a negligible feature importance. This is not a problem if the sole goal of the modeling is to “predict” the target variable, but it is a concern if the goal is to understand what variables play an important role in determining the target variable, which is what we are interested in doing here. The next tool we make use of, that of dependency trees, is intended to address this issue.
The dependency trees tool was developed in part to address the issue described above, and it is designed to work with the output model of Transform Regression. The dependency trees algorithm is based on the classic maximum likelihood estimation method for dendroids or dependency trees, as is described by C. K. Chow and C. N. Liu in “Approximating discrete probability distributions with dependence trees”, IEEE Transactions on Information Theory, Vol. IT-14, pp. 462-467, 1968, and the corresponding estimation algorithm with respect to the Minimum Description Length Principle, which is described by J. Rissanen in “Modeling by shortest data description”, Automatica, Vol. 14, pp. 465-471, 1978, but it has been generalized to handle continuous variables.
The dendroid, or dependency tree, is a certain restricted class of probability models for a joint distribution over a number of variables, x1, . . . , xn, and takes the following form:
P(x1, . . . , xn)=P(x1)Π(x
where G is a graph, which happens to be a tree, rooted at the node x1. Dependency Trees are simply a finite set of dependency trees, each defined on a disjoint subset of the variables.
The algorithm, shown below, is guaranteed to find an optimal dependency trees with respect to the Minimum Description Length principle. In the description below, the algorithm is exhibited for the case of continuous Gaussian variables. Below, note that N denotes the size of the training sample. We let I(Xi, Xj) denote the empirical mutual information between the two variables observed in the data, namely,
I(Xi, Xj)=(½)(1+log((σXi2σXj2)/(σXi2σXj2−σXi,Xj2))
The flow diagram of the algorithm is shown in
In the preferred embodiment of the method of the invention, the above “dependency trees” algorithm can be optionally applied to the transformed variables using the transforms described above, instead of the raw input variables. This step is desirable because the variable transformation described is done so as to best predict the target variable. Thus, the subsequent analysis performed by the Dependency Trees method analyzes the correlational structure among the explanatory variables, with respect to the modeling of the specified target variable. This is a desirable property of the preferred embodiment, since the latter analysis is intended to help the interpretability of the output of the former modeling, which is regression modeling of the specified target variable.
While the invention has been described in terms of a single preferred embodiment, those skilled in the art will recognize that the invention can be practiced with modification within the spirit and scope of the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
5884037 | Aras et al. | Mar 1999 | A |
6523015 | Bera et al. | Feb 2003 | B1 |
6728690 | Meek et al. | Apr 2004 | B1 |
6810368 | Pednault | Oct 2004 | B1 |
7072841 | Pednault | Jul 2006 | B1 |
20020099678 | Albright et al. | Jul 2002 | A1 |
20030004902 | Yamanishi et al. | Jan 2003 | A1 |
20030176931 | Pednault et al. | Sep 2003 | A1 |
20030220777 | Kitchen et al. | Nov 2003 | A1 |
20040015386 | Abe et al. | Jan 2004 | A1 |
20040017575 | Balasubramanian et al. | Jan 2004 | A1 |
20040078171 | Wegerich et al. | Apr 2004 | A1 |
20040215587 | Bertrand et al. | Oct 2004 | A1 |
20050091267 | Zhang et al. | Apr 2005 | A1 |
20050197806 | Eryurek et al. | Sep 2005 | A1 |
20050289089 | Abe et al. | Dec 2005 | A1 |
20060225048 | Jakubiak | Oct 2006 | A1 |
20070040852 | Opsal et al. | Feb 2007 | A1 |
20070143851 | Nicodemus et al. | Jun 2007 | A1 |
Number | Date | Country | |
---|---|---|---|
20070159481 A1 | Jul 2007 | US |