Build a credit strategy tree

Add past applications and their outcomes. Grow a CHAID or CART tree, approve the segments with the lowest bad rates up to your target, then download it for Decisimo.

Past applications

5,816 applications have known outcomes: 907 bad and 4,909 good, and 184 with no known outcome are left out.

The file is read in this browser and never uploaded, and only counts go anywhere if you ask for the result by email.

The tree may split on age, employment, monthly_income, housing, channel, bureau_score, loan_amount, months_at_address. Numbers are cut into ten bands of about equal size.

application_id were left out because almost every application has its own value, like an ID, or the column holds a single value.

Demo file

These are 6,000 generated demo applications for instalment loans, with age, employment, income, housing, channel, bureau score, loan amount and time at address.

Tree growth

Method

Each split can make several branches, and groups whose bad rates do not differ by more than chance are joined. A split is made only when the test finds a real difference.

Segments are approved from the lowest bad rate up, and the cutoff stops at the approval rate nearest this target.

A small segment can show a low or high bad rate from a handful of applications, so no segment is made smaller than this.

A split is made only when its difference in bad rate would come from chance less often than this. A lower number makes a smaller tree.

Approval rate

67.3%
Approved bad rate5.7%
Declined bad rate35.8%
Overall bad rate15.6%

Approving the 6 segments with the lowest bad rates among the 12 the tree made approves 67.3% of applications against a target of 70%. Their bad rate is 5.7%, compared with 15.6% for all applications.

On 1,742 applications held back from growing the tree, the same strategy approves 67.5% with a bad rate of 6.6%. This is the figure to expect on new applications.

Approval rate and bad rate

Each point approves one more segment. The green point is the cutoff nearest the target.

Strategy tree

Each box shows its applications and bad rate. Green segments are approved, and red segments are declined.

Ranked segments

SegmentRulesApplicationsBadsBad rateApproval rateDecision
S1bureau_score ≥ 7111,125151.3%27.6%Approve
S2bureau_score 664 – 711
employment = employed, retired
579264.5%41.8%Approve
S3bureau_score 589 – 641
employment = employed, retired
monthly_income ≥ 2280
320299.1%49.7%Approve
S4bureau_score 641 – 664373369.7%58.8%Approve
S5bureau_score 664 – 711
employment = self-employed, unemployed
1571811.5%62.7%Approve
S6bureau_score 553 – 589 or Missing
monthly_income ≥ 1560
channel = branch
1863317.7%67.3%Approve
S7bureau_score 589 – 641
employment = employed, retired
monthly_income < 2280
2654818.1%73.8%Decline
S8bureau_score 589 – 641
employment = self-employed, unemployed
1815128.2%78.2%Decline
S9bureau_score 553 – 589 or Missing
monthly_income ≥ 1560
channel = online, broker
3469928.6%86.7%Decline
S10bureau_score < 553
monthly_income ≥ 1560
1555535.5%90.5%Decline
S11bureau_score 553 – 589 or Missing
monthly_income < 1560
1789251.7%94.9%Decline
S12bureau_score < 553
monthly_income < 1560
20913363.6%100.0%Decline

Use the tree in Decisimo

The download is a Decisimo decision tree with the same splits and segments. Each segment records approve or decline, its number and its bad rate, so you can run the tree in a decision flow and test it on cases before it goes live.

The tree reads each attribute under this path. With $.applicant., it reads age from $.applicant.age.

The tree reads $.employment, $.monthly_income, $.channel, $.bureau_score.

In Decisimo, open Decision trees and pick Import, then choose this file.

Get the result by email

In Decisimo, the tree runs in a decision flow, is tested on past applications and goes live after approval. Start your trial

Tree method
CHAID: χ² = Σ (bads − expected)² ÷ expected + Σ (goods − expected)² ÷ expected
       p Adjusted = p × B(c, r)
CART:  Gini = 2 × p × (1 − p);  Impurity drop = n × Gini − n₁ × Gini₁ − n₂ × Gini₂
Bad rate = Bads ÷ Applications
Approved bad rate = Σ Bads (S1…Sk) ÷ Σ Applications (S1…Sk)

CHAID joins the values of an attribute whose bad rates do not differ by more than chance, then splits on the attribute whose test is strongest after allowing for how many ways the values could be joined. CART tries every cut into two and keeps the one that separates goods from bads best. About three in ten applications are held back from growing the tree when there are at least 1,000, and the approval and bad rate on them are the ones to trust.

Credit strategy trees from past applications

A credit strategy tree divides past applications into segments using attributes such as income or employment. CHAID or CART uses each application’s good or bad outcome to find splits in those attributes.

The segments show how bad rates differ across applications and help shape an approval strategy. Check the result on applications held back from tree growth to estimate how the strategy may perform.

Tree questions

How can I create a credit strategy tree from applications?

Choose the outcome column in a file of past applications, then grow a CHAID or CART tree. The tool ranks the resulting segments by bad rate and assigns approve or decline decisions up to the target approval rate.

How do CHAID and CART differ for credit risk segmentation?

CHAID can create several branches and joins groups whose bad rates do not differ by more than chance. CART creates two branches and chooses the cut that best separates goods from bads.

How does a strategy tree grow from past applications?

The tree tests attributes to find splits that separate applications with different outcomes. CHAID joins similar groups before splitting, and CART chooses the two-way cut that best separates goods from bads.

How can I check a strategy tree on held-back applications?

For larger files, the tool holds some applications back from tree growth and reports the strategy’s approval rate and bad rate on them. Those results provide an estimate because the tree was not grown on those applications.

Is there a free alternative to desktop strategy design software?

This free browser tool grows a CHAID or CART decision tree from past applications. The file is read in your browser, and you can download the result as a Decisimo decision tree.