Decision making based on multiple models
Is it possible to design a decision engine based on multiple models? This is the question one of my customers asked me recently. In the world of traditional tools and methods such a requirement calls for some special considerations and new design for the infrastructure you are using. The answer for us using the EyeOnRisk platform is of course YES. I will explain exactly why and how in this short post.
When do we need multiple models?
It’s often the case that you wish to segment the population you are trying to score to smaller segments which create more accurate models. A simple example may be to segment population by age: for consumers younger than 25 I will have a pre-trained model and another one for the ones who are older. The models may reveal that the older population holds less risk thus can be granted with a more appealing offer in terms of interest and total amount for a loan.
To handle such a scenario in your modeling solution would usually require to develop to distinct models, each one developed with the same laborious process either manually or with the aid of a modelling tool. Eventually you will need to implement business logic which will act on each record differently according to the AGE of the consumer. Such business logic can be developed easily using the EyeOnRisk platform under the decision engine module in the form of a conditional rule set.
Conditional Rule Set
One of the building blocks of a rule set allows to add a conditional block to the logic. This allows to steer the decision based on the value of one or more variables in the input record. In our example above we wish to add a condition based on the value of AGE (which we assume is passed as an input to the decision process). This provides us with the branches needed to differentiate between two models. Assuming we already developed the models and they are ready in the system, we can now activate the appropriate model to calculate the resulting score:
Using multiple attached flows
Models in the EyeOnRisk platform are implemented using a flow. Later this flows can be used in many areas of the system to achieve accurate predictions of your business. In the example above we’ve created two flows which represents the two segments of the population we wish to assess (old people vs young people). When we define the rule set, we declare the used flows as “attached flows”. This means that for every activation of the rule set, these flows will be calculated and provide a score based on all the relevant inputs from the record.
For each attached flow we provide a different target score variable so we can later distinguish between them. These scores are actually used on the right side in the above image, where you can see the conditional statement in the rule set (“if” statement) which takes the proper score according to the AGE variable. In each branch of the if statement the appropriate score is assigned to the final variable holding the score (simply called “score”).
Implementing conditional logic and using multiple models is easy provided that you are working with the right tools. To learn more about the different ways the EyeOnRisk platform can boost your business and time to market – contact us.