Scorecard is a Risk Management tool which is a graphical representation of a formula used to calculate an overall score. It is mostly used by financial institutions or banks to calculate the risk they can take to sell a product in market. Thus it can predict the likelihood or probability of a certain outcome. Red Hat JBoss BRMS now supports additive scorecards that calculates an overall score by adding all partial scores assigned to individual rule conditions.
Additionally, Drools Scorecards allows for reason codes to be set, which help in identifying the specific rules (buckets) that have contributed to the overall score. Drools Scorecards will be based on the PMML 4.1 Standard.
In general, a scorecard can be created more or less in this way:
- A statistical analysis is performed on the historical data which is usually collected from the existing customer database.
- A predictive or probable characteristics (attributes or pieces of information) are identified based on this analysis.
- Each characteristics are then broken down into ranges of possible values which are then given a score.
To explain it in detail, following is an example:
Figure 6.35. Scorecard Example
6.8.2. Creating a Scorecard
Procedure: Creating a new Score Card (Spreadsheet)
- Open the Project Authoring perspective: on the main menu, click Authoring → Project Authoring.
In the Project Explorer view, do the following:
- If in the Project view of Project Explorer, select the organizational unit, repository and the project where you want to create the score card.
- If in the Repository view of Project Explorer, navigate to the project root, where you want to create the score card.
- In the perspective menu, go to New Item → Score Card (Spreadsheet).
In the Create new Score Card (Spreadsheet) dialog window, define the package details:
- In the Resource Name text box, enter the score card name.
- Click on Choose File and browse to the location to select the spreadsheet in which the score card is initially created.
- Click OK.
- The new score card spreadsheet is created under the selected project.
When you build your own application comprising guided scorecards, ensure that you have the necessary dependencies added to your classpath. For more information on dependencies for guided decision tables, see the Dependency Management for Guided Decision Tables, Scorecards, and Rule Templates section of the Red Hat JBoss BRMS Development Guide.