Analysis report

Infant Birthweight

Data from R package MASS (CRAN), published under https://diafunc.com/licences/view-only.

Target
Birth weight in grams
Analyzed
2026-10-24 07:47 UTC

Summary

The model for Birth weight in grams does not outperform simply guessing the average, with none of the 9 available inputs used in its formula and its output explaining 0% of the variation in birth weight. The strongest baseline, which always guesses the middle value, also performs worse than always guessing the average, so neither the model nor the baseline offers a reliable prediction. This means no actual signal linking the available inputs to birth weight was found in the data analyzed here.

This check is limited by issues with the data, including a likely split contamination from duplicate rows and very weak results on key subgroups: the model predicts especially poorly for rows where Low, Smoking status during pregnancy, or Presence of uterine irritability are false. The number of held-out rows is small. Before relying on any findings, collect more and cleaner data for a new analysis.

Formula

Birth weight in grams = 2900Birth weight in grams=2900
Birth weight in grams = 2900
1 term · single non-separable expression

Held-out diagnostics

TargetQualityErrorR²MAEQuality unflooredGeneralizationRows
Birth weight in grams0 %100 %-0.06738566.3-0.132predicts_one_value38
  • Birth weight in grams · Quality 95 % CI 0 % – 0 %
  • Birth weight in grams · Error 95 % CI 100 % – 100 %
  • Birth weight in grams · R² 95 % CI -0.3833 – -0.0002772
  • Birth weight in grams · MAE 95 % CI 452.8 – 686.5

Concerns

CRITICAL data

Data has 5.3% exact duplicate rows: the held-out split is likely contaminated

10 of 189 rows (5.3%) are exact duplicates of at least one other row (largest duplicate group: 2 identical rows). At this density some duplicate pairs very likely straddle the held-out split, in which case the held-out R² or accuracy overstates how the model does on rows it has not seen. Deduplicate before deploying: drop the duplicates outright, or, where they encode intentional row weights, aggregate them into one weighted row. An analysis of the deduplicated data reads the headline metric without the inflation.

CRITICAL model

Held-out predictions are effectively constant: their spread is 0% of the actual values' spread

Across 38 held-out rows, the predictions have a standard deviation of 0, against 669 for the actual values. The model predicts nearly the same value whatever the input, which makes it unusable for ranking rows or for decisions row by row. R² and MAE can still look acceptable when the actual values vary little or the constant sits close to their mean; neither makes the model useful. The Sensitivity chapter shows how little it responds to its inputs.

WARNING model

Held-out residuals carry a systematic offset: the model under-predicts by 171 on average

Across 38 held-out rows, predictions sit 171 below the actual values on average, against a residual standard deviation of 669: the offset is 26% of the residual spread. The offset is small relative to the residual spread but consistent in direction, so individual predictions lean the same way. Account for it wherever predictions are added up or compared with a threshold, and check on the next run whether it persists.

WARNING model

The model does not beat always guessing the middle value on `Birth weight in grams`

On the held-out rows the model predicts worse than always guessing the average would. The interval of the margin includes zero: on this many held-out rows the two are not told apart. The formula adds little over the reference predictor; whether it is worth its complexity depends on the use. Row by row the two are about level.

WARNING implications

Weaker quality on 3 slices of the data

On 3 of the 20 slices compared the model is weaker than on all held-out rows (R² -0.0674). The largest gaps: Low = no (worse than always guessing the segment's average, on 29 rows) and Smoking status during pregnancy = no (worse than always guessing the segment's average, on 21 rows). Predictions for these rows deserve caution; the Quality by Input Range chapter lists every slice.

Complete list (3)
SegmentRowsR²Against all rowsVerdict
Low = no29worse than guessing the segment's averageR² -0.0674 on all rowsMuch weaker
Smoking status during pregnancy = no21worse than guessing the segment's averageR² -0.0674 on all rowsWeaker
Presence of uterine irritability = no28worse than guessing the segment's averageR² -0.0674 on all rowsWeaker

Analysis

The report opens with the Headline and the Concerns, followed by the Discovered Relations when the analysis has targets and by Questions & Answers when questions were asked. Three sections carry the detail: Model presents one model per target, Implications states where the models hold and what to weigh before relying on them, and Data describes the table as supplied, column by column, for reference.

Generated 2026-10-24 07:47 UTC, analysis f0e60ee0-48b7-11f1-8087-d378640fe787, 1 target, time budget 1 h 0 min, compute budget 500 credits, 189 rows. The Provenance & Audit chapter holds the full record.

Validity

Validity: valid. Nothing in the data or the formula speaks against relying on this result.

How to read this

Whether this result is one to rely on. Quality says how closely the formula follows the data; validity says whether that closeness means anything. A formula that only restates its target, or that reads a column which already holds the answer, can reach a very high quality and still tell you nothing new.

What it found

  1. Low accounts for 61% of the spread in Birth weight in grams. No averages 1,232 above yes (95% interval 1,101 to 1,362).
  2. The formula does worse than always guessing the median. That was measured on 38 rows it never saw. The formula typically misses Birth weight in grams by 566.

Summary

What to do next: Intervals miss more rows than their level allows, largest gap 6.32 percentage points.

5 chapters, each headed by what it found.

No input moves the formula

What the formula relies on.

Rows the search trained on, measured
136
Inputs the formula reads
0
Inputs the formula does not read
Age, Ftv, History of hypertension, Low, Lwt, Number of previous premature labours, Race, Smoking status during pregnancy, Presence of uterine irritability

The formula is not additively decomposable: the prediction comes from a single non-separable expression. The curve below shows the whole-formula response.

Additive
No
Rows the search trained on, measured
136
Terms in the formula
1
Notation
2900
Target
Birth weight in grams

It gives one value for every row

How well it holds. The formula does worse than always guessing the median.

R² of -0.0674: worse than a constant baseline. Predicting the mean would have done better; the Baselines and Generalization chapters show how far the model is from describing the data. Mean absolute error is 566 on the target's scale.

Error
100 % (95 % CI 100 % – 100 %)
MAE
566.3 (95 % CI 452.8 – 686.5)
N
38
Training rows
151
Quality
0 % (95 % CI 0 % – 0 %)
Quality unfloored
-0.132
R²
-0.06738 (95 % CI -0.3833 – -0.0002772)
Target
Birth weight in grams

The model does not beat the simple yardsticks: always guessing the middle value is ahead by 3.2 points of variance explained on the held-out rows. The model's complexity is not buying anything yet. Either the target does not depend on the inputs, or more data or different inputs are needed. Of the 38 held-out rows where the two differ, the model is closer on 42% (95% interval 28% to 58%). The interval of the margin includes zero: on this many held-out rows the two are not told apart.

Best yardstick's score
-0.03491 (95 % CI -0.2884 – -0.0001233)
Best baseline R²
-0.03491
Effect size d
-0.1933 (95 % CI -0.5444 – 0.155)
Effect size d magnitude
negligible
Margin's interval stays above zero
No
Model MAE
566.3 (95 % CI 452.8 – 686.5)
Model
-0.06738 (95 % CI -0.3833 – -0.0002772)
Model R²
-0.06738 (95 % CI -0.3833 – -0.0002772)
Held-out rows
38
Held-out rows without an answer
0
Target
Birth weight in grams
Rows where the model is closer
42.11 % (95 % CI 27.85 % – 57.81 %)
Rows compared
38
Rows level
0
Regression yardstick trained with gaps filled (too few complete rows)
No
Training rows of the regression yardstick
151

The model predicts the same value, 2,900, for every one of the 38 held-out rows. With no variation in what it predicts there is nothing that could carry over from the training rows, so this chapter says nothing about whether it generalizes.

Generalization gap
0.06708
N test
38
Predicted value
2,900
Target
Birth weight in grams
Test error
566.3 (95 % CI 452.8 – 686.5)
Test R²
-0.06738 (95 % CI -0.3833 – -0.0002772)
Train error
1
Train R²
-0.0002944
Verdict
Predicts one value

Weaker on 3 slices of the data, most in Low = false

Where it is weak. The largest miss on a held-out row is 1338 (recorded 4238, predicted 2900).

Segment low = no is much weaker than the aggregate (29 held-out rows): segment R² -0.895 against aggregate R² -0.0674 (gap -0.828). A drop this large means the model describes this slice of the data poorly; an input interaction or a missing column may be specific to this subset.

SegmentRowsR²Gap to all rowsVerdict
Low = false29-0.8953-0.8279Much weaker than on all rows
Smoking status during pregnancy = false21-0.3074-0.2400Weaker than on all rows
Presence of uterine irritability = false28-0.2617-0.1943Weaker than on all rows
History of hypertension = false36-0.0904-0.0231In line with all rows
Race = q325-0.0785-0.0111In line with all rows
Number of previous premature labours = q438-0.0674+0.0000In line with all rows
Ftv = q322-0.0299+0.0374In line with all rows
Low = true9-14.3664-14.2990Too few rows to judge
Age = q35-3.2505-3.1832Too few rows to judge
Presence of uterine irritability = true10-0.1565-0.0892Too few rows to judge

The first 10 rows of 20. The other 10 are in the notebook.

Aggregate R²
-0.06738
Measure
r2
Target
Birth weight in grams

The worst held-out row was missed by 1,338 (target's scale). The 10 rows with the largest absolute residuals out of 38 held-out rows are shown. Each card breaks the failure down into per-term contributions and input values, so the failure mode is inspectable. A large residual with one concentrated term contribution means one term got this row wrong; a large residual with balanced contributions means a structural mismatch.

ActualPredictedResidual
42382900+1338
41532900+1253
17902900-1110
39972900+1097
39832900+1083
39122900+1012
19282900-972
38602900+960
38272900+927
37702900+870
Additive
No
N extrapolated
0
Held-out rows
38
Held-out rows for the interval
38
Residual P5
-839.4
Residual P95
1120.4
Residual std
668.8

Out-of-distribution rows were not assessed on this run, because no model reads a numeric input to measure distance on.

The held-out set is empty, so out-of-distribution rows were not assessed.

Held-out rows out of distribution
0
Held-out rows measured
0
Share out of distribution (%)
0
Distance line
3

Not ready to use yet: 2 critical concerns

What to watch. First: Data has 5.3% exact duplicate rows: the held-out split is likely contaminated.

SeveritySectionConcernDetail
CriticalDataData has 5.3% exact duplicate rows: the held-out split is likely contaminated10 of 189 rows (5.3%) are exact duplicates of at least one other row (largest duplicate group: 2 identical rows). At this density some duplicate pairs very likely straddle the held-out split, in which case the held-out R² or accuracy overstates how the model does on rows it has not seen. Deduplicate before deploying: drop the duplicates outright, or, where they encode intentional row weights, aggregate them into one weighted row. An analysis of the deduplicated data reads the headline metric without the inflation.
CriticalModelHeld-out predictions are effectively constant: their spread is 0% of the actual values' spreadAcross 38 held-out rows, the predictions have a standard deviation of 0, against 669 for the actual values. The model predicts nearly the same value whatever the input, which makes it unusable for ranking rows or for decisions row by row. R² and MAE can still look acceptable when the actual values vary little or the constant sits close to their mean; neither makes the model useful. The Sensitivity chapter shows how little it responds to its inputs.
WarningModelHeld-out residuals carry a systematic offset: the model under-predicts by 171 on averageAcross 38 held-out rows, predictions sit 171 below the actual values on average, against a residual standard deviation of 669: the offset is 26% of the residual spread. The offset is small relative to the residual spread but consistent in direction, so individual predictions lean the same way. Account for it wherever predictions are added up or compared with a threshold, and check on the next run whether it persists.
WarningModelThe model does not beat always guessing the middle value on Birth weight in gramsOn the held-out rows the model predicts worse than always guessing the average would. The interval of the margin includes zero: on this many held-out rows the two are not told apart. The formula adds little over the reference predictor; whether it is worth its complexity depends on the use. Row by row the two are about level.
WarningImplicationsWeaker quality on 3 slices of the dataOn 3 of the 20 slices compared the model is weaker than on all held-out rows (R² -0.0674). The largest gaps: Low = no (worse than always guessing the segment's average, on 29 rows) and Smoking status during pregnancy = no (worse than always guessing the segment's average, on 21 rows). Predictions for these rows deserve caution; the Quality by Input Range chapter lists every slice.

The analysis ran with the configuration below. The checks and the verdict of this chapter are read against it.

  • Targets: 1 target: bwt
  • Rows: 189 rows
  • Per-Segment Predictions: not produced, because no segment column was chosen
  • Fairness: compared across 4 categorical columns (ht, low, smoke, ui); which of them are protected attributes is not decided here
  • Out-of-Distribution: held-out rows are scored against the training rows; predictions made outside this report are not scored
  • Provenance & Audit: recorded in the chapter of that name

Across 6 checks (2 pass, 2 warn, 2 fail, 2 critical concerns), at least one check fails or a critical concern is open: Not ready. The failing checks need addressing first; they typically indicate data leakage, severe miscalibration, or a model that loses to its baseline.

NameStatusDetail
GeneralizationWarnthe model predicts one value for every held-out row
Prediction Interval CoverageFailintervals miss more rows than their level allows, largest gap 6.32 percentage points
Baseline Lift for Birth weight in gramsFailevery baseline did worse than guessing the mean; the model's R² is -0.0674
Model ConstraintsPassevery held-out prediction is finite and within the training range
FairnessWarn3 columns compared, 3 flagged: Low (a group is systematically over- or under-predicted), Smoking status during pregnancy (a group is systematically over- or under-predicted), Presence of uterine irritability (a group is systematically over- or under-predicted)
Out-of-DistributionPass0% of held-out rows are out of distribution
N critical concerns
2
N fail
2
N pass
2
N warn
2
Overall verdict
Not ready

Column Low splits the held-out rows into 2 groups. The prediction-parity ratio is 1.00 (smallest over largest mean prediction), the largest absolute group residual mean is 732 (1.09 times the overall residual standard deviation). Residual bias: at least one group is systematically over- or under-predicted. The model's errors are not zero-mean across groups; its predictions for the affected groups deserve caution.

Aggregate residual std
668.8
N columns
3
N proxies
0
Proxy threshold
0.5
Columns
Bias max abs residual meanColumnGroupsInterpretationN groupsPrediction parity ratioVerdict
731.6Lowfalse, trueColumn Low splits the held-out rows into 2 groups. The prediction-parity ratio is 1.00 (smallest over largest mean prediction), the largest absolute group residual mean is 732 (1.09 times the overall residual standard deviation). Residual bias: at least one group is systematically over- or under-predicted. The model's errors are not zero-mean across groups; its predictions for the affected groups deserve caution.21Residual bias
351.8Smoking status during pregnancyfalse, trueColumn Smoke splits the held-out rows into 2 groups. The prediction-parity ratio is 1.00 (smallest over largest mean prediction), the largest absolute group residual mean is 352 (0.526 times the overall residual standard deviation). Residual bias: at least one group is systematically over- or under-predicted. The model's errors are not zero-mean across groups; its predictions for the affected groups deserve caution.21Residual bias
316.8Presence of uterine irritabilityfalse, trueColumn Ui splits the held-out rows into 2 groups. The prediction-parity ratio is 1.00 (smallest over largest mean prediction), the largest absolute group residual mean is 317 (0.474 times the overall residual standard deviation). Residual bias: at least one group is systematically over- or under-predicted. The model's errors are not zero-mean across groups; its predictions for the affected groups deserve caution.21Residual bias

More rows in Low = false would help most

What to collect next. There the model does worse than the average of the slice, on 29 held-out rows.

  • Collect more rows where Low is no, Smoking status during pregnancy is no, and Presence of uterine irritability is no. Reason: the model is far less and less accurate than overall in these segments, and predicts worse than always guessing their average would on 29 rows where Low is no, 21 rows where Smoking status during pregnancy is no, and 28 rows where Presence of uterine irritability is no.
  • Add a column that records potential duplicate row identifiers to address row duplication. Reason: data has 5.3% exact duplicate rows, so the held-out split is likely contaminated.
  • Collect fresh rows and review held-out procedures to obtain a valid check set. Reason: held-out predictions are effectively constant with 0% of the actual values' spread, so model quality cannot be measured reliably.
  • Record a variable or timestamp distinguishing training and held-out rows to ensure they remain separate. Reason: contaminated splits undermine model checking and can hide or exaggerate signal.
  • Inspect sources and entry procedures to address the systematic under-prediction detected, as the model under-predicts by 171 on average. Reason: held-out residuals carry a systematic offset, which signals reliability concerns in input data or splits.

Evidence

Every chapter of the analysis in full: the figures the story rests on, and everything else the analysis measured.

Headline

The model explains less than half of Birth weight in grams from 9 columns, but could not predict better than always guessing the average and relies on none of those columns.

  • One target was modeled; 38 rows were held out for checking.
  • The strongest baseline did worse than always guessing the average; the model's output explains 0% of Birth weight in grams.
  • The most consequential finding is Critical: data has 5.3% exact duplicate rows, making the held-out split likely contaminated.
Best R²
-0.06738
Best quality
0 %
Best target
bwt
Targets
1

Concerns

SeveritySectionConcernDetail
CriticalDataData has 5.3% exact duplicate rows: the held-out split is likely contaminated10 of 189 rows (5.3%) are exact duplicates of at least one other row (largest duplicate group: 2 identical rows). At this density some duplicate pairs very likely straddle the held-out split, in which case the held-out R² or accuracy overstates how the model does on rows it has not seen. Deduplicate before deploying: drop the duplicates outright, or, where they encode intentional row weights, aggregate them into one weighted row. An analysis of the deduplicated data reads the headline metric without the inflation.
CriticalModelHeld-out predictions are effectively constant: their spread is 0% of the actual values' spreadAcross 38 held-out rows, the predictions have a standard deviation of 0, against 669 for the actual values. The model predicts nearly the same value whatever the input, which makes it unusable for ranking rows or for decisions row by row. R² and MAE can still look acceptable when the actual values vary little or the constant sits close to their mean; neither makes the model useful. The Sensitivity chapter shows how little it responds to its inputs.
WarningModelHeld-out residuals carry a systematic offset: the model under-predicts by 171 on averageAcross 38 held-out rows, predictions sit 171 below the actual values on average, against a residual standard deviation of 669: the offset is 26% of the residual spread. The offset is small relative to the residual spread but consistent in direction, so individual predictions lean the same way. Account for it wherever predictions are added up or compared with a threshold, and check on the next run whether it persists.
WarningModelThe model does not beat always guessing the middle value on Birth weight in gramsOn the held-out rows the model predicts worse than always guessing the average would. The interval of the margin includes zero: on this many held-out rows the two are not told apart. The formula adds little over the reference predictor; whether it is worth its complexity depends on the use. Row by row the two are about level.
WarningImplicationsWeaker quality on 3 slices of the dataOn 3 of the 20 slices compared the model is weaker than on all held-out rows (R² -0.0674). The largest gaps: Low = no (worse than always guessing the segment's average, on 29 rows) and Smoking status during pregnancy = no (worse than always guessing the segment's average, on 21 rows). Predictions for these rows deserve caution; the Quality by Input Range chapter lists every slice.

How to read this

Data-quality, model-quality, and deployment-risk issues detected during the analysis appear below, ordered by severity. Critical concerns are listed first; Warning and Info entries follow.

Discovered Relations

Quality and error measured on the 38 held-out rows
TargetFormulaQualityComplexityError
Birth weight in gramsBirth weight in grams = 29000 %1.3 %100 %

How to read this

One model per target, each a formula with its quality, complexity and error. Higher quality at lower complexity describes the data most clearly. The findings below read the models together; the per-target chapters in the Model section carry each formula, its predictions and its diagnostics.

Model

The model on birth weight tracks only a single value, with held-out predictions showing a systematic offset of 171. The analysis flagged critical and warning issues regarding constant predictions and unexplained residuals; see the Concerns chapter.

Most notable in the Model section:

  • Held-out errors lean one way: the model under-predicts by 171 on average, about 0.256 standard deviations

How to read this

The Model section presents one model per target: its formula, its predictions on held-out rows, the inputs it relies on, the baselines it is measured against, and diagnostics of how it behaves. With more than one target, the Composite Model, Multi-Output and Leaderboard chapters read the models as a set.

Birth weight in grams

The Model section builds one model for Birth weight in grams: a formula that expresses it through the other columns. Diafunc searches the space of mathematical expressions for the formula that balances accuracy against simplicity, so the result is not a black box but an expression that can be read, evaluated and questioned. The chapters that follow show the formula, score it on rows it never saw during training, and take it apart term by term.

Birth weight in grams Model

The model's output for Birth weight in grams does not rely on any input and gives a constant value of 2900 for every row.

Birth weight in grams = 2900f:∅↦Birth weight in gramsBirth weight in grams∈N[2900,2900]Birth weight in grams=2900
Birth weight in grams = 2900
Quality 0 % · Error 100 % on 38 held-out rows · Complexity 1.3 %
Constants of the formula
Value95% interval, given this formulaRoleInputUnit
29002747.5 to 3006.9InterceptUnit of the model's output
Rows the search trained on, measured
136
Rows the search trained on
136
Held out R²
-0.06738 (95 % CI -0.3833 – -0.0002772)
Constant base
2900
Constants in the formula
1
Terms that read an input, constants multiplied in
0
Training rows
151
Held-out rows
38
Inputs the formula reads
0
Terms in the formula
1
Inputs the formula does not read
Age, Ftv, History of hypertension, Low, Lwt, Number of previous premature labours, Race, Smoking status during pregnancy, Presence of uterine irritability

How to read this

The three gauges score the model on the held-out rows: rows that were set aside before the search and that the model never saw. They are the figures to quote for how the model does on new data.

MetricMeaning
QualityHow well the model predicts on the held-out rows, marked down for the size of its formula: 100% is an exact prediction, 0% is no better than always predicting the average. It is not R², and sits at or just below it
ErrorHow far the predictions lie from the held-out values, as a share of the miss of always predicting the average: 0% is an exact prediction, 100% is no better than the average
ComplexityThe size of the formula as a share of the complexity the search was allowed: a low figure is a short formula

The figures under During the search are the same measures on the training rows. They are what the search ranked its candidates by, so they describe the search and tend to flatter the model it chose. The Generalization chapter sets the training rows beside the held-out rows, and the Baselines chapter sets the model beside its baselines. The time and credit gauges account for the computation that produced the model, not for the model itself.

Prediction

The model predicts Birth weight in grams for any row that supplies the other columns. This chapter applies it to the held-out rows, the rows set aside before training, so that the predictions can be compared with values the model never saw. The rows themselves and the function that predicts them are kept as reference under Foundation, with the processed data.

Prediction Chart

R² of -0.0674: worse than a constant baseline. Predicting the mean would have done better; the Baselines and Generalization chapters show how far the model is from describing the data. Mean absolute error is 566 on the target's scale.

Error
100 % (95 % CI 100 % – 100 %)
MAE
566.3 (95 % CI 452.8 – 686.5)
N
38
Training rows
151
Quality
0 % (95 % CI 0 % – 0 %)
Quality unfloored
-0.132
R²
-0.06738 (95 % CI -0.3833 – -0.0002772)
Target
Birth weight in grams

How to read this

Actual Birth weight in grams on the horizontal axis against the model's predicted value on the vertical axis, for the held-out rows the model never saw during training. Points on the diagonal are perfect predictions; systematic vertical offsets reveal bias, vertical spread reveals noise, and points far from the diagonal are rows the model handles poorly. With 10,000 held-out rows or more, the rows are counted instead of drawn one point each: each cell is a range of the actual and a range of the predicted value, its colour the number of rows that fall in both, and the cells whose two ranges match hold the rows the model predicts well.

Residual Distribution
Bias
171.3 (95 % CI -47.55 – 377.8)
N
38
P50
176 (95 % CI -121.8 – 417)
P90
1033.3 (95 % CI 777.8 – 1253)
P95
1120.4 (95 % CI 931.9 – 1338)
P99
1306.6 (95 % CI 1046.1 – 1338)
Std
668.8 (95 % CI 548.8 – 765.6)

How to read this

How the held-out residuals (actual Birth weight in grams minus predicted) are distributed. Bias is their mean: a value away from zero means the model is systematically high or low rather than merely imprecise. The standard deviation and the percentiles describe the spread, and the tail percentiles say how large the worst misses get. Every figure carries a bootstrap 95% confidence interval; with a small held-out set those intervals are wide, and that width is itself the finding.

Which inputs matter most
Rows the search trained on, measured
136
Inputs the formula reads
0
Inputs the formula does not read
Age, Ftv, History of hypertension, Low, Lwt, Number of previous premature labours, Race, Smoking status during pregnancy, Presence of uterine irritability

How to read this

The chart ranks the inputs of the Birth weight in grams model by permutation importance: how much the model's error rises when that input's values are shuffled across rows so that it carries no information. A longer bar means the model relies on the input more. The order says which columns the model reads most, and those are the columns where measurement quality and data collection matter most. A short bar marks an input the model barely uses, which is a fact about this model and not a verdict on the column. Importance describes the model's reliance and nothing more: an input can rank high because it stands in for something the data does not contain. Where the search measured it, an input also carries the direction in which the model's output moves as the input rises, counted on the rows the search trained on, and the change of the output when the input alone goes from its first to its third quartile; both describe the formula inside the observed range and say nothing about causes.

Baselines

The model does not beat the simple yardsticks: always guessing the middle value is ahead by 3.2 points of variance explained on the held-out rows. The model's complexity is not buying anything yet. Either the target does not depend on the inputs, or more data or different inputs are needed. Of the 38 held-out rows where the two differ, the model is closer on 42% (95% interval 28% to 58%). The interval of the margin includes zero: on this many held-out rows the two are not told apart.

Best yardstick's score
-0.03491 (95 % CI -0.2884 – -0.0001233)
Best baseline R²
-0.03491
Effect size d
-0.1933 (95 % CI -0.5444 – 0.155)
Effect size d magnitude
negligible
Margin's interval stays above zero
No
Model MAE
566.3 (95 % CI 452.8 – 686.5)
Model
-0.06738 (95 % CI -0.3833 – -0.0002772)
Model R²
-0.06738 (95 % CI -0.3833 – -0.0002772)
Held-out rows
38
Held-out rows without an answer
0
Target
Birth weight in grams
Rows where the model is closer
42.11 % (95 % CI 27.85 % – 57.81 %)
Rows compared
38
Rows level
0
Regression yardstick trained with gaps filled (too few complete rows)
No
Training rows of the regression yardstick
151

How to read this

The table scores the model for Birth weight in grams against simple yardsticks on the same held-out rows. A yardstick is a predictor simple enough to need no explanation: a constant (the average, the middle value, the most common class or level, the average count), a plain regression on the numeric inputs (a straight line, a logistic regression, a Poisson regression), and for a series over time a forecast from its own past (the last value, the value one season back, the recent trend extended). Which of them appear depends on what kind of column Birth weight in grams is. They are yardsticks only: the analysis has one model, and it is the last row. A regression yardstick answers every row the model answers: where one of its numeric inputs is empty, it reads the average of that input over the training rows. Nothing is filled in for the model. A yardstick whose row is empty could not be scored, and the summary then says what the margin is measured against.

Read the columns from top to bottom. Each kind of target is scored by the measure it is judged on: R² and MAE for a continuous value, with MASE added for a series (below 1 means a typical miss is smaller than the series' usual step from one row to the next); accuracy and balanced accuracy for a yes/no value, with the Brier score where a probability is predicted; accuracy and macro F1 for a class; weighted kappa and the distance in levels for an ordered level; Poisson deviance and RMSE for a count. When the model clears every yardstick by a wide margin, its structure earns its place. When it is level with the regression yardstick, a plain regression describes the data as well. When it is level with the constant, the inputs carry no usable signal for Birth weight in grams.

The margin over the best yardstick comes with an interval. When that interval includes zero, the lead is not settled on this many held-out rows. The share of rows on which the model is closer than the best yardstick is counted only on the rows where the two differ; for a yes/no value or a class these are the rows where the two disagree.

Generalization

The model predicts the same value, 2,900, for every one of the 38 held-out rows. With no variation in what it predicts there is nothing that could carry over from the training rows, so this chapter says nothing about whether it generalizes.

Generalization gap
0.06708
N test
38
Predicted value
2,900
Target
Birth weight in grams
Test error
566.3 (95 % CI 452.8 – 686.5)
Test R²
-0.06738 (95 % CI -0.3833 – -0.0002772)
Train error
1
Train R²
-0.0002944
Verdict
Predicts one value

How to read this

The chart sets the score of the Birth weight in grams model on the rows it trained on beside its score on the held-out rows it never saw, and the gap between the two bars is the finding. The score is the one that suits the target: R² for a quantity, balanced accuracy for a yes/no target, weighted kappa for ordered levels. The held-out figure carries a bootstrap 95% confidence interval, which says how far it could move with a different held-out draw; the training bar has none, because it is measured on the rows that shaped the model.

The verdict reads from the two figures. Generalizing: the held-out score is strong, or training and held-out agree closely; the structure the formula encodes carries to new rows. Overfit: training is far ahead of held-out and the held-out score is not strong on its own; the formula has absorbed noise from the training rows, and the training figure overstates what to expect on new data. Underfit or noisy: held-out is far ahead of training; this is not strength, it usually means an outlier or a flat region in the training rows that the held-out rows happen to avoid. Insufficient: fewer than 30 held-out rows and no strong held-out score, too little evidence for a negative verdict. A model that predicts the same value for every held-out row gets no verdict: there is nothing that could carry over. In every case the width of the held-out interval says how much weight the gap can bear.

How each term responds to its inputs

The formula is not additively decomposable: the prediction comes from a single non-separable expression. The curve below shows the whole-formula response.

Additive
No
Rows the search trained on, measured
136
Terms in the formula
1
Notation
2900
Target
Birth weight in grams

How to read this

The formula for Birth weight in grams is split into its additive terms, and each term is traced as one of its inputs moves across the training range while the other inputs stay at their medians. Each curve is therefore a profile of the term at the typical row, not an average over the data: it shows what the term contributes at every value of that input when everything else is ordinary.

A term that depends on several inputs gets one curve per input; a constant term gets none. Terms the formula subtracts are drawn with their sign, so a curve below zero pulls the prediction down. At any fixed row, the terms add up to the model's prediction. Where the search measured it, a term also carries its share of the variation of the model's output on the rows the search trained on; that is a share of what the formula returns, not of Birth weight in grams itself. The notebook lets the reader trim each range to the central 95% of the input. When the formula has no additive structure, the chapter traces the whole formula as a single term along each of its inputs, and the Sensitivity chapter is the better read for how the inputs combine.

How the formula behaves outside the data

Symbolic behavior was not assessed on this run, because the formula uses no input column.

How to read this

The formula for Birth weight in grams is read as a mathematical object, without data, to state how it behaves beyond the range it was trained on. A black box cannot answer that question; a formula can. For each input the chapter reports the limit as the input grows without bound in either direction (whether the formula diverges, settles to a finite value or oscillates, with the sign tracked exactly, so that a term like minus two times the cube of the input is reported as diverging downward on the right and upward on the left), whether the formula stays finite in every direction, and any singularity with its solved location: a division whose denominator reaches zero, a logarithm or square root whose argument leaves its domain, or a periodic pole.

The inputs along which the formula diverges or meets a singularity are listed as the risky ones; along them the formula's shape gives no support for extrapolation. A formula that stays finite everywhere with no singularity carries no structural hazard when extrapolated; the data still ends where it ends, and a prediction outside the training range remains unsupported by evidence. The plain-language summary at the end states the same facts in one paragraph.

Contributions per term
Additive
No
N rows
5

The notebook draws this chapter's figure from each held-out row; the row-by-row detail is there.

How to read this

For up to five representative held-out rows, the chapter draws one bar chart showing how each additive term of the formula builds that row's prediction of Birth weight in grams. The five rows are the worst prediction (largest absolute residual), the best (smallest), the median miss, the row with the smallest prediction and the row with the largest. When two roles fall on the same row, which is common with few held-out rows, the earlier role keeps it and fewer than five charts appear.

In each chart the bars stack the terms' contributions at the row's input values, terms the formula subtracts sit below zero, and the bars sum to the prediction. The dashed line marks the actual value; the distance between it and the top of the stack is the residual. The bars are evaluated at the same precision as the predictions, so they agree with the Prediction Chart. When the formula has no additive structure, each chart holds one bar for the whole formula, and the Sensitivity chapter is the better read for how individual inputs move it.

What each term is worth

Full-formula R² is -0.0674. The formula is non-decomposable, so ablation collapses to a single bar; the chapter "How each term responds to its inputs" is the better surface in this case.

Additive
No
Baseline R²
-0.06738
Held-out rows
38

The notebook draws this chapter's figure from each held-out row; the row-by-row detail is there.

How to read this

For each additive term of the formula for Birth weight in grams, the chart shows how much the held-out R² drops when that term is replaced by its mean contribution, so that it no longer varies from row to row. The bars are sorted from the largest drop down, and the dashed line marks the R² of the full model.

A large drop means the term carries real predictive work; the complexity it adds is paid for. A small drop means the term adds little beyond its average value: it may refine a stronger term, or its curve in the chapter "How each term responds to its inputs" may be nearly flat. A negative drop means the held-out R² rises without the term, which is a sign that the term tracks noise in the training rows. Each figure describes what a term contributes inside the model as discovered; the chart diagnoses the model, it is not a guide to removing terms. When the formula has no additive structure, the chart shows one bar for the whole formula.

What-If
Additive
No
Held-out rows for the interval
38
Terms in the formula
1
Residual P5
-839.4
Residual P95
1120.4
Residual std
668.8

How to read this

The chapter shows the model's prediction for Birth weight in grams at one input combination, with the contribution of each term stacked beneath it. The inputs start at their training medians, so the first view is the prediction for a typical row, and each input can move within the range the training rows cover; the notebook lets the reader change the inputs and watch the prediction and the stack update.

In the stack, a long bar marks the term that dominates at this input combination, often the one whose removal costs most in the chapter "What each term is worth". A short bar marks a term that makes a small adjustment here; the chapter "How each term responds to its inputs" shows whether it stays small everywhere or grows toward the edges of the range. A negative bar marks a term that pulls the prediction down at this point, either because the formula subtracts it or because it evaluates below zero.

The inputs stay inside the training range for a reason: the formula computes a value anywhere, but outside that range no training row supports it. When the formula has no additive structure, the stack holds a single bar for the whole formula and the inputs move the prediction directly.

Sensitivity

No numeric input statistics are available, so sensitivity curves cannot be plotted. The training table provides no numeric ranges for the formula's free inputs.

Additive
No
Terms in the formula
1

How to read this

For each input, the chart traces the rate at which the predicted Birth weight in grams changes as that input moves across its training range, with the other inputs held at their medians. The rate is the local slope of the prediction with respect to the input, measured by a small finite difference at each point. A table summarizes each input with the mean, minimum and maximum of the absolute slope, which ranks the inputs by how strongly the prediction responds to them.

A flat curve means the model is close to linear in that input: the prediction responds at the same rate everywhere in the observed range, which is easy to state and says nothing about values beyond that range. A curve that grows or shrinks marks diminishing or accelerating returns, and whether that is plausible is a question for the domain. A curve that crosses zero means the prediction rises with the input in one part of the range and falls in another, which is either a real optimum or a sign that the formula bends around a few rows. A curve with a large magnitude marks an input to which the prediction is highly responsive; the chapter "What each term is worth" says whether the term behind it also carries predictive work.

In the table, the mean absolute slope ranks the inputs by typical responsiveness. A minimum close to the maximum means the responsiveness is nearly constant; a wide gap means it varies strongly across the range. The chapter reads the whole formula, so it applies whether or not the formula splits into terms.

How two inputs act together

The formula is non-decomposable: every pair of inputs potentially interacts. The heatmaps show the full-formula response across each pair's plane.

Additive
No
Inputs in different terms act separately
No
Rows the search trained on, measured
136
Terms in the formula
1
Input pairs not tested
0

How to read this

When a single term of the formula combines two or more inputs, the prediction's response to one of them depends on the value of the other. This chapter draws one surface for each such pair: the predicted Birth weight in grams across the plane of the two inputs, with every other input held at its training median. Pairs that never share a term have no interaction by construction, and the curves in the chapter "How each term responds to its inputs" already say everything about them. Where the search tested a pair, the summary says on how many pairs of rows the two inputs acted together in the model's output; that is a statement about the formula, not a finding that the data hold no other interaction.

Parallel stripes mean the two inputs act almost independently, so the surface is close to a sum of two one-input curves. Curved contours mean a real interaction, where the slope along one input changes with the other; the location of the peak or trough matters. A saddle, rising along one axis and falling along the other, marks a trade-off between the two. A sharp edge or cliff means the formula encodes a change of regime, and the curve for the same input in the chapter "How each term responds to its inputs" shows whether the bend appears there too.

The grid is deliberately coarse, and the color scale runs from low to high predictions. When the formula has no additive structure, the single whole-formula term holds every input, so every pair appears; the number of surfaces is capped for models with many inputs.

Worst Predictions

The worst held-out row was missed by 1,338 (target's scale). The 10 rows with the largest absolute residuals out of 38 held-out rows are shown. Each card breaks the failure down into per-term contributions and input values, so the failure mode is inspectable. A large residual with one concentrated term contribution means one term got this row wrong; a large residual with balanced contributions means a structural mismatch.

ActualPredictedResidual
42382900+1338
41532900+1253
17902900-1110
39972900+1097
39832900+1083
39122900+1012
19282900-972
38602900+960
38272900+927
37702900+870
Additive
No
N extrapolated
0
Held-out rows
38
Held-out rows for the interval
38
Residual P5
-839.4
Residual P95
1120.4
Residual std
668.8

How to read this

The held-out rows on which the model misses Birth weight in grams by the most, sorted by absolute residual with the largest first and capped at ten. Each card shows the row's actual value, the prediction, the residual, the contribution of every additive term at that row and the row's input values. R² and MAE say how good the model is on average; these cards say where it fails and let each failure be read input by input and term by term.

A large residual with one dominant term means that term produced the wrong value at this row; the row's value for that input, read against its curve in the chapter "How each term responds to its inputs", shows whether it fell in a region the formula models poorly. A large residual with balanced contributions means every term was a little off and the sum still missed, which points to a shape the formula cannot represent in that region. Residuals that change sign from card to card mean the misses are not a consistent bias but scattered errors on particular rows. When the formula has no additive structure, each card shows a single whole-formula contribution.

Prediction Interval Coverage

Across 38 held-out rows, the 95% prediction interval actually covers 97.4% of the rows. The normal band is too narrow for this residual distribution (worst gap 6.32 percentage points): the per-row prediction interval is a lower bound on uncertainty, and the true risk is higher than stated.

Nominal levelHalf-widthEmpirical coverage
50 %451.144.74 %
80 %857.273.68 %
90 %1100.292.11 %
95 %1310.997.37 %
Largest miss (percentage points)
6.316
Held-out rows
38
Residual P2.5
-982.4
Residual P97.5
1259.4
Verdict
Overconfident

How to read this

Each held-out prediction of Birth weight in grams carries a prediction interval, and this chapter checks whether that interval covers the actual value as often as it claims. The interval reported with each prediction is built from the held-out residuals themselves: its bounds are the 2.5th and 97.5th percentiles of the residuals added to the prediction, so it is asymmetric when the residuals are skewed and assumes no particular error distribution.

The coverage table checks a second, simpler band: the symmetric interval that a normal error distribution with the residuals' standard deviation would give. At four nominal levels (50%, 80%, 90% and 95%) it lists the half-width of that normal band and the share of held-out rows whose actual value falls inside it. Empirical coverage close to nominal means the residuals are close enough to normal that the two bands agree and the interval can be taken at face value. Empirical coverage below nominal means the normal band is too narrow, the residuals have heavier tails than a normal distribution, and the percentile-based interval is the one to trust. Empirical coverage above nominal means the normal band is wider than the data needs, usually because a few large residuals inflate the standard deviation. Every figure comes from the same held-out residuals the intervals are built from.

Regression Diagnostics

38 held-out residuals, with a spread up to 1,338 in absolute terms. Mean residual is 171, close to zero. The model is approximately unbiased on these held-out rows (a small held-out set makes this less reliable; the Prediction Chart chapter states R² and the mean absolute error with their 95% confidence intervals). The charts below check whether the errors look like noise: a pattern in residuals-vs-fitted or a curving Q-Q means a structural miss. The held-out rows are a random draw, so their order carries no time and the autocorrelation of the residuals is not assessed.

Bias
171.3
Bias over residual sd
0.2561
Held-out rows
38
Order
shuffled
Residual sd
668.8
Share within normal band
1

The notebook draws this chapter's figure from each held-out row; the row-by-row detail is there.

How to read this

Four residual diagnostics for Birth weight in grams, all computed from the held-out residuals. Each asks in its own way whether the model's errors look like noise, which is what remains when a model has captured all the structure the data holds.

Residuals against predicted values: Each held-out row is plotted with the model's prediction on the horizontal axis and its residual on the vertical axis, around a zero line. A symmetric cloud around zero means errors of similar size across the predicted range and no systematic bias. A funnel or fan means the size of the errors depends on the predicted value: the model is more uncertain in some regions than in others, and its prediction interval is not equally trustworthy everywhere. A curved pattern, a smile or a frown, means the model misses a structural component; the chapters "How each term responds to its inputs" and "How two inputs act together" show the shapes the formula does capture.

Normal Q-Q plot: The sorted residuals are plotted against the quantiles of a normal distribution, with the diagonal marking a perfectly normal set of residuals. Points that hug the line mean approximately normal residuals, so the normal band in the Prediction Interval Coverage chapter will hold. An S-shape means heavier or lighter tails than normal; heavier tails (below the line at the left, above it at the right) mean the model occasionally produces large errors. A banana or arc means skewed residuals: the model is systematically high or low in part of the range.

Histogram: The residuals binned into equal-width intervals. A bell centered on zero means symmetric errors with no bias. An off-center bell means the model is biased, with a mean error away from zero. A long tail or two peaks mean outliers or two regimes inside the prediction range.

Autocorrelation: For each lag, the correlation of the residual sequence with itself shifted by that many rows, with the band that pure noise would stay inside at plus or minus 1.96 divided by the square root of the row count. Bars inside the band mean uncorrelated residuals with no order-dependent structure left. A bar at lag 1 outside the band means the residuals of neighbouring dates correlate: structure in time that the model has not captured. A wave across the lags means periodic structure remains, and the Time Series chapter in the Data section is where to look for its period.

Autocorrelation carries meaning only when the row order itself does. When the data has a date column, the held-out rows are the most recent ones in date order, and the autocorrelation is assessed. Without a date column the held-out rows are a random draw: the row after a held-out row is an arbitrary other row, so the autocorrelation is not assessed and the summary above says so.

Search Progress

The search ran for 66 generations, ending at quality 0 (gain +0 from generation 2). The curve is essentially flat: either the search converged in the first few generations or the problem is fundamentally hard at this complexity limit.

First generation
2
First quality
0 %
Last generation
66
Last improvement ms
3,544,745
Last quality
0 %
Max quality
0 %
N points
66
N total generations
66
Search time ms
4,500,047
Stop reason
Maximum runtime reached

How to read this

The line traces the best quality the search for the Birth weight in grams model had reached at each generation, from the first generation to the last. Quality is the technology's combined score on the training rows, the figure the Model Metrics chapter defines. A curve that flattens well before the last generation means the search converged: the budget was more than enough, and the model is the one the search settled on. A curve still rising at the last generation means the budget ended before the search settled, and the model is the best the search reached within it. The chart describes the search, not the data: it says whether the search had time to settle, not whether more rows would help.

Model Constraints

Across 38 held-out predictions, the formula is mathematically well-behaved: every output is finite, stays inside the training-target ±2σ band, and no prediction runs away beyond the bounded-prediction limit. It is safe to consume downstream at face value.

NameStatusDetail
Output coherentPassno non-finite predictions across 38 rows
Within domainPassno rows outside the training target's ±2σ range across 38 rows
Bounded predictionsPassno runaway predictions beyond ±10σ across 38 rows
Held-out rows
38
N non finite
0
N outside domain
0
N runaway
0
Verdict
Clean

How to read this

Sanity checks on the Birth weight in grams formula, run against the held-out rows. Three checks: every prediction is a finite number (output coherent), predictions stay within the range of the training target widened by two standard deviations on each side (within domain), and no single prediction runs away more than ten standard deviations from the training mean (bounded predictions).

These are pass or fail guards, not quality measures: a formula can clear all three and still predict poorly. A failure is the stronger signal. It means the formula misbehaves numerically somewhere in the data it was shown, and any downstream use of it should wait until that is understood.

Modeling

Measured during the search, on the rows the model was trained on

MAE of a straight line through the inputs (same rows)
559.4
RMSE of a straight line through the inputs (same rows)
704.6
Training MAE (rows the search trained on)
597.6
MAE of always predicting the mean (same rows)
598.4
RMSE of always predicting the mean (same rows)
740
Training R² (rows the search trained on)
-0.001167
Training RMSE (rows the search trained on)
740.4
Rows the search trained on, measured
136
Error
100 %
Inputs the straight line used
5
N train
151
Quality
0 %

How to read this

The function below trains the model for Birth weight in grams on the processed data. Its output is the model that every other chapter of this section scores and dissects.

Findings

3 findings from the model diagnostics (1 Critical, 2 Warning) are listed in the Concerns chapter at the top of the analysis.

Data

Low and birth weight go together more strongly than any other relationship in this data, and duplicates affect 5.3% of all rows. The analysis flagged a critical concern about the risk of contaminated held-out splits, noted in the Concerns chapter.

Most notable in the Data section:

  • Low accounts for 61% of the spread in Bwt: no averages 1,232 above yes (95% interval 1,101 to 1,362)
  • Birth weight in grams and Low go together (association 0.785)
  • Ui accounts for 7.5% of the spread in Bwt: no averages 581 above yes (95% interval 276 to 887)

How to read this

The Data section describes the table as supplied, before any modeling: the Column Profiles overview of every column and its role, one chapter per column with its distribution and correlations, a closer look at columns with notable characteristics, Duplicate Rows, Leakage Suspicion, a map for paired coordinate columns, and the General chapter with descriptive statistics, correlations, missing values, outlier ranges, clusters and segments across all columns.

Column Profiles

Profiled 10 columns across 189 rows (6 numeric, 4 non-numeric): every column is at least 75% populated. Distributional statistics on numeric columns can be read at face value. 3 columns are strongly skewed: the mean of such a column is pulled toward its long tail, so the median is the better guide to a typical value.

Columns
NameRoleTypeNMissingMeanStdMinP25MedianP75MaxSkewnessCV
Birth weight in gramsTargetinteger189029457297092414297734874990-0.20860.2476
AgeInputinteger189023.245.3014192326450.72220.228
FtvInputinteger18900.7941.059000161.5891.335
History of hypertensionInputbool1890
LowInputbool1890
LwtInputinteger1890129.830.6801101211402501.4020.2356
Number of previous premature laboursInputinteger18900.19580.4933000032.8082.52
RaceInputinteger18901.8470.918111330.310.4973
Smoking status during pregnancyInputbool1890
Presence of uterine irritabilityInputbool1890
N columns
10
N high missing
0
N rows
189
N strongly skewed
3
Table branch
main
Table ID
1afc32cd-41de-4838-bff9-619da0f4ed6c

How to read this

One row per column of the analyzed table: its role in the analysis (the target being predicted, an input it is predicted from, or the segment column), its type, value count and missing count, and for numeric columns the mean, standard deviation, minimum, quartiles, maximum and interquartile range. A column with 25% or more missing values is flagged; its mean and quartiles describe only the rows that have a value.

Two further figures describe the shape of a numeric column. The skewness says whether the values lean to one side: close to zero the column is symmetric, from 0.5 it is moderately skewed and from 1 strongly skewed, with the longer tail on the high side when the figure is positive and on the low side when it is negative. In a strongly skewed column the mean is pulled toward the tail, and the median is the better guide to a typical value. The coefficient of variation is the standard deviation divided by the mean: it compares how widely columns spread regardless of their units, and is given only for a column whose mean is positive.

These are the columns as supplied, before any modeling: the reference against which every later chapter reads.

Age

Age: 14 to 45, median 23, 24 distinct values.

How to read this

A column chapter profiles one column: its distribution in figures and charts, and how it relates to the other columns. It opens with one line on what the column holds. The Description chapter carries its figures, with every other column summarized for each of its values where it has few, and its association with every other column where it is numeric. The Visualization chapter carries its charts. A table with a date column adds an Over Time and a Time Series chapter; a target with classes adds a Class Balance chapter.

Description
Age
StatisticValue
Typeinteger
Values present189
Distinct values24
Continuousyes
Decimal places0
Minimum14
Maximum45
Mean23.24
Median23
Mode20

The first 10 rows of 17. The other 7 are in the notebook.

How to read this

The figures below summarize Age in numbers: where its values center (mean, median, mode), how far they spread (range, variance, standard deviation, interquartile range) and how they are distributed across percentiles. They are the reference for every chart in the Visualization chapter and for the correlation measures further down.

The figures for Age are grouped: the column itself first, then where its values center, how far they spread, the shape of their distribution and its percentiles. Each statistic is explained in the Description chapter under General in the Data section.

By Value
Mean per value of Age
AgeRowsRaceLwtNumber of previous premature laboursFtvBirth weight in grams
1432.3331120.66672967.3
1532107.72504
1672.143126.70.85713331.7
17122.167119.30.66672758.5
18101.6121.40.32998.2
19161.688140.30.1250.43753051.9
20182.167125.90.22220.66672860.2
21122136.21.4172724.2
22131.385125.50.30770.61543150.2
23132.231127.20.53852951.7

The first 10 rows of 24. The other 14 are in the notebook.

How to read this

The rows are grouped by the value of Age, and every other column is summarized within each group with the same descriptive statistics. A statistic that shifts from group to group marks a column that moves with Age; one that stays level marks a column that does not. Groups with few rows produce unstable figures, so the row count of each group is the first thing to read. Where the groups differ in a target by more than chance would give, the chapter states by how much; it states that the two go together, not that one brings the other about.

Correlation
Correlations
ColumnPair ofAssociationPearson's r95% CI (Pearson)Spearman's ρKendall's τq-valueRows
Ftvtwo numbers0.23420.21540.07497 to 0.34740.23420.18470.02624189
Lwttwo numbers0.18610.18010.03833 to 0.31470.18610.13150.05222189
Racetwo numbers0.1728-0.1728-0.308 to -0.03085-0.1517-0.12070.05222189
Lowa number and a category0.11890.2319189
Number of previous premature labourstwo numbers0.11850.07161-0.07186 to 0.21220.11850.097760.4211189
Birth weight in gramstwo numbers0.090320.09032-0.0531 to 0.23010.061230.039790.3897189
Presence of uterine irritabilitya number and a category0.075160.4211189
Smoking status during pregnancya number and a category0.044350.6126189
History of hypertensiona number and a category0.015840.8288189

How to read this

Each row pairs Age with one other column, numeric or categorical, and reports how strongly the two go together on an association from 0 to 1, and whether an association this strong could be chance. For another numeric column the row adds the direction: Pearson's coefficient measures a straight-line relationship, and Spearman's rho and Kendall's tau measure a monotonic relationship on ranks, which makes them resistant to outliers and lets them see a curved but consistently rising or falling pattern. For a categorical column the association is the correlation ratio η, which has no direction. A strong association is not an explanation: two columns can go together when a third one moves both.

The table lists every other numeric or categorical column against Age, with the pair's kind and association, three correlation coefficients and a confidence interval where the other column is numeric, the q-value and the rows the pair was measured on.

MeasureMeaning
KindWhat the other column holds: a number (numeric) or categories (numeric_categorical). A categorical column is one that is not numeric and holds between 2 and 50 distinct values
AssociationThe strength of the pair from 0 to 1. With a numeric column: the stronger of Pearson's coefficient and Spearman's ρ, without its sign. With a categorical column: the correlation ratio η, the square root of the share of Age's spread that lies between the categories
CovarianceNumeric partner only. The direction of the relationship (positive or negative) in the units of the two columns. It is not standardized, so its size says little about strength without the columns' own spread
Pearson's Correlation CoefficientNumeric partner only. The strength and direction of a linear relationship, from -1 (a perfect falling line) through 0 (no linear relationship) to 1 (a perfect rising line)
Spearman's ρNumeric partner only. The strength and direction of a monotonic relationship, computed on ranks rather than values, from -1 to 1. It follows a curved pattern as long as it rises or falls consistently, and outliers move it little
Kendall's τNumeric partner only. The strength and direction of association from the agreement and disagreement of rank order across pairs of rows, from -1 to 1. It is the steadier of the two rank measures when the rows are few
q-valueHow likely a pair this strong is among unrelated columns, adjusted for the number of pairs involving Age (Benjamini-Hochberg). Among all pairs reported with q below 0.05, about 5% or fewer are expected to be false discoveries
95% CI (Pearson)Numeric partner only. The lower and upper bounds of the 95% confidence interval on the Pearson coefficient, from the Fisher z-transform. An interval that contains 0 leaves the direction of the relationship open
RowsThe rows in which both columns hold a value. The q-value and the interval of a pair rest on this count
Visualization

The rows of Age are not charted in their order: consecutive rows are no more alike than rows picked at random (a correlation of 0.00 between each value and the next), so the order carries no pattern to show.

How to read this

The charts in this chapter were chosen from the type of Age and of the columns it is compared with: a numeric column gets a histogram, a box plot and, when its row order carries a pattern, a value sequence, a categorical column gets a frequency chart, and its relation to each target of the analysis, and to the segment column when there is one, gets the chart that suits the pair, with the target on the vertical axis where it is a number. A column is not charted against every other column; which columns move together is shown under Strongest Correlations. The charts complement the figures in the Description chapter; the shape of a distribution and the position of its outliers are easier to see than to read.

Birth weight in grams

Bwt: 709 to 4,990, median 2,977.

Description
Birth weight in grams
StatisticValue
Typeinteger
Values present189
Distinct values131
Continuousyes
Decimal places0
Minimum709
Maximum4990
Mean2944.6
Median2977
Mode3062

The first 10 rows of 17. The other 7 are in the notebook.

Correlation
Correlations
ColumnPair ofAssociationPearson's r95% CI (Pearson)Spearman's ρKendall's τq-valueRows
Lowa number and a category0.7848< 0.001189
Presence of uterine irritabilitya number and a category0.2839< 0.001189
Lwttwo numbers0.24890.18570.04417 to 0.320.24890.16970.01891189
Number of previous premature labourstwo numbers0.2037-0.1547-0.291 to -0.01219-0.2037-0.16650.0504189
Racetwo numbers0.1947-0.1947-0.3283 to -0.05347-0.1838-0.14530.01891189
Smoking status during pregnancya number and a category0.19040.01891189
History of hypertensiona number and a category0.1460.0579189
Agetwo numbers0.090320.09032-0.0531 to 0.23010.061230.039790.2435189
Ftvtwo numbers0.071150.05832-0.08512 to 0.19940.071150.054190.4254189
Visualization

The rows of Bwt are not charted in their order: consecutive rows are no more alike than rows picked at random (a correlation of -0.07 between each value and the next), so the order carries no pattern to show.

Ftv

Ftv: 0 to 6, median 0, skewed to high values, 6 distinct values.

Description
Ftv
StatisticValue
Typeinteger
Values present189
Distinct values6
Continuousyes
Decimal places0
Minimum0
Maximum6
Mean0.7937
Median0
Mode0

The first 10 rows of 17. The other 7 are in the notebook.

By Value
Mean per value of Ftv
FtvRowsRaceLwtNumber of previous premature laboursAgeBirth weight in grams
01002128.20.221.952865.1
1471.6381280.276624.723108
2301.667135.424.633010.3
371.714121.123.862521.9
441.7513425.253167.8
613250283303
Correlation
Correlations
ColumnPair ofAssociationPearson's r95% CI (Pearson)Spearman's ρKendall's τq-valueRows
Agetwo numbers0.23420.21540.07497 to 0.34740.23420.18470.02624189
Racetwo numbers0.1545-0.09834-0.2377 to 0.04503-0.1545-0.13840.5347189
Lwttwo numbers0.14050.1405-0.002251 to 0.27770.089020.070010.242189
History of hypertensiona number and a category0.072370.5469189
Birth weight in gramstwo numbers0.071150.05832-0.08512 to 0.19940.071150.054190.5469189
Lowa number and a category0.062960.5469189
Presence of uterine irritabilitya number and a category0.059520.5469189
Number of previous premature labourstwo numbers0.04443-0.04443-0.186 to 0.09893-0.01432-0.013560.6118189
Smoking status during pregnancya number and a category0.028010.702189
Visualization

The rows of Ftv are not charted in their order: consecutive rows are no more alike than rows picked at random (a correlation of 0.12 between each value and the next), so the order carries no pattern to show.

History of hypertension

Ht: 2 distinct values, most often no.

Description
History of hypertension
StatisticValue
Typebool
Values present189
Distinct values2
Continuousno
Modefalse
Rows per value
VariableValueRowsShare
History of hypertensionfalse17793.65 %
History of hypertensiontrue126.349 %
By Value
Mean per value of History of hypertension
History of hypertensionRowsRaceLwtNumber of previous premature laboursFtvAgeBirth weight in grams
false1771.842127.90.19770.813623.262972.2
true121.917157.50.522.922536.8

Low

Low: 2 distinct values, most often no.

Description
Low
StatisticValue
Typebool
Values present189
Distinct values2
Continuousno
Modefalse
Rows per value
VariableValueRowsShare
Lowfalse13068.78 %
Lowtrue5931.22 %
By Value

Low accounts for 61% of the spread in Bwt: no averages 1,232 above yes (95% interval 1,101 to 1,362). An association, not a cause.

Groups
TargetValueRowsAverage or share95% interval
Birth weight in gramsfalse1303329.13246.1 to 3412.1
Birth weight in gramstrue592097.31995.4 to 2199.3
Mean per value of Low
LowRowsRaceLwtNumber of previous premature laboursFtvAgeBirth weight in grams
false1301.762133.30.13080.838523.663329.1
true592.034122.10.3390.694922.312097.3

Lwt

Lwt: 80 to 250, median 121, skewed to high values.

Description
Lwt
StatisticValue
Typeinteger
Values present189
Distinct values75
Continuousyes
Decimal places0
Minimum80
Maximum250
Mean129.8
Median121
Mode120

The first 10 rows of 17. The other 7 are in the notebook.

Correlation
Correlations
ColumnPair ofAssociationPearson's r95% CI (Pearson)Spearman's ρKendall's τq-valueRows
Birth weight in gramstwo numbers0.24890.18570.04417 to 0.320.24890.16970.03947189
History of hypertensiona number and a category0.23640.00953189
Racetwo numbers0.1894-0.165-0.3007 to -0.02285-0.1894-0.14910.04182189
Agetwo numbers0.18610.18010.03833 to 0.31470.18610.13150.03947189
Lowa number and a category0.16960.04182189
Presence of uterine irritabilitya number and a category0.15280.05379189
Ftvtwo numbers0.14050.1405-0.002251 to 0.27770.089020.070010.06146189
Number of previous premature labourstwo numbers0.14-0.14-0.2772 to 0.002759-0.1109-0.091040.06146189
Smoking status during pregnancya number and a category0.044180.5461189
Visualization

The rows of Lwt are not charted in their order: consecutive rows are no more alike than rows picked at random (a correlation of 0.00 between each value and the next), so the order carries no pattern to show.

Number of previous premature labours

Ptl: 0 to 3, median 0, skewed to high values, 4 distinct values.

Description
Number of previous premature labours
StatisticValue
Typeinteger
Values present189
Distinct values4
Continuousyes
Decimal places0
Minimum0
Maximum3
Mean0.1958
Median0
Mode0

The first 10 rows of 17. The other 7 are in the notebook.

By Value
Mean per value of Number of previous premature labours
Number of previous premature laboursRowsRaceLwtFtvAgeBirth weight in grams
01591.83131.40.798723.013013.5
1242124.50.87524.832496.3
251.8113.222.42766.8
3195253637
Correlation
Correlations
ColumnPair ofAssociationPearson's r95% CI (Pearson)Spearman's ρKendall's τq-valueRows
Presence of uterine irritabilitya number and a category0.22760.01472189
Birth weight in gramstwo numbers0.2037-0.1547-0.291 to -0.01219-0.2037-0.16650.0756189
Lowa number and a category0.19610.02927189
Smoking status during pregnancya number and a category0.18760.02927189
Lwttwo numbers0.14-0.14-0.2772 to 0.002759-0.1109-0.091040.09834189
Agetwo numbers0.11850.07161-0.07186 to 0.21220.11850.097760.4913189
Ftvtwo numbers0.04443-0.04443-0.186 to 0.09893-0.01432-0.013560.6992189
Racetwo numbers0.036010.007951-0.1349 to 0.15050.036010.034230.9135189
History of hypertensiona number and a category0.01540.9135189
Visualization

The rows of Ptl are not charted in their order: consecutive rows are no more alike than rows picked at random (a correlation of -0.09 between each value and the next), so the order carries no pattern to show.

Race

Race: 1 to 3, median 1, skewed to high values, 3 distinct values.

Description
Race
StatisticValue
Typeinteger
Values present189
Distinct values3
Continuousyes
Decimal places0
Minimum1
Maximum3
Mean1.847
Median1
Mode1

The first 10 rows of 17. The other 7 are in the notebook.

By Value
Mean per value of Race
RaceRowsLwtNumber of previous premature laboursFtvAgeBirth weight in grams
196132.10.19790.885424.293102.7
226146.80.807721.542719.7
3671200.2090.656722.392805.3
Correlation
Correlations
ColumnPair ofAssociationPearson's r95% CI (Pearson)Spearman's ρKendall's τq-valueRows
Smoking status during pregnancya number and a category0.339< 0.001189
Birth weight in gramstwo numbers0.1947-0.1947-0.3283 to -0.05347-0.1838-0.14530.03265189
Lwttwo numbers0.1894-0.165-0.3007 to -0.02285-0.1894-0.14910.05228189
Agetwo numbers0.1728-0.1728-0.308 to -0.03085-0.1517-0.12070.05222189
Ftvtwo numbers0.1545-0.09834-0.2377 to 0.04503-0.1545-0.13840.2674189
Lowa number and a category0.13780.1056189
Presence of uterine irritabilitya number and a category0.05360.5964189
Number of previous premature labourstwo numbers0.036010.007951-0.1349 to 0.15050.036010.034230.9135189
History of hypertensiona number and a category0.019930.8837189
Visualization

The rows of Race are not charted in their order: consecutive rows are no more alike than rows picked at random (a correlation of -0.22 between each value and the next), so the order carries no pattern to show.

Smoking status during pregnancy

Smoke: 2 distinct values, most often no.

Description
Smoking status during pregnancy
StatisticValue
Typebool
Values present189
Distinct values2
Continuousno
Modefalse
Rows per value
VariableValueRowsShare
Smoking status during pregnancyfalse11560.85 %
Smoking status during pregnancytrue7439.15 %
By Value
Mean per value of Smoking status during pregnancy
Smoking status during pregnancyRowsRaceLwtNumber of previous premature laboursFtvAgeBirth weight in grams
false1152.096130.90.12170.817423.433055.7
true741.459128.10.31080.756822.952771.9

Presence of uterine irritability

Ui: 2 distinct values, most often no.

Description
Presence of uterine irritability
StatisticValue
Typebool
Values present189
Distinct values2
Continuousno
Modefalse
Rows per value
VariableValueRowsShare
Presence of uterine irritabilityfalse16185.19 %
Presence of uterine irritabilitytrue2814.81 %
By Value

Ui accounts for 7.5% of the spread in Bwt: no averages 581 above yes (95% interval 276 to 887). An association, not a cause.

Groups
TargetValueRowsAverage or share95% interval
Birth weight in gramsfalse1613030.72922.7 to 3138.7
Birth weight in gramstrue282449.42161.7 to 2737.2
Mean per value of Presence of uterine irritability
Presence of uterine irritabilityRowsRaceLwtNumber of previous premature laboursFtvAgeBirth weight in grams
false1611.826131.80.14910.819923.43030.7
true281.964118.60.46430.642922.292449.4

Duplicate Rows

Across 189 rows the table has 10 exact-duplicate rows (5.3% of the table; biggest duplicate group 2 rows): substantial. Likely root causes: repeated CSV imports, a missing primary-key deduplication step, or row-level leakage between intended-distinct sources. Deduplicating before training matters; duplicated rows inflate model confidence artificially.

Largest group size
2
N exact duplicates
10
N exact groups
5
N rows
189
N unique
184
Pct exact duplicates
5.29
Verdict
Substantial

How to read this

This chapter counts rows that repeat another row exactly, value for value: how many rows take part in a duplicate group, how many groups exist, and how large the largest group is.

Duplicate rows inflate the apparent row count and can place identical rows on both sides of the training and held-out split, which flatters every quality figure in this report. Only exact repeats are detected here; rows that differ by a rounding digit or a whitespace variant count as distinct.

Leakage Suspicion

Nothing to check. No column that awaits an answer tracks a target at 0.95 or more, so no column on its own gives a target away.

Categorical verdict
Clean
Critical threshold
0.999
N categorical critical
0
N categorical suspects
0
N confirmed
0
N critical
0
N suspects
0
Threshold
0.95
Verdict
Clean

How to read this

For every column that is not a target, this chapter reads how closely the column tracks each target, on an association from 0 to 1, and lists any pair at 0.95 or more. For two numeric columns the association is the stronger of Pearson's r and Spearman's rho; when the column or the target is categorical it is the correlation ratio η, or Cramér's V when both are. At 0.999 or more the column reproduces the target: that is what a copy or a rescaled copy of it looks like.

A listed column poses one question: is its value known before the target's value exists? If it is, the column is a strong input and the quality stated in this report is real. If it was computed from the target or recorded after it, a formula that reads it looks right on these rows and will not hold on new data. The coefficients read the same in both cases; the answer needs someone who knows where the column came from.

The owner of the analysis can give that answer. A column confirmed as known before the target is listed as confirmed and is no longer a suspect. A column that turns out to be a leak is left out of the model's inputs, and the analysis run again.

General

Clustering found no clear groups. The best grouping of the 189 complete rows over 5 numeric columns is into 6 groups, with a silhouette of 0.271 (on a scale where 1 is fully separate groups and 0 is none), below the 0.50 that clear structure shows, so no Clusters chapter is written.

Groupings tried
GroupsSilhouetteInertiaKept
20.2306745
30.2553607.6
40.2689511.9
50.2625440.1
60.2705409.7yes
Inertia
409.7
K
6
N columns used
5
N rows
189
N rows complete
189
Silhouette
0.2705
Verdict
Weak

How to read this

The General chapter covers what holds across all columns together: descriptive statistics, correlations, missing values and outlier ranges under Description, the Clusters found among the rows, and, when a segment column was chosen, the Segments.

Description
Columns
VariableTypeValues presentDistinct valuesContinuousDecimal places
Raceinteger1893yes0
Presence of uterine irritabilitybool1892no
Lowbool1892no
Lwtinteger18975yes0
Smoking status during pregnancybool1892no
Number of previous premature laboursinteger1894yes0
Ftvinteger1896yes0
History of hypertensionbool1892no
Ageinteger18924yes0
Birth weight in gramsinteger189131yes0
Center
VariableMeanMedianMode
Race1.84711
Presence of uterine irritabilityfalse
Lowfalse
Lwt129.8121120
Smoking status during pregnancyfalse
Number of previous premature labours0.195800
Ftv0.793700
History of hypertensionfalse
Age23.242320
Birth weight in grams2944.629773062
Spread
VariableMinimumMaximumStandard deviationVarianceInterquartile rangeSum
Race130.91830.84342349
Presence of uterine irritability
Low
Lwt8025030.58935.13024,535
Smoking status during pregnancy
Number of previous premature labours030.49330.2434037
Ftv061.0591.1221150
History of hypertension
Age14455.29928.0874392
Birth weight in grams7094990729.2531,7531073556,527
Shape
VariableSkewnessKurtosisTotal sum of squares
Race0.31-1.752158.6
Presence of uterine irritability
Low
Lwt1.4022.404175,799
Smoking status during pregnancy
Number of previous premature labours2.8088.54945.76
Ftv1.5893.174211
History of hypertension
Age0.72220.61625278.3
Birth weight in grams-0.2086-0.0838499,969,656
Rows per value
VariableValueRowsShare
Presence of uterine irritabilityfalse16185.19 %
Presence of uterine irritabilitytrue2814.81 %
Lowfalse13068.78 %
Lowtrue5931.22 %
Smoking status during pregnancyfalse11560.85 %
Smoking status during pregnancytrue7439.15 %
History of hypertensionfalse17793.65 %
History of hypertensiontrue126.349 %

How to read this

This chapter summarizes every column at once: the descriptive statistics table below, then Correlation, Missing Values and Outliers. For a numeric column the table reports its center (mean, median, mode), its spread (standard deviation, variance, interquartile range, percentiles) and its shape (skewness, kurtosis); for a categorical column it reports the count and share of each category.

Each row of the tables describes one column. The statistics are grouped: the column itself, where its values center, how far they spread, what shape their distribution takes, and its percentiles. They read as follows.

StatisticExplanation
VariableName of the column the statistics in the row describe
TypeType assigned during data processing (bool, integer, number, decimal, text or date)
Values presentNumber of rows in which the column holds a value
Distinct valuesNumber of different values the column holds
ContinuousWhether the column can take any value in a range, as opposed to a discrete column limited to a fixed set of values
Decimal placesLength of the fractional part of the values
MeanArithmetic average: the sum of all values divided by the number of values
MedianThe middle value: half of the values lie at or below it and half at or above it. It is also the 50 % percentile
ModeThe value that appears most often
MinimumSmallest numeric value in the column

The first 10 rows of 20. The other 10 are in the notebook.

Missing Values

No column has a missing value: all 189 rows are complete.

N columns with missing
0
N complete rows
189
N rows
189
Pct complete rows
100

How to read this

The table lists, for each column, the count of present values (Values) beside the row count of the processed table (Rows), the number of missing values and their share. The larger the share, the less any statistic or model built on the column can be trusted.

  • Below 5% missing: safe to use as it is.
  • 5% to 25% missing: usable; filling the gaps or excluding those rows is worth considering.
  • 25% or more missing: the column is flagged and receives its own chapter in the Data section. Verify why so much is missing before trusting any result that depends on it.

A model is computed only on rows that hold a value in every column it reads, so gaps spread over several columns cost more rows than any one column's share suggests. The last column, Complete rows without, shows for each input with gaps how many rows would be complete if that column were left out; it is blank for a column without gaps, for a target, and for a column no model reads. A column that is the only gap in many rows is the one whose removal keeps the most data.

Outliers

4 of 5 numeric columns have values beyond the Tukey fences (1.5 times the interquartile range outside the quartiles). lwt has the largest share: 6.9% of its values. Whether such values are rare but real rows or recording errors decides whether they are kept. 1 column was not assessed: too few values, or a middle half that sits on a single value.

Outliers
ColumnValuesLower fenceUpper fenceBelowAboveShare
Age189none below36.500010.53 %
Birth weight in grams189804.5none above100.53 %
Ftv189none below2.5000126.35 %
Lwt189none below1850136.88 %
Number of previous premature labours189
Race189none belownone above000 %
N columns
6
N columns assessed
5
N columns with outliers
4
Worst column
lwt
Worst pct
6.88

How to read this

The table counts the outliers of every numeric column by the Tukey rule. Q1 and Q3 are the values below which 25% and 75% of a column's values fall, and the interquartile range is Q3 minus Q1. The lower fence lies 1.5 times the interquartile range below Q1, the upper fence the same distance above Q3; a value beyond a fence is an outlier. For each column the table gives both fences, how many values lie below and above them, their share of the column's values, and the single value that lies furthest beyond its fence. These are the same fences the box plots draw their whiskers to.

A column is not assessed when it has fewer than four values, or when the middle half of its values sits on a single number: the interquartile range is then zero and the rule would call every other value an outlier.

Extreme values can be real (rare but legitimate rows) or errors (measurement mistakes, data-entry slips). Which case applies decides whether to keep, clip or drop them before trusting a model that uses the column. A strongly skewed column has many values beyond one fence without any of them being wrong.

Correlation

45 column pairs analyzed across 189 rows (15 of two numbers, 24 of a number and a category, 6 of two categories); 12 (27%) are unlikely to be chance, after allowing for how many pairs were tested. Any other pair may still show a large association, but one that cannot be told apart from chance on the rows the pair was measured on. Every pair is stated as an association from 0 to 1, whatever its kind, so pairs of different kinds can be ranked against each other. An association states that two columns go together, not that one brings the other about.

N categorical pairs
6
N mixed pairs
24
N numeric pairs
15
N pairs
45
N samples
189
N significant
12
Pairs · 24 of 45 rows shown
Association95 % CIColumnEta squaredGroupsKendallKindNOther columnPearsonQ valueSpearman
0.7848Birth weight in grams0.61592numeric_categorical189Low< 0.001
0.339Race0.11492numeric_categorical189Smoking status during pregnancy< 0.001
0.2839Birth weight in grams0.080622numeric_categorical189Presence of uterine irritability0.001128
0.24890.04417, 0.32Birth weight in grams0.1697numeric189Lwt0.18570.042970.2489
0.2364History of hypertension0.055872numeric_categorical189Lwt0.01191
0.23420.07497, 0.3474Age0.1847numeric189Ftv0.21540.021860.2342
0.2276Number of previous premature labours0.05182numeric_categorical189Presence of uterine irritability0.01472
0.2037-0.291, -0.01219Birth weight in grams-0.1665numeric189Number of previous premature labours-0.15470.08144-0.2037
0.1961Low0.038452numeric_categorical189Number of previous premature labours0.04082
0.1947-0.3283, -0.05347Birth weight in grams-0.1453numeric189Race-0.19470.04082-0.1838

The first 10 rows of 24. The other 14 are in the notebook.

How to read this

This chapter measures how pairs of columns go together: the Correlation Measures table below, the Strongest Correlations, the Correlation Heatmap and, when the analysis has targets, the Potential Data Leaks. Numeric columns and categorical columns are both paired, a categorical column being one that is not numeric and holds between 2 and 50 distinct values. Every pair is stated as an association from 0 (unrelated) to 1 (one column gives the other away), so pairs of different kinds can be compared. An association states that two columns go together, not that one brings the other about.

The table lists every pair of columns once, with its kind, its association, the figures of its kind, its q-value and the number of rows the pair was measured on. A pair is measured on the rows where both columns hold a value.

MeasureExplanation
KindWhat the two columns hold: two numbers (numeric), a number and a category (numeric_categorical), or two categories (categorical)
AssociationStrength of the pair from 0 to 1, whatever its kind. Two numbers: the stronger of Pearson's coefficient and Spearman's ρ, without its sign. A number and a category: the correlation ratio η. Two categories: Cramér's V
CovarianceTwo numbers only. Direction of the relationship (positive or negative) in the units of the two columns. It is not standardized, so its size says little about strength without further context
Pearson's Correlation CoefficientTwo numbers only. Strength and direction of a linear relationship, from -1 (perfect negative) through 0 (no linear relationship) to 1 (perfect positive)
Spearman's ρTwo numbers only. Strength and direction of a monotonic relationship, computed on ranks rather than values. It captures relationships that consistently rise or fall even when they are not linear, and it is less affected by extreme values
Kendall's τTwo numbers only. Strength and direction of a monotonic relationship based on the concordance of ranks between the two columns. More conservative than Spearman's ρ, and steadier on small tables
Correlation ratio ηA number and a category. The square root of the share of the number's spread that lies between the categories, from 0 (every category has the same average) to 1 (the category fixes the number). For a category of two values it equals the absolute Pearson coefficient with the category coded 0 and 1. Its square, η², is that share: an η of 0.6 means the categories account for 36% of the spread
Cramér's VTwo categories. How far the table of counts of the two columns departs from what unrelated columns would give, from 0 (unrelated) to 1 (each value of one column goes with one value of the other), corrected so that columns with many rare values do not read as related
q-valueHow likely a pair this strong is among unrelated columns, adjusted for the number of pairs listed (Benjamini-Hochberg false-discovery rate). Among all pairs reported with q below 0.05, about 5% or fewer are expected to be false discoveries. The right measure for ranking many pairs
95% CI (Pearson)Two numbers only. Lower and upper bounds of the 95% confidence interval on the Pearson coefficient, via the Fisher z-transform, on the rows the pair was measured on. A narrow interval means the coefficient is well estimated; a wide interval that straddles zero means the relationship is uncertain

The first 10 rows of 12. The other 2 are in the notebook.

Strongest Correlations

The 20 pairs of columns with the smallest q-values: the associations that remain significant after the Benjamini-Hochberg adjustment for the number of pairs tested. Among all pairs reported with q below 0.05, about 5% or fewer are expected to be false discoveries; a pair above 0.05 may be coincidence even when its association looks strong.

A pair with an association above 0.9 often signals a duplicate or derived column. Moderately strong pairs with a low q-value are the relationships most worth investigating.

Each listed pair is drawn below, the picture behind the figure. Two numbers are drawn as a scatter, one point per row, the quickest way to see whether a strong value rests on a trend or on a few rows far from the rest. A number and a category are drawn as the number's box plot per category. Two categories are drawn as a heat map of how many rows hold each combination of values.

Potential Data Leaks

The table lists the association between every column and each target, whatever the two hold, with its q-value. An association close to 1 with a target, together with a q-value near zero, is one of two things: a strong input, or a data leak, a column derived from the target after the fact, such as a tax amount computed from the price being predicted. A leaked column trains a model that looks perfect and fails on new data, because the leak is not available at prediction time.

The Leakage Suspicion chapter in the Data section lists the pairs at 0.95 or more and marks those at 0.999 or more, where a column reproduces the target. For two numbers the association is whichever of Pearson's r and Spearman's rho is the stronger, because a column derived from the target often follows a curve rather than a line: the log of a price tracks the price perfectly, and Pearson alone reads that as weaker than it is. For a number and a category it is the correlation ratio η, and for two categories Cramér's V. Whether a listed column is a strong input or a leak depends on whether it is known before the target exists, which the owner of the analysis can confirm.

Findings

1 finding from the data profile (1 Critical) is listed in the Concerns chapter at the top of the analysis.

Implications

The weakest accuracy shows up for rows with 'no' in the Low, Smoking status during pregnancy, and Presence of uterine irritability columns. 'Pending' is the overall deployment readiness verdict. The analysis noted warning-level concerns for weaker quality in these three slices; see Concerns.

Most notable in the Implications section:

  • The model is far less accurate on rows with Low = no (worse than always predicting the average of those rows)
  • The model is less accurate on rows with Smoking status during pregnancy = no (worse than always predicting the average of those rows)
  • The model is less accurate on rows with Presence of uterine irritability = no (worse than always predicting the average of those rows)

How to read this

The Implications section states how to act on the models: the Stakeholder Summary and the Recommended Next Data, where the models hold and where they weaken (Quality by Input Range, Rows unlike the ones the model learned from, Per-Segment Predictions, Fairness), what to weigh before relying on them (Causal Honesty, Deployment Readiness), and the Provenance & Audit trail a reviewer needs to retrace the analysis.

Stakeholder Summary

The model for Birth weight in grams does not outperform simply guessing the average, with none of the 9 available inputs used in its formula and its output explaining 0% of the variation in birth weight. The strongest baseline, which always guesses the middle value, also performs worse than always guessing the average, so neither the model nor the baseline offers a reliable prediction. This means no actual signal linking the available inputs to birth weight was found in the data analyzed here.

This check is limited by issues with the data, including a likely split contamination from duplicate rows and very weak results on key subgroups: the model predicts especially poorly for rows where Low, Smoking status during pregnancy, or Presence of uterine irritability are false. The number of held-out rows is small. Before relying on any findings, collect more and cleaner data for a new analysis.

Recommended Next Data

  • Collect more rows where Low is no, Smoking status during pregnancy is no, and Presence of uterine irritability is no. Reason: the model is far less and less accurate than overall in these segments, and predicts worse than always guessing their average would on 29 rows where Low is no, 21 rows where Smoking status during pregnancy is no, and 28 rows where Presence of uterine irritability is no.
  • Add a column that records potential duplicate row identifiers to address row duplication. Reason: data has 5.3% exact duplicate rows, so the held-out split is likely contaminated.
  • Collect fresh rows and review held-out procedures to obtain a valid check set. Reason: held-out predictions are effectively constant with 0% of the actual values' spread, so model quality cannot be measured reliably.
  • Record a variable or timestamp distinguishing training and held-out rows to ensure they remain separate. Reason: contaminated splits undermine model checking and can hide or exaggerate signal.
  • Inspect sources and entry procedures to address the systematic under-prediction detected, as the model under-predicts by 171 on average. Reason: held-out residuals carry a systematic offset, which signals reliability concerns in input data or splits.

Quality by Input Range

Quality by Input Range splits the held-out rows by every usable input and compares the model's quality on each segment with its quality on all held-out rows. For a number the quality is R², the share of variation explained; for a yes-or-no target it is accuracy, the share of rows classified correctly, the measure the Classification Performance chapter reports. A numeric input is split into quartiles; a categorical input with at most ten values is split by value. A segment with fewer than three held-out rows is left out, because its gap would be noise.

The chart is sorted from the worst gap to the best. Each bar is the segment's figure minus the figure on all held-out rows.

  • Negative bars: the model is weaker on these rows than on all held-out rows. A segment 0.25 or more below the overall value (25 points of accuracy) reads much weaker; a segment 0.10 to 0.25 below reads weaker. These are the segments to treat with caution.
  • Positive bars: the model is stronger on these rows than overall. A strong segment can mask weakness elsewhere, so the negative segments come first.
Birth weight in grams by Input Range

Segment low = no is much weaker than the aggregate (29 held-out rows): segment R² -0.895 against aggregate R² -0.0674 (gap -0.828). A drop this large means the model describes this slice of the data poorly; an input interaction or a missing column may be specific to this subset.

SegmentRowsR²Gap to all rowsVerdict
Low = false29-0.8953-0.8279Much weaker than on all rows
Smoking status during pregnancy = false21-0.3074-0.2400Weaker than on all rows
Presence of uterine irritability = false28-0.2617-0.1943Weaker than on all rows
History of hypertension = false36-0.0904-0.0231In line with all rows
Race = q325-0.0785-0.0111In line with all rows
Number of previous premature labours = q438-0.0674+0.0000In line with all rows
Ftv = q322-0.0299+0.0374In line with all rows
Low = true9-14.3664-14.2990Too few rows to judge
Age = q35-3.2505-3.1832Too few rows to judge
Presence of uterine irritability = true10-0.1565-0.0892Too few rows to judge

The first 10 rows of 20. The other 10 are in the notebook.

Aggregate R²
-0.06738
Measure
r2
Target
Birth weight in grams

Rows unlike the ones the model learned from

Out-of-distribution rows were not assessed on this run, because no model reads a numeric input to measure distance on.

The held-out set is empty, so out-of-distribution rows were not assessed.

Held-out rows out of distribution
0
Held-out rows measured
0
Share out of distribution (%)
0
Distance line
3

How to read this

Out-of-distribution detection finds held-out rows that lie far from the training rows of a model. It looks only at the numeric inputs the model reads. Each of them is standardized against the mean and standard deviation of the training rows, and the standardized values are combined into one distance per row. The line a row is read against depends on the number of inputs: it is the distance that 99 in 100 rows like the training rows stay below. A row beyond the line is flagged as out of distribution, and the held-out figures are unlikely to apply to it. When the held-out rows resemble the training rows, about one row in a hundred is flagged.

The chart shows one bar per held-out row in row order; the flagged rows are the bars at or above the line. With more than one target, the chart shows the model with the largest flagged share, and the figures name it.

The check treats inputs independently, so it will not notice a rare combination of values that are each ordinary on their own, such as a large height with a small weight. It is a first screen. A decision that depends on catching unusual inputs needs a dedicated check.

Fairness

This chapter checks the held-out predictions for uneven treatment of groups. For every categorical column with two to ten distinct values, other than the target, it reports per group the row count, mean actual value, mean prediction and mean residual, with R² and MAE for a number or accuracy, the share of rows classified correctly, for a yes-or-no target, and two measures across the groups.

  • Prediction parity ratio: the smallest group mean prediction divided by the largest, in absolute value. A ratio of 1.0 is perfect parity. Below 0.80, the four-fifths rule, some group receives systematically different predictions.
  • Largest mean residual: the largest absolute mean residual of any group. Above 30% of the overall residual standard deviation, at least one group is systematically over- or under-predicted.

The verdict combines the two: balanced when neither measure trips, parity gap or residual bias when one does, parity gap and residual bias when both do, and insufficient data when fewer than two groups have enough held-out rows.

Diafunc does not decide which columns are protected attributes; it reports every plausible one. A flagged column matters where it is a protected attribute in the decision the model supports, and can be set aside where it is not.

Birth weight in grams Fairness

Column Low splits the held-out rows into 2 groups. The prediction-parity ratio is 1.00 (smallest over largest mean prediction), the largest absolute group residual mean is 732 (1.09 times the overall residual standard deviation). Residual bias: at least one group is systematically over- or under-predicted. The model's errors are not zero-mean across groups; its predictions for the affected groups deserve caution.

Aggregate residual std
668.8
N columns
3
N proxies
0
Proxy threshold
0.5
Columns
Bias max abs residual meanColumnGroupsInterpretationN groupsPrediction parity ratioVerdict
731.6Lowfalse, trueColumn Low splits the held-out rows into 2 groups. The prediction-parity ratio is 1.00 (smallest over largest mean prediction), the largest absolute group residual mean is 732 (1.09 times the overall residual standard deviation). Residual bias: at least one group is systematically over- or under-predicted. The model's errors are not zero-mean across groups; its predictions for the affected groups deserve caution.21Residual bias
351.8Smoking status during pregnancyfalse, trueColumn Smoke splits the held-out rows into 2 groups. The prediction-parity ratio is 1.00 (smallest over largest mean prediction), the largest absolute group residual mean is 352 (0.526 times the overall residual standard deviation). Residual bias: at least one group is systematically over- or under-predicted. The model's errors are not zero-mean across groups; its predictions for the affected groups deserve caution.21Residual bias
316.8Presence of uterine irritabilityfalse, trueColumn Ui splits the held-out rows into 2 groups. The prediction-parity ratio is 1.00 (smallest over largest mean prediction), the largest absolute group residual mean is 317 (0.474 times the overall residual standard deviation). Residual bias: at least one group is systematically over- or under-predicted. The model's errors are not zero-mean across groups; its predictions for the affected groups deserve caution.21Residual bias

Causal Honesty

Diafunc found a formula that captures the structure in the training data. That structure is correlative: it states what predicts what in this data. It does not establish that any input causes the target.

A correlative model is the right tool for predicting the target on new rows like these, for exploring which inputs carry information about the target, and for an early-stage diagnostic or screening tool.

A correlative model is not the right tool for claiming that intervening on an input will change the target, for attributing a target's values to specific causes for accountability, or for choosing between policies that act on the inputs.

The Quality by Input Range, Fairness and Concerns chapters show the most common confounding patterns in the data.

The model is correlative: it captures which columns predict the target in the training data, not whether changing one would change the other. Predictions are reliable for inputs that look like the training distribution; they are not evidence that intervening on an input will change the target. The 4 upgrade pathways below show what evidence would support a causal claim.

Upgrade pathways
NameSummary
Controlled experimentRandomize the input to be acted on, then analyze again. Randomization breaks confounding, so any change in the target is attributable to the input.
Natural experimentFind a setting where the input varied for reasons unrelated to the target, an instrumental variable. Variation of that kind supports causal inference.
Causal graphWrite out what plausibly causes what, then check whether the model's terms are consistent with the conditional independences the graph implies.
Control for confoundersIf a third variable plausibly moves both the input and the target, stratify by it or condition on it before training again. Gaps in the Quality by Input Range chapter are a clue.

Deployment Readiness

The analysis ran with the configuration below. The checks and the verdict of this chapter are read against it.

  • Targets: 1 target: bwt
  • Rows: 189 rows
  • Per-Segment Predictions: not produced, because no segment column was chosen
  • Fairness: compared across 4 categorical columns (ht, low, smoke, ui); which of them are protected attributes is not decided here
  • Out-of-Distribution: held-out rows are scored against the training rows; predictions made outside this report are not scored
  • Provenance & Audit: recorded in the chapter of that name

Across 6 checks (2 pass, 2 warn, 2 fail, 2 critical concerns), at least one check fails or a critical concern is open: Not ready. The failing checks need addressing first; they typically indicate data leakage, severe miscalibration, or a model that loses to its baseline.

NameStatusDetail
GeneralizationWarnthe model predicts one value for every held-out row
Prediction Interval CoverageFailintervals miss more rows than their level allows, largest gap 6.32 percentage points
Baseline Lift for Birth weight in gramsFailevery baseline did worse than guessing the mean; the model's R² is -0.0674
Model ConstraintsPassevery held-out prediction is finite and within the training range
FairnessWarn3 columns compared, 3 flagged: Low (a group is systematically over- or under-predicted), Smoking status during pregnancy (a group is systematically over- or under-predicted), Presence of uterine irritability (a group is systematically over- or under-predicted)
Out-of-DistributionPass0% of held-out rows are out of distribution
N critical concerns
2
N fail
2
N pass
2
N warn
2
Overall verdict
Not ready

Provenance & Audit

This record captures the inputs and configuration that produced the report, so the analysis can be reproduced or the result defended in an audit.

ItemValue
Analysis IDf0e60ee0-48b7-11f1-8087-d378640fe787
Run time2026-10-24 09:08 UTC
Total rows189
Modeled targetsBirth weight in grams
Segment columnnot available
Time limit1 h 0 min
Time taken2 min 13 s
Credit budget500 credits
Ufinq version0.3.43

Findings

1 finding from the implications diagnostics (1 Warning) is listed in the Concerns chapter at the top of the analysis.

Loading Diafunc…