Analysis report
Solar Flare
Data from UCI Machine Learning Repository, published under https://creativecommons.org/licenses/by/4.0/.
- Target
- Target
- Analyzed
- 2026-10-28 23:53 UTC
Summary
The model ranks the levels of Target, with its output tracking sunspot distribution most strongly. It classifies 77% of cases correctly and reaches a quality of 16%, meaning it captures part of the ranking pattern. Compared with always predicting the most common level, the model comes out ahead by 20 points of weighted kappa on average, which is too little to show row by row, so the two are about level. Moving sunspot distribution from 0 to 1.00 raises the model's output by about 0.156 on average, with everything else as observed.
The model did not outperform the strongest baseline enough for a row-by-row difference to show. That limits its value at the individual case level. The model is far less accurate for sunspot activity = yes, historically complex region = yes, sunspot largest spot in the highest quarter, and sunspot group configuration in the third quarter, and less accurate for sunspot distribution in the highest quarter. The next step is to obtain more varied data, address the duplication issue, and validate the model again.
Formula
Target = 0.05 + 0.08 × Sunspot distribution × (Recent flare activity + Sunspot largest spot)Held-out diagnostics
| Target | Quality | Error | Accuracy | Quadratic weighted κ | MAE (levels) | Search rows | Generalization | Rows |
|---|---|---|---|---|---|---|---|---|
| Target | 16.06% | 82.44% | 0.77 | 0.1977 | 0.3286 | 853 | generalizing | 213 |
- Target · Quality 95% CI 2.67% – 26.19%
- Target · Error 95% CI 72.49% – 95.6%
- Target · Accuracy 95% CI 0.7089 – 0.8263
Concerns
CRITICAL data
Data has 80% exact duplicate rows: the held-out split is likely contaminated
851 of 1,066 rows (80%) are exact duplicates of at least one other row (largest duplicate group: 67 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.
WARNING model
4 levels of `Target` have too few held-out rows
4 levels of Target have fewer than 5 held-out rows, so the model cannot be checked on them. Read the recall of these levels with caution; consider gathering more examples of them or merging a level with an adjacent one.
| Level | Held-out rows | Reading |
|---|---|---|
| 5 | 1 | Noisy |
| 6 | 1 | Noisy |
| 4 | 2 | Noisy |
| 3 | 3 | Noisy |
WARNING model
Target `Target` is severely imbalanced: the majority level is 83% of rows
The majority level (0) holds 177 of 213 held-out rows (83%) across 7 levels; the rarest (5) has only 1. Accuracy looks strong even for a weak model, because always predicting 0 already scores 83%. Macro-F1 and the recall per level are the figures to read, and the confusion matrix shows whether the minority levels are predicted at all.
INFO data
Column `Largest spot area` holds almost one value
Largest spot area is "false" in every one of its 1,066 values. A column this close to constant tells rows apart in a few cases only: a term that reads it rests on those few rows, and its charts show one bar.
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-28 23:54 UTC, analysis edcd3620-48b7-11f1-8087-d378640fe787, 1 target, time budget 1 h 0 min, compute budget 500 credits, 1,066 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 high quality and still say nothing new about the data.
What it found
Target rises with Sunspot largest spot and also changes with Sunspot distribution and Recent flare activity.
- Sunspot distribution carries most of the model. Sunspot distribution accounts for 61% of what the formula explains and Sunspot largest spot for 28%. Recent flare activity adds 10%.
- The formula's value for Target rises with Sunspot largest spot. The formula's value for Target rises with Sunspot largest spot when the other inputs stay at typical values.
- Sunspot distribution and Sunspot group configuration move oppositely (correlation -0.601). Sunspot distribution and Sunspot group configuration move oppositely, with a measured correlation of -0.601.
- The formula does better than always predicting the most common level. The formula agrees with the recorded levels at a weighted kappa of 0.20; always predicting the most common level at 0.00. It avoids 18% of the errors of always guessing the most frequent class. That was measured on 213 rows it never saw.
Summary
What to do next: 4 columns compared, 4 flagged: Historically complex region (a group receives systematically smaller predictions), Historically complex region recent (a group receives systematically smaller predictions), Region area (a group receives systematically smaller predictions), Sunspot activity (a group both receives smaller predictions and is systematically mis-predicted).
6 chapters, each headed by what it found.
S.1 Sunspot distribution carries most of the formula
What the formula relies on. Shares of the formula: Sunspot distribution 61%, Sunspot largest spot 28%, Recent flare activity 10%.
Measured on 85 of the 853 rows the model was found on, which the search set apart for it. The model's score rises with Sunspot distribution on every one of the 1,281 steps between observed values. The model's score rises with Sunspot largest spot on every one of the 2,135 steps between observed values. The model's score rises with Recent flare activity on every one of the 854 steps between observed values. Moving Sunspot distribution from 0 to 1.00, its first and third quartile, with every other input as observed raises the model's score by 0.156 on average (by between 0 and 0.56 on single rows). These are measurements on the rows the search trained on, inside the observed ranges; outside them nothing is claimed.
| Input | Share of importance | Permutation importance | Sensitivity | Residual correlation | Occurrences | Model's output as the input rises | Change, first to third quartile |
|---|---|---|---|---|---|---|---|
| Sunspot distribution | 61.35% | 0.5053 | 0.1638 | -0.2789 | 1 | Rises (1101 of 1281 steps) | +0.1555 (0 to 1) |
| Sunspot largest spot | 28.3% | 0.2331 | 0.07718 | -0.2987 | 1 | Rises (1480 of 2135 steps) | +0.1548 (1 to 3) |
| Recent flare activity | 10.36% | 0.0853 | 0.07718 | -0.5903 | 1 | Rises (592 of 854 steps) |
- Rows the search trained on, measured
- 427
- N rows
- 85
- Inputs the formula does not read
- Historically complex region, Historically complex region recent, Region area, Sunspot activity, Sunspot evolution, Sunspot group configuration
The formula decomposes into 2 additive terms: clean separable structure. Each curve below shows one term's response to its free inputs, with the other inputs held at the training median. Steep curves carry the prediction; flat curves are decorative.
- Additive
- Yes
- Rows the search trained on, measured
- 427
- Terms in the formula
- 2
- Notation
- 0.05 + 0.08 × Sunspot distribution × (Recent flare activity + Sunspot largest spot)
- Target
- Target
S.2 It holds on new rows: weighted kappa 0.20 held out, 0.27 on the training rows
How well it holds. The formula agrees with the recorded levels at a weighted kappa of 0.20; always predicting the most common level at 0.00. It avoids 18% of the errors of always guessing the most frequent class.
How this was checked
- Measured on 213 rows the formula never saw (20% of 1,066); the other 853 built it.
- Compared on the same rows against always predicting the most common level and always predicting the middle level.
- Intervals from 1,000 bootstrap resamples of those rows.
Quadratic-weighted kappa of 0.198 across 7 ordered levels on 213 rows the search never saw, weak agreement: only slightly better than chance on the ordering. Exact-level accuracy is 77%, mean level error 0.329.
- Accuracy
- 0.77 (95% CI 0.7089 – 0.8263)
- Error
- 82.44% (95% CI 72.49% – 95.6%)
- MAE levels
- 0.3286
- N
- 213
- Training rows
- 853
- N levels
- 7
- Quadratic weighted kappa
- 0.1977
- Quality
- 16.06% (95% CI 2.67% – 26.19%)
- Rows found on
- 853
- Target
- Target
The model beats the strongest simple yardstick, always predicting the most common level, by 0.198 in weighted kappa on the 213 held-out rows. Row by row the margin is negligible: the model reads as roughly level with the yardstick. Of the 30 held-out rows where the two differ, the model is closer on 40% (95% interval 25% to 58%).
- Best yardstick's score
- 0 (95% CI 0 – 0)
- Effect size d
- -0.07509 (95% CI -0.2095 – 0.05484)
- Effect size d magnitude
- negligible
- Margin over the best yardstick
- 0.1977 (95% CI 0.07628 – 0.3346)
- Margin's interval stays above zero
- Yes
- Model
- 0.1977 (95% CI 0.07628 – 0.3346)
- Held-out rows
- 213
- Held-out rows without an answer
- 0
- Target
- Target
- Rows where the model is closer
- 40% (95% CI 24.59% – 57.68%)
- Rows compared
- 30
- Rows level
- 183
The model scores held-out rows about as well as training rows (held-out weighted kappa 0.198 on 213 rows, gap between training and held-out weighted kappa 0.0699): it generalizes. The structure the formula encodes carries from the training rows to the held-out rows.
- Generalization gap
- 0.06989
- Metric
- Quadratic weighted κ
- N test
- 213
- Target
- Target
- Test error
- 0.3918 (95% CI 0.3093 – 0.486)
- Test metric
- 0.1977 (95% CI 0.07628 – 0.3346)
- Train error
- 0.7964
- Train metric
- 0.2676
- Verdict
- Generalizing
S.3 Weaker on 5 slices of the data, most in Sunspot activity = true
Where it is weak. The largest miss on a held-out row is 5.15 (recorded 6, predicted 0.85). 4.7% of the held-out rows are unlike the rows it learned from.
Segment sunspot_activity = yes is much weaker than the aggregate (34 held-out rows): segment R² -0.0409 against aggregate R² 0.0973 (gap -0.138). 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.
| Segment | Rows | R² | Gap to all rows | Verdict |
|---|---|---|---|---|
| Sunspot activity = true | 34 | -0.04091 | -0.13826 | Much weaker than on all rows |
| Sunspot group configuration = q3 | 74 | -0.02126 | -0.11861 | Much weaker than on all rows |
| Sunspot largest spot = q4 | 58 | 0.03570 | -0.06165 | Much weaker than on all rows |
| Historically complex region = true | 84 | 0.03890 | -0.05845 | Much weaker than on all rows |
| Sunspot distribution = q4 | 151 | 0.07007 | -0.02728 | Weaker than on all rows |
| Sunspot evolution = q4 | 99 | 0.13366 | +0.03631 | In line with all rows |
| Historically complex region recent = true | 186 | 0.08490 | -0.01245 | In line with all rows |
| Recent flare activity = q4 | 213 | 0.09735 | +0.00000 | In line with all rows |
| Largest spot area = false | 213 | 0.09735 | +0.00000 | In line with all rows |
| Region area = false | 208 | 0.10554 | +0.00819 | In line with all rows |
The first 10 rows of 23. The other 13 are in the notebook.
- Aggregate MAE
- 0.3918
- Aggregate R²
- 0.09735
- Measure
- r2
- Target
- Target
The worst held-out row was missed by 5.15 (target's scale). The 10 rows with the largest absolute residuals out of 213 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.
| Actual | Predicted | Residual | Recent flare activity | Sunspot distribution | Sunspot largest spot |
|---|---|---|---|---|---|
| 6.000 | 0.850 | +5.150 | 2 | 2 | 3 |
| 5.000 | 0.210 | +4.790 | 0 | 1 | 2 |
| 4.000 | 0.290 | +3.710 | 0 | 1 | 3 |
| 4.000 | 0.850 | +3.150 | 0 | 2 | 5 |
| 3.000 | 0.210 | +2.790 | 0 | 1 | 2 |
| 3.000 | 0.530 | +2.470 | 0 | 2 | 3 |
| 3.000 | 0.690 | +2.310 | 0 | 2 | 4 |
| 2.000 | 0.050 | +1.950 | 0 | 0 | 2 |
| 2.000 | 0.210 | +1.790 | 0 | 1 | 2 |
| 2.000 | 0.210 | +1.790 | 0 | 2 | 1 |
- Additive
- Yes
- Expected coverage
- 0.8916
- N extrapolated
- 0
- Held-out rows
- 213
- Held-out rows for the interval
- 213
- Rows inside the interval
- 202
- Residual P5
- -0.53
- Residual P95
- 1.534
- Residual std
- 0.7964
10 of 213 held-out rows (4.7%) lie further from the training rows than 99 in 100 rows like them would, measured on the 3 inputs the model reads (recent_flare_activity, sunspot_distribution, sunspot_largest_spot). That is a small minority; the held-out figures describe the model on rows like the ones it was trained on.
| Target | Inputs measured | Line | Held-out rows | Beyond the line | Share |
|---|---|---|---|---|---|
| Target | Recent flare activity, Sunspot distribution, Sunspot largest spot | 3.368 | 213 | 10 | 4.69% |
| Count | From | To |
|---|---|---|
| 29 | 0 | 0.217 |
| 0 | 0.217 | 0.434 |
| 0 | 0.434 | 0.652 |
| 23 | 0.652 | 0.869 |
| 13 | 0.869 | 1.086 |
| 55 | 1.086 | 1.303 |
| 20 | 1.303 | 1.52 |
| 54 | 1.52 | 1.738 |
| 0 | 1.738 | 1.955 |
| 4 | 1.955 | 2.172 |
The first 10 rows of 24. The other 14 are in the notebook.
S.4 Not ready to use yet: 1 critical concern
What to watch. First: Data has 80% exact duplicate rows: the held-out split is likely contaminated.
| Severity | Section | Concern | Detail |
|---|---|---|---|
| Critical | Data | Data has 80% exact duplicate rows: the held-out split is likely contaminated | 851 of 1,066 rows (80%) are exact duplicates of at least one other row (largest duplicate group: 67 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. |
| Warning | Model | 4 levels of Target have too few held-out rows | 4 levels of Target have fewer than 5 held-out rows, so the model cannot be checked on them. Read the recall of these levels with caution; consider gathering more examples of them or merging a level with an adjacent one. |
| Warning | Model | Target Target is severely imbalanced: the majority level is 83% of rows | The majority level (0) holds 177 of 213 held-out rows (83%) across 7 levels; the rarest (5) has only 1. Accuracy looks strong even for a weak model, because always predicting 0 already scores 83%. Macro-F1 and the recall per level are the figures to read, and the confusion matrix shows whether the minority levels are predicted at all. |
| Info | Data | Column Largest spot area holds almost one value | Largest spot area is "false" in every one of its 1,066 values. A column this close to constant tells rows apart in a few cases only: a term that reads it rests on those few rows, and its charts show one bar. |
The analysis ran with the configuration below. The checks and the verdict of this chapter are read against it.
- Targets: 1 target:
target - Rows: 1,066 rows
- Per-Segment Predictions: not produced, because no segment column was chosen
- Fairness: compared across 5 categorical columns (
historically_complex_region,historically_complex_region_recent,largest_spot_area,region_area,sunspot_activity); 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 5 checks (4 pass, 1 warns, 0 fail, 1 critical concern), every check passes or warns, but a critical concern is open: Not ready to use yet. The Concerns chapter names what is open; it needs addressing before the predictions are used.
| Name | Status | Detail |
|---|---|---|
| Generalization | Pass | quality on the held-out rows matches quality on the rows the model was found on |
| Baseline Lift for Target | Pass | beats the best yardstick by 0.198 in weighted kappa |
| Model Constraints | Pass | every held-out prediction is finite and within the training range |
| Fairness | Warn | 4 columns compared, 4 flagged: Historically complex region (a group receives systematically smaller predictions), Historically complex region recent (a group receives systematically smaller predictions), Region area (a group receives systematically smaller predictions), Sunspot activity (a group both receives smaller predictions and is systematically mis-predicted) |
| Out-of-Distribution | Pass | 4.7% of held-out rows are out of distribution |
- N critical concerns
- 1
- N fail
- 0
- N pass
- 4
- N warn
- 1
- Overall verdict
- Not ready
Column Sunspot activity splits the held-out rows into 2 groups. The prediction-parity ratio is 0.405 (smallest over largest mean prediction), the largest absolute group residual mean is 0.397 (0.499 times the overall residual standard deviation). Parity gap and residual bias: the model both predicts systematically lower for some groups and errs systematically against at least one group. This is the worst-case fairness signal on this column; review before deployment.
- Aggregate residual std
- 0.7964
- N columns
- 4
- N proxies
- 1
- Proxy threshold
- 0.5
| Bias max abs residual mean | Column | Groups | Interpretation | N groups | N proxies | Prediction parity ratio | Verdict |
|---|---|---|---|---|---|---|---|
| 0.2162 | Historically complex region | true, false | Column Historically complex region splits the held-out rows into 2 groups. The prediction-parity ratio is 0.375 (smallest over largest mean prediction), the largest absolute group residual mean is 0.216 (0.271 times the overall residual standard deviation). Parity gap: at least one group receives systematically smaller predictions on average. Whether that is a property of the target itself or a model bias against the group needs checking. | 2 | 0.375 | Prediction parity gap | |
| 0.1016 | Historically complex region recent | true, false | Column Historically complex region recent splits the held-out rows into 2 groups. The prediction-parity ratio is 0.211 (smallest over largest mean prediction), the largest absolute group residual mean is 0.102 (0.128 times the overall residual standard deviation). Parity gap: at least one group receives systematically smaller predictions on average. Whether that is a property of the target itself or a model bias against the group needs checking. sunspot_group_configuration goes closely with historically_complex_region_recent (association 0.512 on a scale from 0 to 1): a model that reads sunspot_group_configuration can tell the groups of historically_complex_region_recent apart, so leaving historically_complex_region_recent out of the inputs does not keep it out of the predictions. | 2 | 1 | 0.2109 | Prediction parity gap |
| 0.13 | Region area | false, true | Column Region area splits the held-out rows into 2 groups. The prediction-parity ratio is 0.211 (smallest over largest mean prediction), the largest absolute group residual mean is 0.13 (0.163 times the overall residual standard deviation). Parity gap: at least one group receives systematically smaller predictions on average. Whether that is a property of the target itself or a model bias against the group needs checking. | 2 | 0.2109 | Prediction parity gap | |
| 0.3971 | Sunspot activity | true, false | Column Sunspot activity splits the held-out rows into 2 groups. The prediction-parity ratio is 0.405 (smallest over largest mean prediction), the largest absolute group residual mean is 0.397 (0.499 times the overall residual standard deviation). Parity gap and residual bias: the model both predicts systematically lower for some groups and errs systematically against at least one group. This is the worst-case fairness signal on this column; review before deployment. | 2 | 0.4054 | Parity and bias |
S.5 More rows in Sunspot activity = true would help most
What to collect next. There the model does worse than the average of the slice, on 34 held-out rows.
- Collect more rows where Sunspot activity = yes, Sunspot group configuration in the third quarter (2 to 4), Sunspot largest spot in the highest quarter (3 to 5), and Historically complex region = yes. Reason: the model is far less accurate on these segments, predicting worse than always guessing the most common level for Sunspot activity = yes and Sunspot group configuration in the third quarter (2 to 4), and explaining just 3.6% and 3.9% of the variation for Sunspot largest spot in the highest quarter (3 to 5) and Historically complex region = yes, respectively.
- Collect more rows where Sunspot distribution is in the highest quarter (1 to 3). Reason: the model is less accurate on these 151 rows, explaining only 7% of the variation there.
- Record the group each row belongs to for the columns Historically complex region, Historically complex region recent, Region area, and Sunspot activity in further detail or with additional balance. Reason: the model shows a prediction parity gap for Historically complex region, Historically complex region recent, and Region area, and a parity and bias flag for Sunspot activity.
- Add rows representing the less common levels of Target. Reason: 4 levels of Target have too few held-out rows, limiting the model's accuracy and coverage on these classes.
- Inspect and address the 80% exact duplicate rows in the data. Reason: a critical concern was measured, indicating the held-out split is likely contaminated.
S.6 It shows how Target moves with its inputs in these rows, not what causes it
What this cannot tell you. It was built on Sunspot distribution from 0 to 3, Sunspot largest spot from 0 to 5 and Recent flare activity from 0 to 2; outside those ranges it has not been checked. 3 slices of the data had too few held-out rows to judge.
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.
| Name | Summary |
|---|---|
| Controlled experiment | Randomize the input to be acted on, then analyze again. Randomization breaks confounding, so any change in the target is attributable to the input. |
| Natural experiment | Find a setting where the input varied for reasons unrelated to the target, an instrumental variable. Variation of that kind supports causal inference. |
| Causal graph | Write out what plausibly causes what, then check whether the model's terms are consistent with the conditional independences the graph implies. |
| Control for confounders | If 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. |
Evidence
Every chapter of the analysis in full: the figures the story rests on, and everything else the analysis measured.
1 Headline
Diafunc modeled Target from 10 columns, using 3 in the model. The model classifies 77% of Target levels correctly and relies most on Sunspot distribution, with which the model's output rises.
- One target was modeled; 213 rows were held out for checking.
- Always predicting the most common level agreed with the recorded level at a weighted kappa of 0; the model added 20 points of weighted kappa, a slight margin.
- Data has 80% exact duplicate rows: the held-out split is likely contaminated.
- Best quality
- 16.06%
- Best target
- target
- Targets
- 1
2 Concerns
| Severity | Section | Concern | Detail |
|---|---|---|---|
| Critical | Data | Data has 80% exact duplicate rows: the held-out split is likely contaminated | 851 of 1,066 rows (80%) are exact duplicates of at least one other row (largest duplicate group: 67 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. |
| Warning | Model | 4 levels of Target have too few held-out rows | 4 levels of Target have fewer than 5 held-out rows, so the model cannot be checked on them. Read the recall of these levels with caution; consider gathering more examples of them or merging a level with an adjacent one. |
| Warning | Model | Target Target is severely imbalanced: the majority level is 83% of rows | The majority level (0) holds 177 of 213 held-out rows (83%) across 7 levels; the rarest (5) has only 1. Accuracy looks strong even for a weak model, because always predicting 0 already scores 83%. Macro-F1 and the recall per level are the figures to read, and the confusion matrix shows whether the minority levels are predicted at all. |
| Info | Data | Column Largest spot area holds almost one value | Largest spot area is "false" in every one of its 1,066 values. A column this close to constant tells rows apart in a few cases only: a term that reads it rests on those few rows, and its charts show one bar. |
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.
3 Discovered Relations
| Target | Formula | Quality | Complexity | Error |
|---|---|---|---|---|
| Target | Target = 0.05 + 0.08 × Sunspot distribution × (Recent flare activity + Sunspot largest spot) | 16.06% | 9% | 82.44% |
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.
4 Model
The model relies mostly on sunspot distribution and shows moderate quality on the held-out split, but warnings highlight that the model's output has few held-out rows at four levels and is dominated by one outcome in eighty-three percent of rows.
Most notable in the Model section:
Sunspot distributioncarries most of the model (61% of its reliance on inputs)
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.
4.1 Target
The Model section builds one model for Target: 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.
4.1.1 Target Model
The model's output rises with Sunspot distribution, the strongest input, and also rises with Sunspot largest spot and Recent flare activity.
Target = 0.05 + 0.08 × Sunspot distribution × (Recent flare activity + Sunspot largest spot)| Value | Role | Input | Unit |
|---|---|---|---|
| 0.05 | Intercept | Unit of the model's output | |
| 0.08 | Coefficient |
- Rows the search trained on, measured
- 427
- Rows the search trained on
- 427
- Constant base
- 0.05
- Constants in the formula
- 2
- Terms that read an input, constants multiplied in
- 1
- Training rows
- 853
- Held-out rows
- 213
- Inputs the formula reads
- 3
- Terms in the formula
- 2
- Inputs the formula does not read
- Historically complex region, Historically complex region recent, Region area, Sunspot activity, Sunspot evolution, Sunspot group configuration
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.
| Metric | Meaning |
|---|---|
| Quality | How 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 |
| Error | How 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 |
| Complexity | The 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.
4.1.2 Prediction
The model predicts Target 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.
4.1.2.1 Prediction Chart
Quadratic-weighted kappa of 0.198 across 7 ordered levels on 213 rows the search never saw, weak agreement: only slightly better than chance on the ordering. Exact-level accuracy is 77%, mean level error 0.329.
- Accuracy
- 0.77 (95% CI 0.7089 – 0.8263)
- Error
- 82.44% (95% CI 72.49% – 95.6%)
- MAE levels
- 0.3286
- N
- 213
- Training rows
- 853
- N levels
- 7
- Quadratic weighted kappa
- 0.1977
- Quality
- 16.06% (95% CI 2.67% – 26.19%)
- Rows found on
- 853
- Target
- Target
How to read this
Actual Target 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 color the number of rows that fall in both, and the cells whose two ranges match hold the rows the model predicts well.
4.1.2.2 Held-out Level Support
- N
- 213
- N levels
- 7
| Level | Support |
|---|---|
| 0 | 177 |
| 1 | 22 |
| 2 | 7 |
| 3 | 3 |
| 4 | 2 |
| 5 | 1 |
| 6 | 1 |
How to read this
How many held-out rows fall on each level of Target. Ordinal levels are rarely evenly occupied, and the counts here say which parts of the scale the held-out metrics actually measure: a level with few rows contributes little evidence, and an unoccupied level is not evidence at all.
4.1.3 Which inputs matter most
Measured on 85 of the 853 rows the model was found on, which the search set apart for it. The model's score rises with Sunspot distribution on every one of the 1,281 steps between observed values. The model's score rises with Sunspot largest spot on every one of the 2,135 steps between observed values. The model's score rises with Recent flare activity on every one of the 854 steps between observed values. Moving Sunspot distribution from 0 to 1.00, its first and third quartile, with every other input as observed raises the model's score by 0.156 on average (by between 0 and 0.56 on single rows). These are measurements on the rows the search trained on, inside the observed ranges; outside them nothing is claimed.
| Input | Share of importance | Permutation importance | Sensitivity | Residual correlation | Occurrences | Model's output as the input rises | Change, first to third quartile |
|---|---|---|---|---|---|---|---|
| Sunspot distribution | 61.35% | 0.5053 | 0.1638 | -0.2789 | 1 | Rises (1101 of 1281 steps) | +0.1555 (0 to 1) |
| Sunspot largest spot | 28.3% | 0.2331 | 0.07718 | -0.2987 | 1 | Rises (1480 of 2135 steps) | +0.1548 (1 to 3) |
| Recent flare activity | 10.36% | 0.0853 | 0.07718 | -0.5903 | 1 | Rises (592 of 854 steps) |
- Rows the search trained on, measured
- 427
- N rows
- 85
- Inputs the formula does not read
- Historically complex region, Historically complex region recent, Region area, Sunspot activity, Sunspot evolution, Sunspot group configuration
How to read this
The chart ranks the inputs of the Target 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.
4.1.4 Baselines
The model beats the strongest simple yardstick, always predicting the most common level, by 0.198 in weighted kappa on the 213 held-out rows. Row by row the margin is negligible: the model reads as roughly level with the yardstick. Of the 30 held-out rows where the two differ, the model is closer on 40% (95% interval 25% to 58%).
- Best yardstick's score
- 0 (95% CI 0 – 0)
- Effect size d
- -0.07509 (95% CI -0.2095 – 0.05484)
- Effect size d magnitude
- negligible
- Margin over the best yardstick
- 0.1977 (95% CI 0.07628 – 0.3346)
- Margin's interval stays above zero
- Yes
- Model
- 0.1977 (95% CI 0.07628 – 0.3346)
- Held-out rows
- 213
- Held-out rows without an answer
- 0
- Target
- Target
- Rows where the model is closer
- 40% (95% CI 24.59% – 57.68%)
- Rows compared
- 30
- Rows level
- 183
How to read this
The table scores the model for Target 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 Target 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 Target.
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.
4.1.5 Generalization
The model scores held-out rows about as well as training rows (held-out weighted kappa 0.198 on 213 rows, gap between training and held-out weighted kappa 0.0699): it generalizes. The structure the formula encodes carries from the training rows to the held-out rows.
- Generalization gap
- 0.06989
- Metric
- Quadratic weighted κ
- N test
- 213
- Target
- Target
- Test error
- 0.3918 (95% CI 0.3093 – 0.486)
- Test metric
- 0.1977 (95% CI 0.07628 – 0.3346)
- Train error
- 0.7964
- Train metric
- 0.2676
- Verdict
- Generalizing
How to read this
The chart sets the score of the Target 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.
4.1.6 How each term responds to its inputs
The formula decomposes into 2 additive terms: clean separable structure. Each curve below shows one term's response to its free inputs, with the other inputs held at the training median. Steep curves carry the prediction; flat curves are decorative.
- Additive
- Yes
- Rows the search trained on, measured
- 427
- Terms in the formula
- 2
- Notation
- 0.05 + 0.08 × Sunspot distribution × (Recent flare activity + Sunspot largest spot)
- Target
- Target
How to read this
The formula for Target 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 Target 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.
4.1.7 How the formula behaves outside the data
The model diverges beyond the observed range of sunspot_distribution, recent_flare_activity, sunspot_largest_spot: predictions there are not supported by the formula's shape. Extrapolate with caution.
- Bounded at infinity
- No
- Rows the search trained on, measured
- 427
- Inputs the formula reads
- 3
- N singularities
- 0
- Risky inputs
- sunspot_distribution, recent_flare_activity, sunspot_largest_spot
- Target
- Target
| Input | Kind |
|---|---|
| Sunspot distribution | Diverges |
| Recent flare activity | Diverges |
| Sunspot largest spot | Diverges |
| Input | Kind |
|---|---|
| Sunspot distribution | Diverges |
| Recent flare activity | Diverges |
| Sunspot largest spot | Diverges |
How to read this
The formula for Target 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.
4.1.8 Contributions per term
- Additive
- Yes
- 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 Target. 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.
4.1.9 What each term is worth
Full-formula R² is 0.0973: weak overall quality. Ablation deltas are not very informative when the baseline quality is low; large drops are best-effort hints rather than definitive structural claims.
- Additive
- Yes
- Baseline R²
- 0.09735
- Held-out rows
- 213
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 Target, 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.
4.1.10 What-If
| Item | Value |
|---|---|
| Recent flare activity | 0 |
| Sunspot distribution | 1 |
| Sunspot largest spot | 2 |
| Term 1 adds | 0.05 |
| Term 2 adds | 0.16 |
| Prediction | 0.21 |
- Additive
- Yes
- Expected coverage
- 0.8916
- Held-out rows for the interval
- 213
- Rows inside the interval
- 202
- Terms in the formula
- 2
- Residual P5
- -0.53
- Residual P95
- 1.534
- Residual std
- 0.7964
How to read this
The chapter shows the model's prediction for Target 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.
4.1.11 Sensitivity
The prediction responds to 3 inputs. The formula is additive: each curve below shows the change in the prediction per unit of one input (∂ŷ/∂xᵢ) independently. Flat curves mean a constant linear response, bent curves a non-linear response that depends on the position in the range, and zero crossings a response that reverses sign between regions.
- Additive
- Yes
- Terms in the formula
- 2
How to read this
For each input, the chart traces the rate at which the predicted Target 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.
4.1.12 How two inputs act together
The formula couples recent_flare_activity and sunspot_distribution: on 11 of 11 row pairs the mixed difference was not zero, so in the model's output the two act together (measured, not assumed). For recent_flare_activity and sunspot_largest_spot the mixed difference was zero on all 16 row pairs: in the formula the two act separately. The formula couples sunspot_distribution and sunspot_largest_spot: on 138 of 138 row pairs the mixed difference was not zero, so in the model's output the two act together (measured, not assumed). This describes the formula; it does not say that the data hold no other interaction. The heatmaps below show how the prediction's response to one input depends on another (the others held at the median).
| Inputs | In the model's output | Row pairs | Pairs with a difference | Mean absolute mixed difference |
|---|---|---|---|---|
| Recent flare activity, Sunspot distribution | Act together | 11 | 11 | 0.2255 |
| Recent flare activity, Sunspot largest spot | Act separately | 16 | 0 | 2.342e-17 |
| Sunspot distribution, Sunspot largest spot | Act together | 138 | 138 | 0.2052 |
| Sunspot distribution \ Recent flare activity | 0 | 0 | 1 | 1 | 1 | 2 |
|---|---|---|---|---|---|---|
| 0 | 0.05 | 0.05 | 0.05 | 0.05 | 0.05 | 0.05 |
| 1 | 0.21 | 0.21 | 0.29 | 0.29 | 0.29 | 0.37 |
| 1 | 0.21 | 0.21 | 0.29 | 0.29 | 0.29 | 0.37 |
| 2 | 0.37 | 0.37 | 0.53 | 0.53 | 0.53 | 0.69 |
| 2 | 0.37 | 0.37 | 0.53 | 0.53 | 0.53 | 0.69 |
| 3 | 0.53 | 0.53 | 0.77 | 0.77 | 0.77 | 1.01 |
| Sunspot largest spot \ Recent flare activity | 0 | 0 | 1 | 1 | 1 | 2 |
|---|---|---|---|---|---|---|
| 0 | 0.05 | 0.05 | 0.13 | 0.13 | 0.13 | 0.21 |
| 1 | 0.13 | 0.13 | 0.21 | 0.21 | 0.21 | 0.29 |
| 2 | 0.21 | 0.21 | 0.29 | 0.29 | 0.29 | 0.37 |
| 3 | 0.29 | 0.29 | 0.37 | 0.37 | 0.37 | 0.45 |
| 4 | 0.37 | 0.37 | 0.45 | 0.45 | 0.45 | 0.53 |
| 5 | 0.45 | 0.45 | 0.53 | 0.53 | 0.53 | 0.61 |
| Sunspot largest spot \ Sunspot distribution | 0 | 1 | 1 | 2 | 2 | 3 |
|---|---|---|---|---|---|---|
| 0 | 0.05 | 0.05 | 0.05 | 0.05 | 0.05 | 0.05 |
| 1 | 0.05 | 0.13 | 0.13 | 0.21 | 0.21 | 0.29 |
| 2 | 0.05 | 0.21 | 0.21 | 0.37 | 0.37 | 0.53 |
| 3 | 0.05 | 0.29 | 0.29 | 0.53 | 0.53 | 0.77 |
| 4 | 0.05 | 0.37 | 0.37 | 0.69 | 0.69 | 1.01 |
| 5 | 0.05 | 0.45 | 0.45 | 0.85 | 0.85 | 1.25 |
- Additive
- Yes
- Inputs in different terms act separately
- Yes
- Rows the search trained on, measured
- 427
- Terms in the formula
- 2
- 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 Target 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.
4.1.13 Worst Predictions
The worst held-out row was missed by 5.15 (target's scale). The 10 rows with the largest absolute residuals out of 213 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.
| Actual | Predicted | Residual | Recent flare activity | Sunspot distribution | Sunspot largest spot |
|---|---|---|---|---|---|
| 6.000 | 0.850 | +5.150 | 2 | 2 | 3 |
| 5.000 | 0.210 | +4.790 | 0 | 1 | 2 |
| 4.000 | 0.290 | +3.710 | 0 | 1 | 3 |
| 4.000 | 0.850 | +3.150 | 0 | 2 | 5 |
| 3.000 | 0.210 | +2.790 | 0 | 1 | 2 |
| 3.000 | 0.530 | +2.470 | 0 | 2 | 3 |
| 3.000 | 0.690 | +2.310 | 0 | 2 | 4 |
| 2.000 | 0.050 | +1.950 | 0 | 0 | 2 |
| 2.000 | 0.210 | +1.790 | 0 | 1 | 2 |
| 2.000 | 0.210 | +1.790 | 0 | 2 | 1 |
- Additive
- Yes
- Expected coverage
- 0.8916
- N extrapolated
- 0
- Held-out rows
- 213
- Held-out rows for the interval
- 213
- Rows inside the interval
- 202
- Residual P5
- -0.53
- Residual P95
- 1.534
- Residual std
- 0.7964
How to read this
The held-out rows on which the model misses Target 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.
4.1.14 Level Distribution
Observed against predicted across 7 ordered levels (quadratic-weighted kappa 0.198). Level 2 is the weakest at 0% recall: the model rarely lands on it; the bars show whether it is shifted to an adjacent level.
- Accuracy
- 0.77
- MAE levels
- 0.3286
- N
- 213
- N levels
- 7
- Quadratic weighted kappa
- 0.1977
- Target
- Target
- Worst level
- 2
- Worst recall
- 0
| Level | Observed | Predicted | Recall |
|---|---|---|---|
| 0 | 177 | 183 | 0.8983 |
| 1 | 22 | 30 | 0.2273 |
| 2 | 7 | 0 | 0 |
| 3 | 3 | 0 | 0 |
| 4 | 2 | 0 | 0 |
| 5 | 1 | 0 | 0 |
| 6 | 1 | 0 | 0 |
How to read this
The chart sets the held-out count of Target at each ordered level beside the number of rows the model placed there, with per-level recall and the quadratic-weighted kappa. The model predicts a number, and each prediction is rounded to the nearest level before it is compared with the actual.
A predicted distribution shifted one level from the observed one is the ordinal failure that plain accuracy hides: the model has the ordering roughly right but runs systematically high or low. The quadratic-weighted kappa is the headline figure because it credits near misses (predicting level 4 for an actual 5 costs far less than predicting 1) and corrects for chance: near 1 is strong agreement, 0 is chance, and a negative value is worse than chance. Per-level recall shows whether any level is rarely recovered.
4.1.15 Search Progress
The search ran for 109 generations, ending at quality 0.166 (gain +0.0423 from generation 2). The curve climbs modestly: most of the lift happened early, so the search has largely converged.
- First generation
- 2
- First quality
- 12.41%
- Last generation
- 110
- Last improvement ms
- 1,887,989
- Last quality
- 16.65%
- Max quality
- 16.65%
- N points
- 109
- N total generations
- 109
- Search time ms
- 3,600,680
- Stop reason
- Maximum runtime reached
How to read this
The line traces the best quality the search for the Target 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.
4.1.16 Model Constraints
Across 213 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.
| Name | Status | Detail |
|---|---|---|
| Output coherent | Pass | no non-finite predictions across 213 rows |
| Within domain | Pass | no rows outside the training target's ±2σ range across 213 rows |
| Bounded predictions | Pass | no runaway predictions beyond ±10σ across 213 rows |
- Held-out rows
- 213
- N non finite
- 0
- N outside domain
- 0
- N runaway
- 0
- Verdict
- Clean
How to read this
Sanity checks on the Target 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.
4.1.17 Modeling
Measured during the search, on the rows the model was trained on
- MAE of a straight line through the inputs (same rows)
- 0.4483
- RMSE of a straight line through the inputs (same rows)
- 0.831
- Training MAE (rows the search trained on)
- 0.4045
- MAE of always predicting the mean (same rows)
- 0.5268
- RMSE of always predicting the mean (same rows)
- 0.881
- Training R² (rows the search trained on)
- 0.07735
- Training RMSE (rows the search trained on)
- 0.8462
- Rows the search trained on, measured
- 427
- Error
- 79.64%
- Inputs the straight line used
- 5
- N train
- 853
- Quality
- 16.68%
How to read this
The function below trains the model for Target on the processed data. Its output is the model that every other chapter of this section scores and dissects.
4.2 Findings
2 findings from the model diagnostics (2 Warning) are listed in the Concerns chapter at the top of the analysis.
5 Data
Strong relationships among sunspot variables and their correlation with the model's output stand out, but a large share of exact duplicate rows and a column containing almost only one value are flagged in the Concerns chapter. The data is complete, with no missing values in any of the eleven columns or rows.
Most notable in the Data section:
Sunspot distributionandSunspot group configurationmove oppositely (correlation -0.601)Sunspot group configurationandSunspot largest spotmove together (correlation 0.319)- Sunspot activity accounts for 6.7% of the spread in
Target:yesaverages 0.604 aboveno(95% interval 0.386 to 0.821)
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.
5.1 Column Profiles
Profiled 11 columns across 1,066 rows (6 numeric, 5 non-numeric): every column is at least 75% populated. Distributional statistics on numeric columns can be read at face value. 2 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.
| Name | Role | Type | N | Missing | Mean | Std | Min | P25 | Median | P75 | Max | Skewness | CV |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Target | Target | integer | 1066 | 0 | 0.3002 | 0.8358 | 0 | 0 | 0 | 0 | 8 | 3.953 | 2.784 |
| Historically complex region | Input | bool | 1066 | 0 | |||||||||
| Historically complex region recent | Input | bool | 1066 | 0 | |||||||||
| Largest spot area | Input | bool | 1066 | 0 | |||||||||
| Recent flare activity | Input | integer | 1066 | 0 | 0.0591 | 0.3203 | 0 | 0 | 0 | 0 | 2 | 5.536 | 5.42 |
| Region area | Input | bool | 1066 | 0 | |||||||||
| Sunspot activity | Input | bool | 1066 | 0 | |||||||||
| Sunspot distribution | Input | integer | 1066 | 0 | 0.964 | 0.806 | 0 | 0 | 1 | 1 | 3 | 0.4414 | 0.8363 |
| Sunspot evolution | Input | integer | 1066 | 0 | 1.402 | 0.621 | 0 | 1 | 1 | 2 | 2 | -0.5315 | 0.4428 |
| Sunspot group configuration | Input | integer | 1066 | 0 | 2.938 | 2.257 | 0 | 1 | 2 | 6 | 6 | 0.3349 | 0.7681 |
The first 10 rows of 11. The other 1 is in the notebook.
- N columns
- 11
- N high missing
- 0
- N rows
- 1066
- N strongly skewed
- 2
- Table branch
- main
- Table ID
- 00bf268a-1a50-4e65-b398-0426b2a8a14b
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.
5.2 Historically complex region
Historically complex region: 2 distinct values, most often no.
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.
5.2.1 Description
| Statistic | Value |
|---|---|
| Type | bool |
| Values present | 1066 |
| Distinct values | 2 |
| Continuous | no |
| Mode | false |
| Variable | Value | Rows | Share |
|---|---|---|---|
| Historically complex region | false | 635 | 59.57% |
| Historically complex region | true | 431 | 40.43% |
How to read this
The figures below summarize Historically complex region 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 Historically complex region 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.
5.2.1.1 By Value
| Historically complex region | Rows | Sunspot evolution | Sunspot group configuration | Recent flare activity | Sunspot largest spot | Sunspot distribution | Target |
|---|---|---|---|---|---|---|---|
| false | 635 | 1.483 | 2.819 | 0.01575 | 1.483 | 0.7638 | 0.1843 |
| true | 431 | 1.281 | 3.114 | 0.123 | 2.529 | 1.26 | 0.471 |
How to read this
The rows are grouped by the value of Historically complex region, 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 Historically complex region; 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.
5.2.2 Visualization
The charts in this chapter were chosen from the type of Historically complex region 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.
5.2.2.2 Target by Historically complex region
One box of Target per category of Historically complex region. Boxes at different heights mean the typical value of Target differs between categories; boxes of different sizes mean the spread differs too. Boxes that overlap heavily mark a category that separates little, and a category with few rows draws a box that should not be over-read. Each box spans the middle half of its category, with the median as the line inside it; the whiskers reach the furthest values within 1.5 times the interquartile range of the box, and the points beyond them are the outliers. A category with fewer than four rows has no quartiles: its box collapses onto the median and its whiskers span its range.
5.3 Historically complex region recent
Historically complex region recent: 2 distinct values, most often yes.
5.3.1 Description
| Statistic | Value |
|---|---|
| Type | bool |
| Values present | 1066 |
| Distinct values | 2 |
| Continuous | no |
| Mode | true |
| Variable | Value | Rows | Share |
|---|---|---|---|
| Historically complex region recent | true | 933 | 87.52% |
| Historically complex region recent | false | 133 | 12.48% |
5.3.1.1 By Value
| Historically complex region recent | Rows | Sunspot evolution | Sunspot group configuration | Sunspot largest spot | Target | Recent flare activity | Sunspot distribution |
|---|---|---|---|---|---|---|---|
| false | 133 | 1.353 | 6 | 2.113 | 0.06015 | ||
| true | 933 | 1.408 | 2.502 | 1.877 | 0.3344 | 0.06752 | 1.102 |
5.4 Largest spot area
Largest spot area: 1 distinct value, most often no.
5.4.1 Description
| Statistic | Value |
|---|---|
| Type | bool |
| Values present | 1066 |
| Distinct values | 1 |
| Continuous | no |
| Mode | false |
| Variable | Value | Rows | Share |
|---|---|---|---|
| Largest spot area | false | 1066 | 100% |
5.5 Recent flare activity
Recent flare activity: 0 to 2, median 0, 3 distinct values.
5.5.1 Description
| Statistic | Value |
|---|---|
| Type | integer |
| Values present | 1066 |
| Distinct values | 3 |
| Continuous | no |
| Decimal places | 0 |
| Minimum | 0 |
| Maximum | 2 |
| Mean | 0.0591 |
| Median | 0 |
| Mode | 0 |
The first 10 rows of 17. The other 7 are in the notebook.
| Variable | Value | Rows | Share |
|---|---|---|---|
| Recent flare activity | 0 | 1028 | 96.44% |
| Recent flare activity | 1 | 13 | 1.22% |
| Recent flare activity | 2 | 25 | 2.345% |
5.5.1.1 By Value
| Recent flare activity | Rows | Sunspot evolution | Sunspot group configuration | Sunspot largest spot | Sunspot distribution | Target |
|---|---|---|---|---|---|---|
| 0 | 1028 | 1.404 | 2.948 | 1.857 | 0.9348 | 0.2763 |
| 1 | 13 | 1.308 | 3 | 2.923 | 1.308 | 0.6154 |
| 2 | 25 | 1.36 | 2.48 | 3.4 | 2 | 1.12 |
5.5.1.2 Correlation
| Column | Pair of | Association | Pearson's r | 95% CI (Pearson) | Spearman's ρ | Kendall's τ | q-value | Rows |
|---|---|---|---|---|---|---|---|---|
| Sunspot activity | a number and a category | 0.4004 | < 0.001 | 1066 | ||||
| Region area | a number and a category | 0.2686 | < 0.001 | 1066 | ||||
| Sunspot largest spot | two numbers | 0.2152 | 0.2152 | 0.1572 to 0.2718 | 0.186 | 0.1683 | < 0.001 | 1066 |
| Sunspot distribution | two numbers | 0.2044 | 0.2044 | 0.1462 to 0.2613 | 0.1586 | 0.1484 | < 0.001 | 1066 |
| Historically complex region | a number and a category | 0.1643 | < 0.001 | 1066 | ||||
| Target | two numbers | 0.1581 | 0.1581 | 0.09903 to 0.2161 | 0.1207 | 0.1173 | < 0.001 | 1066 |
| Historically complex region recent | a number and a category | 0.06969 | 0.02941 | 1066 | ||||
| Sunspot group configuration | two numbers | 0.02871 | -0.02871 | -0.0886 to 0.03139 | 0.01142 | 0.01028 | 0.3928 | 1066 |
| Sunspot evolution | two numbers | 0.01937 | -0.01556 | -0.07554 to 0.04452 | -0.01937 | -0.01875 | 0.6118 | 1066 |
How to read this
Each row pairs Recent flare activity 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 Recent flare activity, 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.
| Measure | Meaning |
|---|---|
| Kind | What 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 |
| Association | The 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 Recent flare activity's spread that lies between the categories |
| Covariance | Numeric 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 Coefficient | Numeric 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-value | How likely a pair this strong is among unrelated columns, adjusted for the number of pairs involving Recent flare activity (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 |
| Rows | The rows in which both columns hold a value. The q-value and the interval of a pair rest on this count |
5.5.2 Visualization
The rows of Recent flare activity are not charted in their order: consecutive rows are no more alike than rows picked at random (a correlation of -0.02 between each value and the next), so the order carries no pattern to show.
5.5.2.1 Box Plot
The box spans the middle half of Recent flare activity, from the first to the third quartile, with the median as the line inside it; the whiskers reach the furthest values within 1.5 times the interquartile range of the box, and the points beyond them are the outliers. A median off center in the box, or one whisker much longer than the other, means a skewed distribution. Many points on one side mean a long tail that the mean will follow and the median will not.
5.6 Region area
Region area: 2 distinct values, most often no.
5.6.1 Description
| Statistic | Value |
|---|---|
| Type | bool |
| Values present | 1066 |
| Distinct values | 2 |
| Continuous | no |
| Mode | false |
| Variable | Value | Rows | Share |
|---|---|---|---|
| Region area | false | 1039 | 97.47% |
| Region area | true | 27 | 2.533% |
5.6.1.1 By Value
| Region area | Rows | Sunspot evolution | Sunspot group configuration | Recent flare activity | Sunspot largest spot | Sunspot distribution | Target |
|---|---|---|---|---|---|---|---|
| false | 1039 | 1.395 | 2.927 | 0.04524 | 1.835 | 0.9211 | 0.2801 |
| true | 27 | 1.667 | 3.37 | 0.5926 | 4.63 | 2.63 | 1.074 |
5.7 Sunspot activity
Sunspot activity: 2 distinct values, most often no.
5.7.1 Description
| Statistic | Value |
|---|---|
| Type | bool |
| Values present | 1066 |
| Distinct values | 2 |
| Continuous | no |
| Mode | false |
| Variable | Value | Rows | Share |
|---|---|---|---|
| Sunspot activity | false | 902 | 84.62% |
| Sunspot activity | true | 164 | 15.38% |
5.7.1.1 By Value
Sunspot activity accounts for 6.7% of the spread in Target: yes averages 0.604 above no (95% interval 0.386 to 0.821). An association, not a cause.
| Target | Value | Rows | Average or share | 95% interval |
|---|---|---|---|---|
| Target | true | 164 | 0.811 | 0.5979 to 1.024 |
| Target | false | 902 | 0.2073 | 0.1648 to 0.2499 |
| Sunspot activity | Rows | Sunspot evolution | Sunspot group configuration | Recent flare activity | Sunspot largest spot | Sunspot distribution | Target |
|---|---|---|---|---|---|---|---|
| false | 902 | 1.401 | 2.993 | 0.004435 | 1.741 | 0.8304 | 0.2073 |
| true | 164 | 1.402 | 2.634 | 0.3598 | 2.817 | 1.701 | 0.811 |
5.8 Sunspot distribution
Sunspot distribution: 0 to 3, median 1, 4 distinct values; moves opposite to Sunspot group configuration most (r -0.601).
5.8.1 Description
| Statistic | Value |
|---|---|
| Type | integer |
| Values present | 1066 |
| Distinct values | 4 |
| Continuous | no |
| Decimal places | 0 |
| Minimum | 0 |
| Maximum | 3 |
| Mean | 0.9644 |
| Median | 1 |
| Mode | 1 |
The first 10 rows of 17. The other 7 are in the notebook.
| Variable | Value | Rows | Share |
|---|---|---|---|
| Sunspot distribution | 0 | 331 | 31.05% |
| Sunspot distribution | 1 | 477 | 44.75% |
| Sunspot distribution | 2 | 223 | 20.92% |
| Sunspot distribution | 3 | 35 | 3.283% |
5.8.1.1 By Value
Sunspot distribution accounts for 10% of the spread in Target: 3 averages 1.03 above 0 (95% interval 0.476 to 1.57). An association, not a cause.
| Target | Value | Rows | Average or share | 95% interval |
|---|---|---|---|---|
| Target | 3 | 35 | 1.086 | 0.537 to 1.634 |
| Target | 2 | 223 | 0.6951 | 0.5353 to 0.8548 |
| Target | 1 | 477 | 0.2243 | 0.1616 to 0.287 |
| Target | 0 | 331 | 0.06042 | 0.03201 to 0.08884 |
| Sunspot distribution | Rows | Sunspot evolution | Sunspot group configuration | Sunspot largest spot | Target | Recent flare activity |
|---|---|---|---|---|---|---|
| 0 | 331 | 1.224 | 6 | 1.964 | 0.06042 | |
| 1 | 477 | 1.447 | 1.136 | 1.396 | 0.2243 | 0.04822 |
| 2 | 223 | 1.543 | 2.233 | 2.583 | 0.6951 | 0.07623 |
| 3 | 35 | 1.571 | 3.029 | 4 | 1.086 | 0.5714 |
5.8.1.2 Correlation
| Column | Pair of | Association | Pearson's r | 95% CI (Pearson) | Spearman's ρ | Kendall's τ | q-value | Rows |
|---|---|---|---|---|---|---|---|---|
| Sunspot group configuration | two numbers | 0.6007 | -0.6007 | -0.6378 to -0.5609 | -0.5526 | -0.4048 | < 0.001 | 1066 |
| Historically complex region recent | a number and a category | 0.4517 | < 0.001 | 1066 | ||||
| Sunspot activity | a number and a category | 0.3898 | < 0.001 | 1066 | ||||
| Region area | a number and a category | 0.333 | < 0.001 | 1066 | ||||
| Target | two numbers | 0.3154 | 0.3098 | 0.2545 to 0.3631 | 0.3154 | 0.29 | < 0.001 | 1066 |
| Historically complex region | a number and a category | 0.302 | < 0.001 | 1066 | ||||
| Sunspot largest spot | two numbers | 0.2708 | 0.2708 | 0.2142 to 0.3255 | 0.1951 | 0.1496 | < 0.001 | 1066 |
| Recent flare activity | two numbers | 0.2044 | 0.2044 | 0.1462 to 0.2613 | 0.1586 | 0.1484 | < 0.001 | 1066 |
| Sunspot evolution | two numbers | 0.1989 | 0.1919 | 0.1333 to 0.249 | 0.1989 | 0.1806 | < 0.001 | 1066 |
5.8.2 Visualization
The rows of Sunspot distribution 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.
5.9 Sunspot evolution
Sunspot evolution: 0 to 2, median 1, skewed to high values, 3 distinct values.
5.9.1 Description
| Statistic | Value |
|---|---|
| Type | integer |
| Values present | 1066 |
| Distinct values | 3 |
| Continuous | no |
| Decimal places | 0 |
| Minimum | 0 |
| Maximum | 2 |
| Mean | 1.402 |
| Median | 1 |
| Mode | 2 |
The first 10 rows of 17. The other 7 are in the notebook.
| Variable | Value | Rows | Share |
|---|---|---|---|
| Sunspot evolution | 0 | 77 | 7.223% |
| Sunspot evolution | 1 | 484 | 45.4% |
| Sunspot evolution | 2 | 505 | 47.37% |
5.9.1.1 By Value
| Sunspot evolution | Rows | Sunspot group configuration | Recent flare activity | Sunspot largest spot | Sunspot distribution | Target |
|---|---|---|---|---|---|---|
| 0 | 77 | 3.312 | 0.06494 | 1.455 | 0.6494 | 0.1429 |
| 1 | 484 | 3.376 | 0.06405 | 2.008 | 0.8533 | 0.2851 |
| 2 | 505 | 2.461 | 0.05347 | 1.877 | 1.119 | 0.3386 |
5.9.1.2 Correlation
| Column | Pair of | Association | Pearson's r | 95% CI (Pearson) | Spearman's ρ | Kendall's τ | q-value | Rows |
|---|---|---|---|---|---|---|---|---|
| Sunspot distribution | two numbers | 0.1989 | 0.1919 | 0.1333 to 0.249 | 0.1989 | 0.1806 | < 0.001 | 1066 |
| Sunspot group configuration | two numbers | 0.1807 | -0.1807 | -0.2381 to -0.122 | -0.1688 | -0.1486 | < 0.001 | 1066 |
| Historically complex region | a number and a category | 0.1604 | < 0.001 | 1066 | ||||
| Target | two numbers | 0.06911 | 0.05706 | -0.002993 to 0.1167 | 0.06911 | 0.06562 | 0.1126 | 1066 |
| Region area | a number and a category | 0.06891 | 0.05501 | 1066 | ||||
| Historically complex region recent | a number and a category | 0.02929 | 0.5091 | 1066 | ||||
| Sunspot largest spot | two numbers | 0.02547 | 0.02547 | -0.03463 to 0.08538 | -0.005464 | -0.003767 | 0.5223 | 1066 |
| Recent flare activity | two numbers | 0.01937 | -0.01556 | -0.07554 to 0.04452 | -0.01937 | -0.01875 | 0.6883 | 1066 |
| Sunspot activity | a number and a category | 0.000645 | 0.9832 | 1066 |
5.9.2 Visualization
The rows of Sunspot evolution 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.
5.10 Sunspot group configuration
Sunspot group configuration: 0 to 6, median 2, skewed to high values, 6 distinct values; moves opposite to Sunspot distribution most (r -0.601).
5.10.1 Description
| Statistic | Value |
|---|---|
| Type | integer |
| Values present | 1066 |
| Distinct values | 6 |
| Continuous | no |
| Decimal places | 0 |
| Minimum | 0 |
| Maximum | 6 |
| Mean | 2.938 |
| Median | 2 |
| Mode | 6 |
The first 10 rows of 17. The other 7 are in the notebook.
| Variable | Value | Rows | Share |
|---|---|---|---|
| Sunspot group configuration | 0 | 147 | 13.79% |
| Sunspot group configuration | 1 | 211 | 19.79% |
| Sunspot group configuration | 2 | 239 | 22.42% |
| Sunspot group configuration | 3 | 95 | 8.912% |
| Sunspot group configuration | 4 | 43 | 4.034% |
| Sunspot group configuration | 6 | 331 | 31.05% |
5.10.1.1 By Value
Sunspot group configuration accounts for 15% of the spread in Target: 3 averages 1.09 above 6 (95% interval 0.724 to 1.45). An association, not a cause.
| Target | Value | Rows | Average or share | 95% interval |
|---|---|---|---|---|
| Target | 3 | 95 | 1.147 | 0.7859 to 1.509 |
| Target | 4 | 43 | 0.9302 | 0.56 to 1.3 |
| Target | 2 | 239 | 0.4184 | 0.3152 to 0.5216 |
| Target | 1 | 211 | 0.1896 | 0.1066 to 0.2725 |
| Target | 0 | 147 | 0.07483 | 0.02775 to 0.1219 |
| Target | 6 | 331 | 0.06042 | 0.03201 to 0.08884 |
| Sunspot group configuration | Rows | Sunspot evolution | Sunspot largest spot | Target | Recent flare activity | Sunspot distribution |
|---|---|---|---|---|---|---|
| 0 | 147 | 1.456 | 0.02721 | 0.07483 | 1.102 | |
| 1 | 211 | 1.441 | 1.716 | 0.1896 | 0.04739 | 1.1 |
| 2 | 239 | 1.594 | 2.385 | 0.4184 | 0.08787 | 1.536 |
| 3 | 95 | 1.432 | 3.147 | 1.147 | 0.2421 | 1.874 |
| 4 | 43 | 1.256 | 3.419 | 0.9302 | 0.1395 | 2.07 |
| 6 | 331 | 1.224 | 1.964 | 0.06042 |
5.10.1.2 Correlation
| Column | Pair of | Association | Pearson's r | 95% CI (Pearson) | Spearman's ρ | Kendall's τ | q-value | Rows |
|---|---|---|---|---|---|---|---|---|
| Sunspot distribution | two numbers | 0.6007 | -0.6007 | -0.6378 to -0.5609 | -0.5526 | -0.4048 | < 0.001 | 1066 |
| Historically complex region recent | a number and a category | 0.5125 | < 0.001 | 1066 | ||||
| Sunspot largest spot | two numbers | 0.4306 | 0.3186 | 0.2636 to 0.3715 | 0.4306 | 0.3496 | < 0.001 | 1066 |
| Sunspot evolution | two numbers | 0.1807 | -0.1807 | -0.2381 to -0.122 | -0.1688 | -0.1486 | < 0.001 | 1066 |
| Historically complex region | a number and a category | 0.06414 | 0.06531 | 1066 | ||||
| Sunspot activity | a number and a category | 0.05746 | 0.09114 | 1066 | ||||
| Target | two numbers | 0.04639 | -0.04639 | -0.1061 to 0.01369 | -7.600e-05 | 0.001469 | 0.1673 | 1066 |
| Region area | a number and a category | 0.03089 | 0.3491 | 1066 | ||||
| Recent flare activity | two numbers | 0.02871 | -0.02871 | -0.0886 to 0.03139 | 0.01142 | 0.01028 | 0.3491 | 1066 |
5.10.2 Visualization
The rows of Sunspot group configuration 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.
5.11 Sunspot largest spot
Sunspot largest spot: 0 to 5, median 2, 6 distinct values; moves with Sunspot group configuration most (r 0.319).
5.11.1 Description
| Statistic | Value |
|---|---|
| Type | integer |
| Values present | 1066 |
| Distinct values | 6 |
| Continuous | no |
| Decimal places | 0 |
| Minimum | 0 |
| Maximum | 5 |
| Mean | 1.906 |
| Median | 2 |
| Mode | 2 |
The first 10 rows of 17. The other 7 are in the notebook.
| Variable | Value | Rows | Share |
|---|---|---|---|
| Sunspot largest spot | 0 | 145 | 13.6% |
| Sunspot largest spot | 1 | 218 | 20.45% |
| Sunspot largest spot | 2 | 414 | 38.84% |
| Sunspot largest spot | 3 | 216 | 20.26% |
| Sunspot largest spot | 4 | 27 | 2.533% |
| Sunspot largest spot | 5 | 46 | 4.315% |
5.11.1.1 By Value
Sunspot largest spot accounts for 9.8% of the spread in Target: 5 averages 1.19 above 0 (95% interval 0.747 to 1.62). An association, not a cause.
| Target | Value | Rows | Average or share | 95% interval |
|---|---|---|---|---|
| Target | 5 | 46 | 1.261 | 0.8252 to 1.697 |
| Target | 3 | 216 | 0.5833 | 0.4237 to 0.7429 |
| Target | 4 | 27 | 0.2963 | 0.03173 to 0.5609 |
| Target | 2 | 414 | 0.2053 | 0.1409 to 0.2697 |
| Target | 1 | 218 | 0.1468 | 0.077 to 0.2166 |
| Target | 0 | 145 | 0.07586 | 0.02815 to 0.1236 |
| Sunspot largest spot | Rows | Sunspot evolution | Sunspot group configuration | Recent flare activity | Sunspot distribution | Target |
|---|---|---|---|---|---|---|
| 0 | 145 | 1.455 | 1.103 | 0.07586 | ||
| 1 | 218 | 1.431 | 2.734 | 0.8716 | 0.1468 | |
| 2 | 414 | 1.316 | 4.063 | 0.04348 | 0.5531 | 0.2053 |
| 3 | 216 | 1.435 | 2.898 | 0.1111 | 1.458 | 0.5833 |
| 4 | 27 | 1.63 | 3.37 | 0.9259 | 0.2963 | |
| 5 | 46 | 1.565 | 2.978 | 0.413 | 2.37 | 1.261 |
5.11.1.2 Correlation
| Column | Pair of | Association | Pearson's r | 95% CI (Pearson) | Spearman's ρ | Kendall's τ | q-value | Rows |
|---|---|---|---|---|---|---|---|---|
| Sunspot group configuration | two numbers | 0.4306 | 0.3186 | 0.2636 to 0.3715 | 0.4306 | 0.3496 | < 0.001 | 1066 |
| Historically complex region | a number and a category | 0.4288 | < 0.001 | 1066 | ||||
| Region area | a number and a category | 0.3669 | < 0.001 | 1066 | ||||
| Sunspot activity | a number and a category | 0.3246 | < 0.001 | 1066 | ||||
| Target | two numbers | 0.274 | 0.274 | 0.2176 to 0.3287 | 0.2576 | 0.2284 | < 0.001 | 1066 |
| Sunspot distribution | two numbers | 0.2708 | 0.2708 | 0.2142 to 0.3255 | 0.1951 | 0.1496 | < 0.001 | 1066 |
| Recent flare activity | two numbers | 0.2152 | 0.2152 | 0.1572 to 0.2718 | 0.186 | 0.1683 | < 0.001 | 1066 |
| Historically complex region recent | a number and a category | 0.06518 | 0.03752 | 1066 | ||||
| Sunspot evolution | two numbers | 0.02547 | 0.02547 | -0.03463 to 0.08538 | -0.005464 | -0.003767 | 0.4062 | 1066 |
5.11.2 Visualization
The rows of Sunspot largest spot are not charted in their order: consecutive rows are no more alike than rows picked at random (a correlation of -0.05 between each value and the next), so the order carries no pattern to show.
5.12 Target
Target: 0 to 8, median 0, skewed to high values, 8 distinct values; moves with Sunspot distribution most (r 0.31).
5.12.1 Description
| Statistic | Value |
|---|---|
| Type | integer |
| Values present | 1066 |
| Distinct values | 8 |
| Continuous | no |
| Decimal places | 0 |
| Minimum | 0 |
| Maximum | 8 |
| Mean | 0.3002 |
| Median | 0 |
| Mode | 0 |
The first 10 rows of 17. The other 7 are in the notebook.
| Variable | Value | Rows | Share |
|---|---|---|---|
| Target | 0 | 884 | 82.93% |
| Target | 1 | 112 | 10.51% |
| Target | 2 | 33 | 3.096% |
| Target | 3 | 20 | 1.876% |
| Target | 4 | 9 | 0.8443% |
| Target | 5 | 4 | 0.3752% |
| Target | 6 | 3 | 0.2814% |
| Target | 8 | 1 | 0.09381% |
5.12.1.1 By Value
| Target | Rows | Sunspot evolution | Sunspot group configuration | Recent flare activity | Sunspot largest spot | Sunspot distribution |
|---|---|---|---|---|---|---|
| 0 | 884 | 1.38 | 3.006 | 0.04186 | 1.76 | 0.8495 |
| 1 | 112 | 1.491 | 2.598 | 0.1071 | 2.339 | 1.348 |
| 2 | 33 | 1.636 | 2.606 | 0.2121 | 2.97 | 1.758 |
| 3 | 20 | 1.45 | 2.4 | 3 | 1.75 | |
| 4 | 9 | 1.222 | 3.111 | 3.889 | 2 | |
| 5 | 4 | 1.5 | 2.5 | 0.5 | 2 | 1.75 |
| 6 | 3 | 2 | 3 | 1.333 | 3.333 | 2 |
| 8 | 1 | 3 | 3 | 2 |
5.12.1.2 Correlation
| Column | Pair of | Association | Pearson's r | 95% CI (Pearson) | Spearman's ρ | Kendall's τ | q-value | Rows |
|---|---|---|---|---|---|---|---|---|
| Sunspot distribution | two numbers | 0.3154 | 0.3098 | 0.2545 to 0.3631 | 0.3154 | 0.29 | < 0.001 | 1066 |
| Sunspot largest spot | two numbers | 0.274 | 0.274 | 0.2176 to 0.3287 | 0.2576 | 0.2284 | < 0.001 | 1066 |
| Sunspot activity | a number and a category | 0.2607 | < 0.001 | 1066 | ||||
| Historically complex region | a number and a category | 0.1685 | < 0.001 | 1066 | ||||
| Recent flare activity | two numbers | 0.1581 | 0.1581 | 0.09903 to 0.2161 | 0.1207 | 0.1173 | < 0.001 | 1066 |
| Region area | a number and a category | 0.1493 | < 0.001 | 1066 | ||||
| Historically complex region recent | a number and a category | 0.1085 | < 0.001 | 1066 | ||||
| Sunspot evolution | two numbers | 0.06911 | 0.05706 | -0.002993 to 0.1167 | 0.06911 | 0.06562 | 0.07037 | 1066 |
| Sunspot group configuration | two numbers | 0.04639 | -0.04639 | -0.1061 to 0.01369 | -7.600e-05 | 0.001469 | 0.1301 | 1066 |
5.12.2 Visualization
The rows of Target 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.
5.13 Duplicate Rows
Across 1,066 rows the table has 851 exact-duplicate rows (80% of the table; biggest duplicate group 67 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
- 67
- N exact duplicates
- 851
- N exact groups
- 135
- N rows
- 1066
- N unique
- 350
- Pct exact duplicates
- 79.83
- 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.
5.14 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.
5.15 General
Clustering found no clear groups. The best grouping of the 1,066 complete rows over 5 numeric columns is into 6 groups, with a silhouette of 0.42 (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.
| Groups | Silhouette | Inertia | Kept |
|---|---|---|---|
| 2 | 0.374 | 3701.5 | |
| 3 | 0.4178 | 2672.9 | |
| 4 | 0.4117 | 2614.7 | |
| 5 | 0.4159 | 1863.4 | |
| 6 | 0.4201 | 1806.2 | yes |
- Inertia
- 1806.2
- K
- 6
- N columns used
- 5
- N rows
- 1066
- N rows complete
- 1066
- Silhouette
- 0.4201
- 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.
5.15.1 Description
| Variable | Type | Values present | Distinct values | Continuous | Decimal places |
|---|---|---|---|---|---|
| Sunspot activity | bool | 1066 | 2 | no | |
| Sunspot evolution | integer | 1066 | 3 | no | 0 |
| Historically complex region recent | bool | 1066 | 2 | no | |
| Sunspot group configuration | integer | 1066 | 6 | no | 0 |
| Recent flare activity | integer | 1066 | 3 | no | 0 |
| Largest spot area | bool | 1066 | 1 | no | |
| Historically complex region | bool | 1066 | 2 | no | |
| Sunspot largest spot | integer | 1066 | 6 | no | 0 |
| Sunspot distribution | integer | 1066 | 4 | no | 0 |
| Region area | bool | 1066 | 2 | no |
The first 10 rows of 11. The other 1 is in the notebook.
| Variable | Mean | Median | Mode |
|---|---|---|---|
| Sunspot activity | false | ||
| Sunspot evolution | 1.402 | 1 | 2 |
| Historically complex region recent | true | ||
| Sunspot group configuration | 2.938 | 2 | 6 |
| Recent flare activity | 0.0591 | 0 | 0 |
| Largest spot area | false | ||
| Historically complex region | false | ||
| Sunspot largest spot | 1.906 | 2 | 2 |
| Sunspot distribution | 0.9644 | 1 | 1 |
| Region area | false |
The first 10 rows of 11. The other 1 is in the notebook.
| Variable | Minimum | Maximum | Standard deviation | Variance | Interquartile range | Sum |
|---|---|---|---|---|---|---|
| Sunspot activity | ||||||
| Sunspot evolution | 0 | 2 | 0.6206 | 0.3851 | 1 | 1494 |
| Historically complex region recent | ||||||
| Sunspot group configuration | 0 | 6 | 2.257 | 5.093 | 5 | 3132 |
| Recent flare activity | 0 | 2 | 0.3203 | 0.1026 | 0 | 63 |
| Largest spot area | ||||||
| Historically complex region | ||||||
| Sunspot largest spot | 0 | 5 | 1.197 | 1.433 | 2 | 2032 |
| Sunspot distribution | 0 | 3 | 0.8065 | 0.6504 | 1 | 1028 |
| Region area |
The first 10 rows of 11. The other 1 is in the notebook.
| Variable | Skewness | Kurtosis | Total sum of squares |
|---|---|---|---|
| Sunspot activity | |||
| Sunspot evolution | -0.5315 | -0.6246 | 410.2 |
| Historically complex region recent | |||
| Sunspot group configuration | 0.3349 | -1.433 | 5423.9 |
| Recent flare activity | 5.536 | 29.73 | 109.3 |
| Largest spot area | |||
| Historically complex region | |||
| Sunspot largest spot | 0.3982 | 0.2562 | 1526.6 |
| Sunspot distribution | 0.4414 | -0.455 | 692.6 |
| Region area |
The first 10 rows of 11. The other 1 is in the notebook.
| Variable | Value | Rows | Share |
|---|---|---|---|
| Sunspot activity | false | 902 | 84.62% |
| Sunspot activity | true | 164 | 15.38% |
| Sunspot evolution | 0 | 77 | 7.223% |
| Sunspot evolution | 1 | 484 | 45.4% |
| Sunspot evolution | 2 | 505 | 47.37% |
| Historically complex region recent | true | 933 | 87.52% |
| Historically complex region recent | false | 133 | 12.48% |
| Sunspot group configuration | 0 | 147 | 13.79% |
| Sunspot group configuration | 1 | 211 | 19.79% |
| Sunspot group configuration | 2 | 239 | 22.42% |
The first 10 rows of 39. The other 29 are in the notebook.
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.
| Statistic | Explanation |
|---|---|
| Variable | Name of the column the statistics in the row describe |
| Type | Type assigned during data processing (bool, integer, number, decimal, text or date) |
| Values present | Number of rows in which the column holds a value |
| Distinct values | Number of different values the column holds |
| Continuous | Whether the column can take any value in a range, as opposed to a discrete column limited to a fixed set of values |
| Decimal places | Length of the fractional part of the values |
| Mean | Arithmetic average: the sum of all values divided by the number of values |
| Median | The middle value: half of the values lie at or below it and half at or above it. It is also the 50% percentile |
| Mode | The value that appears most often |
| Minimum | Smallest numeric value in the column |
The first 10 rows of 20. The other 10 are in the notebook.
5.15.1.1 Missing Values
No column has a missing value: all 1,066 rows are complete.
- N columns with missing
- 0
- N complete rows
- 1066
- N rows
- 1066
- 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.
5.15.1.2 Outliers
1 of 4 numeric columns has values beyond the Tukey fences (1.5 times the interquartile range outside the quartiles). sunspot_distribution has the largest share: 3.3% of its values. Whether such values are rare but real rows or recording errors decides whether they are kept. 2 columns were not assessed: too few values, or a middle half that sits on a single value.
| Column | Values | Lower fence | Upper fence | Below | Above | Share |
|---|---|---|---|---|---|---|
| Recent flare activity | 1066 | |||||
| Sunspot distribution | 1066 | none below | 2.500 | 0 | 35 | 3.28% |
| Sunspot evolution | 1066 | none below | none above | 0 | 0 | 0% |
| Sunspot group configuration | 1066 | none below | none above | 0 | 0 | 0% |
| Sunspot largest spot | 1066 | none below | none above | 0 | 0 | 0% |
| Target | 1066 |
- N columns
- 6
- N columns assessed
- 4
- N columns with outliers
- 1
- Worst column
- sunspot_distribution
- Worst pct
- 3.28
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.
5.15.1.3 Correlation
45 column pairs analyzed across 1,066 rows (15 of two numbers, 24 of a number and a category, 6 of two categories); 35 (78%) 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
- 1066
- N significant
- 35
| Association | 95% CI | Column | Eta squared | Groups | Kendall | Kind | N | Other column | Pearson | Q value | Spearman |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.6007 | -0.6378, -0.5609 | Sunspot distribution | -0.4048 | numeric | 1066 | Sunspot group configuration | -0.6007 | < 0.001 | -0.5526 | ||
| 0.5125 | Historically complex region recent | 0.2627 | 2 | numeric_categorical | 1066 | Sunspot group configuration | < 0.001 | ||||
| 0.4517 | Historically complex region recent | 0.204 | 2 | numeric_categorical | 1066 | Sunspot distribution | < 0.001 | ||||
| 0.4306 | 0.2636, 0.3715 | Sunspot group configuration | 0.3496 | numeric | 1066 | Sunspot largest spot | 0.3186 | < 0.001 | 0.4306 | ||
| 0.4288 | Historically complex region | 0.1838 | 2 | numeric_categorical | 1066 | Sunspot largest spot | < 0.001 | ||||
| 0.4004 | Recent flare activity | 0.1603 | 2 | numeric_categorical | 1066 | Sunspot activity | < 0.001 | ||||
| 0.3898 | Sunspot activity | 0.1519 | 2 | numeric_categorical | 1066 | Sunspot distribution | < 0.001 | ||||
| 0.3669 | Region area | 0.1346 | 2 | numeric_categorical | 1066 | Sunspot largest spot | < 0.001 | ||||
| 0.333 | Region area | 0.1109 | 2 | numeric_categorical | 1066 | Sunspot distribution | < 0.001 | ||||
| 0.3246 | Sunspot activity | 0.1053 | 2 | numeric_categorical | 1066 | Sunspot largest spot | < 0.001 |
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.
| Measure | Explanation |
|---|---|
| Kind | What the two columns hold: two numbers (numeric), a number and a category (numeric_categorical), or two categories (categorical) |
| Association | Strength 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 |
| Covariance | Two 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 Coefficient | Two 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 V | Two 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-value | How 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.
5.15.1.3.1 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.
5.15.1.3.3 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.
5.16 Findings
2 findings from the data profile (1 Critical, 1 Info) are listed in the Concerns chapter at the top of the analysis.
6 Implications
Most findings point to the model's limited accuracy for specific sunspot conditions and variation in unexplained error across groups. The overall verdict on deployment readiness is pending, and the analysis captures one modeled target out of one possible, covering nearly all input combinations.
Most notable in the Implications section:
- The model is far less accurate on rows with
Sunspot activity=yes(worse than always predicting the average of those rows) - The model is far less accurate on rows with
Sunspot group configurationin the third quarter (2 to 4) (worse than always predicting the average of those rows) - The model is far less accurate on rows with
Sunspot largest spotin the highest quarter (3 to 5) (6.2 points less variance explained than overall)
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.
6.1 Stakeholder Summary
The model ranks the levels of Target, with its output tracking sunspot distribution most strongly. It classifies 77% of cases correctly and reaches a quality of 16%, meaning it captures part of the ranking pattern. Compared with always predicting the most common level, the model comes out ahead by 20 points of weighted kappa on average, which is too little to show row by row, so the two are about level. Moving sunspot distribution from 0 to 1.00 raises the model's output by about 0.156 on average, with everything else as observed.
The model did not outperform the strongest baseline enough for a row-by-row difference to show. That limits its value at the individual case level. The model is far less accurate for sunspot activity = yes, historically complex region = yes, sunspot largest spot in the highest quarter, and sunspot group configuration in the third quarter, and less accurate for sunspot distribution in the highest quarter. The next step is to obtain more varied data, address the duplication issue, and validate the model again.
6.2 Recommended Next Data
- Collect more rows where Sunspot activity = yes, Sunspot group configuration in the third quarter (2 to 4), Sunspot largest spot in the highest quarter (3 to 5), and Historically complex region = yes. Reason: the model is far less accurate on these segments, predicting worse than always guessing the most common level for Sunspot activity = yes and Sunspot group configuration in the third quarter (2 to 4), and explaining just 3.6% and 3.9% of the variation for Sunspot largest spot in the highest quarter (3 to 5) and Historically complex region = yes, respectively.
- Collect more rows where Sunspot distribution is in the highest quarter (1 to 3). Reason: the model is less accurate on these 151 rows, explaining only 7% of the variation there.
- Record the group each row belongs to for the columns Historically complex region, Historically complex region recent, Region area, and Sunspot activity in further detail or with additional balance. Reason: the model shows a prediction parity gap for Historically complex region, Historically complex region recent, and Region area, and a parity and bias flag for Sunspot activity.
- Add rows representing the less common levels of Target. Reason: 4 levels of Target have too few held-out rows, limiting the model's accuracy and coverage on these classes.
- Inspect and address the 80% exact duplicate rows in the data. Reason: a critical concern was measured, indicating the held-out split is likely contaminated.
6.3 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.
6.3.1 Target by Input Range
Segment sunspot_activity = yes is much weaker than the aggregate (34 held-out rows): segment R² -0.0409 against aggregate R² 0.0973 (gap -0.138). 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.
| Segment | Rows | R² | Gap to all rows | Verdict |
|---|---|---|---|---|
| Sunspot activity = true | 34 | -0.04091 | -0.13826 | Much weaker than on all rows |
| Sunspot group configuration = q3 | 74 | -0.02126 | -0.11861 | Much weaker than on all rows |
| Sunspot largest spot = q4 | 58 | 0.03570 | -0.06165 | Much weaker than on all rows |
| Historically complex region = true | 84 | 0.03890 | -0.05845 | Much weaker than on all rows |
| Sunspot distribution = q4 | 151 | 0.07007 | -0.02728 | Weaker than on all rows |
| Sunspot evolution = q4 | 99 | 0.13366 | +0.03631 | In line with all rows |
| Historically complex region recent = true | 186 | 0.08490 | -0.01245 | In line with all rows |
| Recent flare activity = q4 | 213 | 0.09735 | +0.00000 | In line with all rows |
| Largest spot area = false | 213 | 0.09735 | +0.00000 | In line with all rows |
| Region area = false | 208 | 0.10554 | +0.00819 | In line with all rows |
The first 10 rows of 23. The other 13 are in the notebook.
- Aggregate MAE
- 0.3918
- Aggregate R²
- 0.09735
- Measure
- r2
- Target
- Target
6.4 Rows unlike the ones the model learned from
10 of 213 held-out rows (4.7%) lie further from the training rows than 99 in 100 rows like them would, measured on the 3 inputs the model reads (recent_flare_activity, sunspot_distribution, sunspot_largest_spot). That is a small minority; the held-out figures describe the model on rows like the ones it was trained on.
| Target | Inputs measured | Line | Held-out rows | Beyond the line | Share |
|---|---|---|---|---|---|
| Target | Recent flare activity, Sunspot distribution, Sunspot largest spot | 3.368 | 213 | 10 | 4.69% |
| Count | From | To |
|---|---|---|
| 29 | 0 | 0.217 |
| 0 | 0.217 | 0.434 |
| 0 | 0.434 | 0.652 |
| 23 | 0.652 | 0.869 |
| 13 | 0.869 | 1.086 |
| 55 | 1.086 | 1.303 |
| 20 | 1.303 | 1.52 |
| 54 | 1.52 | 1.738 |
| 0 | 1.738 | 1.955 |
| 4 | 1.955 | 2.172 |
The first 10 rows of 24. The other 14 are in the notebook.
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.
6.5 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.
6.5.1 Target Fairness
Column Sunspot activity splits the held-out rows into 2 groups. The prediction-parity ratio is 0.405 (smallest over largest mean prediction), the largest absolute group residual mean is 0.397 (0.499 times the overall residual standard deviation). Parity gap and residual bias: the model both predicts systematically lower for some groups and errs systematically against at least one group. This is the worst-case fairness signal on this column; review before deployment.
- Aggregate residual std
- 0.7964
- N columns
- 4
- N proxies
- 1
- Proxy threshold
- 0.5
| Bias max abs residual mean | Column | Groups | Interpretation | N groups | N proxies | Prediction parity ratio | Verdict |
|---|---|---|---|---|---|---|---|
| 0.2162 | Historically complex region | true, false | Column Historically complex region splits the held-out rows into 2 groups. The prediction-parity ratio is 0.375 (smallest over largest mean prediction), the largest absolute group residual mean is 0.216 (0.271 times the overall residual standard deviation). Parity gap: at least one group receives systematically smaller predictions on average. Whether that is a property of the target itself or a model bias against the group needs checking. | 2 | 0.375 | Prediction parity gap | |
| 0.1016 | Historically complex region recent | true, false | Column Historically complex region recent splits the held-out rows into 2 groups. The prediction-parity ratio is 0.211 (smallest over largest mean prediction), the largest absolute group residual mean is 0.102 (0.128 times the overall residual standard deviation). Parity gap: at least one group receives systematically smaller predictions on average. Whether that is a property of the target itself or a model bias against the group needs checking. sunspot_group_configuration goes closely with historically_complex_region_recent (association 0.512 on a scale from 0 to 1): a model that reads sunspot_group_configuration can tell the groups of historically_complex_region_recent apart, so leaving historically_complex_region_recent out of the inputs does not keep it out of the predictions. | 2 | 1 | 0.2109 | Prediction parity gap |
| 0.13 | Region area | false, true | Column Region area splits the held-out rows into 2 groups. The prediction-parity ratio is 0.211 (smallest over largest mean prediction), the largest absolute group residual mean is 0.13 (0.163 times the overall residual standard deviation). Parity gap: at least one group receives systematically smaller predictions on average. Whether that is a property of the target itself or a model bias against the group needs checking. | 2 | 0.2109 | Prediction parity gap | |
| 0.3971 | Sunspot activity | true, false | Column Sunspot activity splits the held-out rows into 2 groups. The prediction-parity ratio is 0.405 (smallest over largest mean prediction), the largest absolute group residual mean is 0.397 (0.499 times the overall residual standard deviation). Parity gap and residual bias: the model both predicts systematically lower for some groups and errs systematically against at least one group. This is the worst-case fairness signal on this column; review before deployment. | 2 | 0.4054 | Parity and bias |
6.6 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.
| Name | Summary |
|---|---|
| Controlled experiment | Randomize the input to be acted on, then analyze again. Randomization breaks confounding, so any change in the target is attributable to the input. |
| Natural experiment | Find a setting where the input varied for reasons unrelated to the target, an instrumental variable. Variation of that kind supports causal inference. |
| Causal graph | Write out what plausibly causes what, then check whether the model's terms are consistent with the conditional independences the graph implies. |
| Control for confounders | If 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. |
6.7 Deployment Readiness
The analysis ran with the configuration below. The checks and the verdict of this chapter are read against it.
- Targets: 1 target:
target - Rows: 1,066 rows
- Per-Segment Predictions: not produced, because no segment column was chosen
- Fairness: compared across 5 categorical columns (
historically_complex_region,historically_complex_region_recent,largest_spot_area,region_area,sunspot_activity); 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 5 checks (4 pass, 1 warns, 0 fail, 1 critical concern), every check passes or warns, but a critical concern is open: Not ready to use yet. The Concerns chapter names what is open; it needs addressing before the predictions are used.
| Name | Status | Detail |
|---|---|---|
| Generalization | Pass | quality on the held-out rows matches quality on the rows the model was found on |
| Baseline Lift for Target | Pass | beats the best yardstick by 0.198 in weighted kappa |
| Model Constraints | Pass | every held-out prediction is finite and within the training range |
| Fairness | Warn | 4 columns compared, 4 flagged: Historically complex region (a group receives systematically smaller predictions), Historically complex region recent (a group receives systematically smaller predictions), Region area (a group receives systematically smaller predictions), Sunspot activity (a group both receives smaller predictions and is systematically mis-predicted) |
| Out-of-Distribution | Pass | 4.7% of held-out rows are out of distribution |
- N critical concerns
- 1
- N fail
- 0
- N pass
- 4
- N warn
- 1
- Overall verdict
- Not ready
6.8 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.
| Item | Value |
|---|---|
| Analysis ID | edcd3620-48b7-11f1-8087-d378640fe787 |
| Run time | 2026-10-29 00:57 UTC |
| Total rows | 1,066 |
| Modeled targets | Target |
| Segment column | not available |
| Time limit | 1 h 0 min |
| Time taken | 1 h 2 min |
| Credit budget | 500 credits |
| Ufinq version | 0.3.49 |