Skip to content

gam: add mgcv Gaussian-process smooth parity - #31

Merged
Ananyapam7 merged 1 commit into
mainfrom
feature/mgcv-wave2-gaussian-process
Aug 24, 2026
Merged

gam: add mgcv Gaussian-process smooth parity#31
Ananyapam7 merged 1 commit into
mainfrom
feature/mgcv-wave2-gaussian-process

Conversation

@Ananyapam7

Copy link
Copy Markdown
Collaborator

Summary

  • port mgcv 1.9-4 gpT, gpE, GP construction, prediction, covariance families, defaults, knot handling, and selection semantics
  • integrate bs=gp across formula and array APIs, linked ids, numeric/factor by variables, tensor marginals, fs/sz bases, fixed smoothing parameters, point constraints, and persistence
  • add 25 vendored static reference fixtures, 14 raw-constructor cases, and 14 integrated combination cases

Validation

  • 28 GP parity tests passed
  • 142 spec/constructor/point-constraint/linked owner tests passed
  • 41 adjacent Duchon/array/structured tests passed
  • ruff and git diff --check passed
  • full GAM documentation notebook executed successfully

Explicit boundaries

  • omitted k above three covariates raises a clear error because the upstream literal default is undefined there; explicit k remains supported
  • fewer knot locations than penalized coefficients raises a clear guard
  • GP derivatives and t2 remain unsupported
  • multivariate nonstationary fs raw state is compared by invariant subspace because its repeated null eigenspace has LAPACK-dependent orientation

@Ananyapam7
Ananyapam7 merged commit 6a120d5 into main Aug 24, 2026
6 of 8 checks passed
@Ananyapam7
Ananyapam7 deleted the feature/mgcv-wave2-gaussian-process branch August 24, 2026 23:17
Ananyapam7 added a commit that referenced this pull request Aug 25, 2026
Co-authored-by: Ananyapam De <ananyapam7@tu-clausthal.de>
Ananyapam7 added a commit that referenced this pull request Aug 25, 2026
Co-authored-by: Ananyapam De <ananyapam7@tu-clausthal.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant