Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Defining predictors for scorecards

Updated on May 17, 2024

You can define predictor values to calculate customer score. By using factors such as age and income, you can, for example, assess credit risk.

Use the Scorecard tab to define the predictors by adding properties, by determining how the score should be calculated, and by assigning the weight of each predictor.
By default, every predictor is assigned the same weight (1). Changing this value results in the calculation of the final score as weight multiplied by score (for example, 0.5*30). Maintaining the default value implies that only the score is considered because the coefficient is 1 (for example, 1*30).
  1. In Dev Studio, click RecordsDecisionScorecard.
  2. In the Scorecard tab, double-click a scorecard instance.
  3. To combine the score, in the scorecard instance tab, in the Combiner function field, choose one of the following options:
    • To combine the total sum of score values between predictors, click Sum.
    • To combine the score for each predictor and take the lowest value, click Min.
    • To combine the score for each predictor and take the highest value, click Max.
    • To combine the total sum of score values between predictors divided by the number of predictors, click Average.
  4. In the Predictor expression field, define predictors in one of the following ways:
    • By selecting existing single value properties.
    • By using an expression (for example, @if(.EmploymentStatus=="Employed",.Salary,.CreditAmount).
  5. In the Condition field, define the criteria to match the predictor values to the score.
    For example: If the .Score property is Less Than or Equal to 20, the score is 0.2.
  6. In the Score field, enter the score for cases that fall into the defined condition.
    For example: You can define the score in one of the following ways:
    • Explicitly (20)
    • Through a property (.Score)
    • As a result of an expression (.Score*.PenaltyMargin or @divide(.Score,100))
  7. Optional: In the Otherwise field, enter a default score for cases that do not match the defined conditions.
  8. In the Weight field, define the coefficient of the predictor.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us