Commit e014162
committed
Fix and complete the canonical vignette ports
Repair the failures in the full R vignette port suite:
- 01_overview: replace the thin delegate shim with a full nine-section
instructional port of NNSvignette_01_Overview.Rmd, including figures for
the partial-moment decomposition, mode estimation, copula surfaces,
nonlinear regression, ARMA forecasting, and Monte Carlo replicates.
- 04_normalization: pass a list instead of a generator to np.column_stack,
which numpy rejects at runtime.
- 05_sampling: replace the assertion-style smoke script with a full
section-by-section port of NNSvignette_05_Sampling.Rmd with CDF,
inverse-CDF, Monte Carlo, and dependence-transfer figures.
- 06_comparing_distributions: replace the smoke script with a full port of
NNSvignette_06_Comparing_Distributions.Rmd, reconstructing the R ANOVA
plot side effects from the returned statistics and adding superiority,
dominance, and SD-cluster figures.
- 07_clustering_and_regression: restore the file body that was committed
truncated after its module docstring, porting every R section including
partition orders, X-only partitioning, multivariate regression over the
full grid, dimension reduction, stacking, smoothing, and imputation.
- 08_classification and _vignette_support: stop rounding non-numeric arrays
in the compact result renderer, and display rhs.partitions now that the
multivariate result exposes it (correcting the stale gap note).
- PARITY.md: update the 07/08 ledger entries to match the ports.
- Lint compliance for ruff check across the examples tree, with a scoped
E402 ignore for the sys.path bootstrap in instructional scripts, and
ignore the generated figure output directory.
All nine canonical scripts pass tests/docs/test_vignette_examples.py in
fast mode and run clean in full mode; ruff and mypy pass.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014q6V4fJ7zz6KLAgu3ddhDp1 parent 6fe73da commit e014162
13 files changed
Lines changed: 1596 additions & 99 deletions
File tree
- examples
- vignettes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | | - | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| 72 | + | |
71 | 73 | | |
72 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
73 | 79 | | |
74 | 80 | | |
75 | | - | |
76 | | - | |
| 81 | + | |
| 82 | + | |
77 | 83 | | |
78 | 84 | | |
79 | 85 | | |
| |||
86 | 92 | | |
87 | 93 | | |
88 | 94 | | |
89 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
90 | 99 | | |
91 | 100 | | |
92 | 101 | | |
93 | 102 | | |
94 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
95 | 106 | | |
96 | 107 | | |
97 | 108 | | |
| |||
0 commit comments