Boosted Ensemble of Segmented Scorecard Models
Data is received that include values that correspond to a plurality of variables. A score is then generated based on the received data and using a boosted ensemble of segmented scorecard models. The boosted ensemble of segmented scorecard models includes two or more segmented scorecard models. Subsequently, data including the score can be provided (e.g., displayed, transmitted, loaded, stored, etc.). Related apparatus, systems, techniques and articles are also described.
Latest FAIR ISAAC CORPORATION Patents:
- Method and apparatus for analyzing coverage, bias, and model explanations in large dimensional modeling data
- Data distillery for signal detection
- System and method for linearizing messages from data sources for optimized high-performance processing in a stream processing system
- Interpretable feature discovery with grammar-based bayesian optimization
- Managing missing values in datasets for machine learning models
The subject matter described herein relates to generating a boosted ensemble of segmented scorecard models.
BACKGROUNDA common prediction task is to estimate a function ƒ from predictors to target domain (sometimes referred to as a score). This estimation can be determined, for example, using a linear regression model which is a linear combination of predictors:
where xi is the value of the ith predictor, and wi the regression weight to be trained.
Compared with regression models, scorecard models include a binning step to divide each predictor space into bins, and then assign score weight to each bin.
where ƒi(xi) is the predictor score:
wij: the score weights associated with bin j for predictor xi.
bij: the dummy indicator variables for the bins of predictor xi.
Bins for all predictors can be generated using various binning algorithms, which also support categorical predictors. Missing values can be handled using a missing value bin. Given enough bins for a predictor xi, the above predictor score function ƒi(xi) is flexible to approximate any general function based on a single predictor, and the scorecard model is the sum of such functions. The complete, compact representation of a model by its bin definitions and weights makes the scorecard a popular, transparent, and easily understood model formulation. And the ability of a scorecard to approximate general functions makes it a strong predictive tool.
A scorecard model can be trained to optimize the bin weights such that the prediction error for the model is minimized. Scorecards can be used to predict both continuous and binary targets. Scorecards are generally characterized as being much more powerful than regression models, and still simple enough to be interpretable. By looking into the bin weights for the predictors, insight can be gained for the data.
SUMMARYIn one aspect, data is received that include values that correspond to a plurality of variables. A score is then generated based on the received data and using a boosted ensemble of segmented scorecard models. The boosted ensemble of segmented scorecard models includes two or more segmented scorecard models. Subsequently, data including the score can be provided (e.g., displayed, transmitted, loaded, stored, etc.).
The score ƒ can be calculated by the boosted ensemble of segmented scorecard models based on:
wherein s is a score derived from a previous ensemble, β is a shrinking parameter; and wherein the enhanced scorecard model optimizes β and predictor bin weights so that the score ƒ is better than the score s.
In an interrelated aspect, the boosted ensemble of segmented scorecard models is generated by: training a first segmented scorecard model, identifying or generating a second segmented scorecard model that provides an enhanced score relative to the first segmented scorecard model, enumerating split variables and split values in the second segmented scorecard model using a segmentation search algorithm, and forming the boosted ensemble scorecard model based on both the first segmented scorecard model and the second segmented scorecard model.
Non-transitory computer program products (i.e., physically embodied computer program products) are also described that store instructions, which when executed by one or more data processors of one or more computing systems, causes at least one data processor to perform operations herein. Similarly, computer systems are also described that may include one or more data processors and memory coupled to the one or more data processors. The memory may temporarily or permanently store instructions that cause at least one processor to perform one or more of the operations described herein. In addition, methods can be implemented by one or more data processors either within a single computing system or distributed among two or more computing systems. Such computing systems can be connected and can exchange data and/or commands or other instructions or the like via one or more connections, including but not limited to a connection over a network (e.g. the Internet, a wireless wide area network, a local area network, a wide area network, a wired network, or the like), via a direct connection between one or more of the multiple computing systems, etc.
The subject matter described herein provides many advantages. For example, intuitively, a single segmented scorecard is limited by its segmentation. One tree can only capture limited split variables and split values. When there are many interactions among different variable combinations, it is difficult for one single tree to capture all such interactions. With the ensemble of segmented scorecards as provided herein, there are multiple trees. Such ensembles are more flexible and more powerful to capture the interactions among different variables thereby providing enhanced scores.
The details of one or more variations of the subject matter described herein are set forth in the accompanying drawings and the description below. Other features and advantages of the subject matter described herein will be apparent from the description and drawings, and from the claims.
Conventional scorecard models (sometimes referred to herein simply as “scorecards”) are additive models which assume there is no interaction among predictors. In practice however, there can be interactions among predictors. There are several techniques to deal with such interactions.
One approach is to use segmented scorecard models such as those described in U.S. patent application Ser. No. 14/176,971, the contents of which are hereby incorporated by reference. When using a traditional decision tree as a predictive model, the leaf node typically returns the dominant outcome (classification) or mean value (regression). With segmented scorecard, one or more leaf nodes are each associated with a scorecard model. By placing individual scorecards in the leaf nodes of a decision tree, the whole segmented scorecard model can capitalize on interactions among the predictors.
In machine learning, ensemble methods use multiple models to obtain better predictive performance than could be obtained from any of the single model. Bagging and boosting are two commonly used ensemble methods. Bagging involves having each model in the ensemble vote with equal weight. In order to promote model variance, bagging trains each model in the ensemble using a randomly drawn subset of the training set. As an example, the random forest algorithm combines random decision trees with bagging to achieve better classification accuracy. Boosting involves incrementally building an ensemble by training each new model instance to further improve the performance. The Gradient Boosting Decision Tree algorithm is a successful example of boosting. It builds hundreds of simple decision trees, with each decision tree trying to improve the performance.
The current subject matter provides for boosting ensemble of segmented scorecards models. In particular, the current subject matter is directed to ensemble multiple segmented scorecards together, with each additional segmented scorecard to further improve the performance. An example boosting ensemble is illustrated in diagram 200 of
For boosting to work, each additional segmentation scorecard must make improvement to the current score. The scorecard has been enhanced so that it has the ability to consider a given score and make further improvement.
Here is the traditional scorecard formula:
The enhanced scorecard considers an initial score s and makes further improvement:
Here s is the given score or the current score of the ensemble. β is a shrinking parameter. The enhanced scorecard will optimize β and other predictor bin weights so that the new score ƒ is better than the given score s. If there is no room for improvement, β will equal 1 and other bin weights equal 0, so that score ƒ is the same as the given score s.
One or more aspects or features of the subject matter described herein may be realized in digital electronic circuitry, integrated circuitry, specially designed ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various implementations may include implementation in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device (e.g., mouse, touch screen, etc.), and at least one output device.
These computer programs, which can also be referred to as programs, software, software applications, applications, components, or code, include machine instructions for a programmable processor, and can be implemented in a high-level procedural language, an object-oriented programming language, a functional programming language, a logical programming language, and/or in assembly/machine language. As used herein, the term “machine-readable medium” (sometimes referred to as a computer program product) refers to physically embodied apparatus and/or device, such as for example magnetic discs, optical disks, memory, and Programmable Logic Devices (PLDs), used to provide machine instructions and/or data to a programmable data processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term “machine-readable signal” refers to any signal used to provide machine instructions and/or data to a programmable data processor. The machine-readable medium can store such machine instructions non-transitorily, such as for example as would a non-transient solid state memory or a magnetic hard drive or any equivalent storage medium. The machine-readable medium can alternatively or additionally store such machine instructions in a transient manner, such as for example as would a processor cache or other random access memory associated with one or more physical processor cores.
The subject matter described herein may be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a client computer having a graphical user interface or a Web browser through which a user may interact with an implementation of the subject matter described herein), or any combination of such back-end, middleware, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (“LAN”), a wide area network (“WAN”), and the Internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
The subject matter described herein can be embodied in systems, apparatus, methods, and/or articles depending on the desired configuration. The implementations set forth in the foregoing description do not represent all implementations consistent with the subject matter described herein. Instead, they are merely some examples consistent with aspects related to the described subject matter. Although a few variations have been described in detail above, other modifications or additions are possible. In particular, further features and/or variations can be provided in addition to those set forth herein. For example, the implementations described above can be directed to various combinations and subcombinations of the disclosed features and/or combinations and subcombinations of several further features disclosed above. In addition, the logic flow(s) depicted in the accompanying figures and/or described herein do not necessarily require the particular order shown, or sequential order, to achieve desirable results. Other implementations may be within the scope of the following claims.
Claims
1. A method comprising:
- receiving data comprising values corresponding a plurality of variables;
- generating a score based on the received data and using a boosted ensemble of segmented scorecard models, the boosted ensemble of segmented scorecard models comprising two or more segmented scorecard models; and
- providing data comprising the score.
2. A method as in claim 1, wherein the score ƒ is calculated by the boosted ensemble of segmented scorecard models based on: f = β * s + w 0 + ∑ i = 1 I f i ( x i ), wherein s is a score derived from a previous ensemble, β is a shrinking parameter; and wherein the enhanced scorecard model optimizes β and predictor bin weights so that the score ƒ is better than the score s.
3. A method as in claim 1, wherein the providing data comprises at least one of: displaying the score, transmitting data comprising the score to a remote computing system, loading data comprising the score into memory, or storing data comprising the score.
4. A method as in claim 1, wherein at least one of the receiving, generating, and providing is implemented by at least one data processor forming part of at least one computing system.
5. A method as in claim 1, wherein the boosted ensemble of segmented scorecard models is generated by:
- training a first segmented scorecard model;
- identifying or generating a second segmented scorecard model that provides an enhanced score relative to the first segmented scorecard model;
- enumerating split variables and split values in the second segmented scorecard model using a segmentation search algorithm; and
- forming the boosted ensemble of segmented scorecard models based on both the first segmented scorecard model and the second segmented scorecard model.
6. A non-transitory computer program product storing instructions which, when executed by at least one data processor forming part of at least one computing system, results in operations comprising:
- receiving data comprising values corresponding a plurality of variables;
- generating a score based on the received data and using a boosted ensemble of segmented scorecard models, the boosted ensemble of segmented scorecard models comprising two or more segmented scorecard models; and
- providing data comprising the score.
7. A computer program product as in claim 6, wherein the score ƒ is calculated by the boosted ensemble of segmented scorecard models based on: f = β * s + w 0 + ∑ i = 1 I f i ( x i ), wherein s is a score derived from a previous ensemble, β is a shrinking parameter; and wherein the enhanced scorecard model optimizes β and predictor bin weights so that the score ƒ is better than the score s.
8. A computer program product as in claim 6, wherein the providing data comprises at least one of: displaying the score, transmitting data comprising the score to a remote computing system, loading data comprising the score into memory, or storing data comprising the score.
9. A computer program product as in claim 6, wherein the boosted ensemble of segmented scorecard models is generated by:
- training a first segmented scorecard model;
- identifying or generating a second segmented scorecard model that provides an enhanced score relative to the first segmented scorecard model;
- enumerating split variables and split values in the second segmented scorecard model using a segmentation search algorithm; and
- forming the boosted ensemble of segmented scorecard models based on both the first segmented scorecard model and the second segmented scorecard model.
10. A method comprising:
- training a first segmented scorecard model;
- identifying or generating a second segmented scorecard model that provides an enhanced score relative to the first segmented scorecard model;
- enumerating split variables and split values in the second segmented scorecard model using a segmentation search algorithm; and
- forming a boosted ensemble of scorecard models based on both the first model and the second segmented scorecard model.
11. A method as in claim 10, wherein the first segmented scorecards is trained using at least one of a scorecard model, a regression, or a neural network.
12. A method as in claim 11, wherein at least one of the training, identifying, enumerating, and forming is implemented by at least one data processor forming part of at least one computing system.
13. A method as in claim 10, further comprising:
- enabling local or remote access to the boosted ensemble of segmented scorecard models to enable scores to be generated.
Type: Application
Filed: Mar 10, 2014
Publication Date: Sep 10, 2015
Patent Grant number: 10366342
Applicant: FAIR ISAAC CORPORATION (San Jose, CA)
Inventors: Xing Zhao (San Diego, CA), Peter Hamilton (Novato, CA), Andrew K. Story (Petaluma, CA)
Application Number: 14/203,195