BookmarkSubscribeRSS Feed

Credit Scoring by Example in SAS® Enterprise Miner™

Started ‎11-12-2015 by
Modified ‎02-06-2019 by
Views 6,264

Download the Files (GitHub)


This "learn by example" tip walks you through a classic credit scoring data mining flow. Use this link to download the files you need from SAS Software's github. You can import the XML into SAS Enterprise Miner to recreate a flow diagram. Use the PDF file of each example to read more details on how to build your flow diagram step by step.


In a nutshell, you create the basic Credit Scoring flow for the CS_ACCEPTS data set using these nodes:




  • Data Partition node to create a validation set and prevent overfitting
  • Interactive Grouping node to bin your input variables, visually inspect the weight of evidence trend, and override with a manual weight of evidence if necessary.
  • Scorecard node to train a logistic regression on the weight of evidence of your binned inputs, and to translate the results of your regression into a scorecard that is easy to interpret.

As a bonus, you create a Reverse Scorecard. With one quick property change, you change the order of the scale for your scorecard. Usually the higher the score, the less likely you expect to see an event (payment default). In a reverse scorecard it is the opposite, the higher the score the more likely you expect to see an event.


Another example in the same repository walks you through a flow diagram for Reject Inference. You can use use this diagram to account for sample bias, as long as you have a Rejects data set.



As part of the documentation of the repository for this example, the PDF document briefly describes the fuzzy method for reject inference. Find more information about other methods in the Credit Scoring section of the Reference Help, and a visual explanation of these methods in the video, Reject Inference in SAS Enterprise Miner:



Useful links:


Feel free to post questions or comments!


Version history
Last update:
‎02-06-2019 01:50 PM
Updated by:



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Tags