PDP report

target charges · 6 features · 3 plotted

data 1,070 × 62 continuous · 3 nominal · 1 ordinalmodel output 1.34e+04 ± 1.17e+04 in [-100, 5.23e+04]0.945 on this subsample
method pdptop_k 5coverage 0.8000heter_threshold 1302.3731min_r2_gain 0.0100finder bestnof_instances 5000random_state 21

1 · Overview — where to look

An additive surrogate read off the global curves reproduces 84.4% of the model's predicted variance; adding the regional plots kept by the decision sequence, 96.6%.

explained-variance ledger

Each point is a feature: importance (x) against heterogeneity (y). Bottom-left is ignorable; bottom-right is important and fully described by its mean effect; the top-right corner — important and heterogeneous — is where the mean hides something. An arrow marks each split the decision sequence accepted: from the feature's global point to its weighted-mean point across the subregions.

feature triage
#featureimportanceheterogeneity#regionsregional analysis
1smoker9741.71244202.75707split found — rejected by the decision sequence →
2age3665.60891547.59597split found — rejected by the decision sequence →
3bmi2669.02181229.48317split into 4 regions →
4children939.80141057.1503·not plotted (below the coverage cut)
5region481.7119903.0898·not plotted (below the coverage cut)
6sex198.2283483.7861·not plotted (below the coverage cut)

The plotted features carry 91% of the total importance mass (target 80%, ceiling top_k = 5).

The decision sequence. Starting from the global curves, each round applies the split with the largest explained-variance gain, measured on top of the splits above it, and stops when no remaining split adds at least 1.0%. A real split (its heterogeneity does drop) can still add nothing — or even hurt, by double-counting — when its variance is already explained by an earlier split.

stepregionsheterogeneityexplained variance
global effects (GAM)··84.4%
+ split bmi (on age, smoker)44497.234 → 1229.483+12.1% → 96.6%
rejected · smoker (on bmi)44202.757 → 1421.014-11.5% — redundant (variance already explained)
rejected · age (on bmi, children, smoker)41547.596 → 1312.774+0.4% — below the 1.0% threshold
Bar view — importance and heterogeneityimportance and heterogeneity

2 · Regional analysis — the final CALM

The selected snapshot: global effects everywhere except the accepted splits. Features in descending importance — a split feature enters as one group at the instance-weighted mean of its subregions. The split features' global counterparts are in the baseline section at the end.

2.1 · smoker

importance 9741.7124heterogeneity 4202.7570regions 1

Global effect

smoker global effect

Regional effects

A split on bmi into 4 regions was found (heterogeneity 4202.757 → 1421.014), but the decision sequence skips it: it adds no explained variance beyond the splits kept there — the same variance is already read elsewhere. The regional plots are omitted; reproduce them with find_regions.

2.2 · age

importance 3665.6089heterogeneity 1547.5959regions 1

Global effect

age global effect

Regional effects

A split on bmi, children, smoker into 4 regions was found (heterogeneity 1547.596 → 1312.774), but the decision sequence skips it: it adds only +0.4%, below the 1.0% threshold. The regional plots are omitted; reproduce them with find_regions.

2.3 · bmi

importance 2669.0218heterogeneity 1229.4831regions 4

Split on age, smoker into 4 regions — worth +12.1% of explained variance on top of the splits above it; importance and heterogeneity here are the instance-weighted means over the subregions. The global counterpart is in the baseline.

Partition tree

Feature 2 - Full partition tree:
🌳 Full Tree Structure:
───────────────────────
bmi 🔹 [id: 0 | heter: 4497.23 | inst: 1070 | w: 1.00]
    smoker = no 🔹 [id: 1 | heter: 1439.97 | inst: 841 | w: 0.79]
        age < 43.30 🔹 [id: 2 | heter: 1162.94 | inst: 485 | w: 0.45]
        age ≥ 43.30 🔹 [id: 3 | heter: 1423.27 | inst: 356 | w: 0.33]
    smoker = yes 🔹 [id: 4 | heter: 1224.35 | inst: 229 | w: 0.21]
        age < 41.00 🔹 [id: 5 | heter: 1111.57 | inst: 125 | w: 0.12]
        age ≥ 41.00 🔹 [id: 6 | heter: 1018.18 | inst: 104 | w: 0.10]
--------------------------------------------------
Feature 2 - Statistics per tree level:
🌳 Tree Summary:
─────────────────
Level 0🔹heter: 4497.23
    Level 1🔹heter: 1393.82 | 🔻3103.41 (69.01%)
        Level 2🔹heter: 1229.48 | 🔻164.34 (11.79%)


bmi where (smoker = no) and (age < 43.30)
heterogeneity 1162.9428 · −74% vs global · n=485
bmi where (smoker = no) and (age ≥ 43.30)
heterogeneity 1423.2660 · −68% vs global · n=356
bmi where (smoker = yes) and (age < 41.00)
heterogeneity 1111.5704 · −75% vs global · n=125
bmi where (smoker = yes) and (age ≥ 41.00)
heterogeneity 1018.1793 · −77% vs global · n=104

3 · Global baseline — without regions

What you would believe about the split features without the regional analysis: their global mean effects, with the heterogeneity the accepted splits just explained still hiding inside the band. Compare with their subregions in the regional analysis above.

bmi

global importance 2226.8963global heterogeneity 4497.2340
bmi global effect (baseline)