Skip to content

CIP-0001 Phase 1: NumPy MLP encoder (replace Theano) - #37

Merged
lawrennd merged 1 commit into
mainfrom
cip0001-numpy-encoder
Nov 13, 2026
Merged

lawrennd merged 1 commit into
mainfrom
cip0001-numpy-encoder

Conversation

@lawrennd

Copy link
Copy Markdown
Member

Summary

  • Replace Theano-backed MLP encoder with a pure NumPy implementation so default DeepGP(back_constraint=True) works on current Python/NumPy.
  • Enable BC reference tests in CI; add encoder unit tests; emit FutureWarning when unused regularisation kwargs are set.
  • Include MPI typemap fix (np.int → np.int64) as a small correctness patch ahead of Phase 2.

Test plan

  • Full suite: 42 passed with coverage ~74% (omit-list unchanged for encoder)
  • CI green on the PR
  • Spot-check: DeepGP(...) with default back_constraint=True constructs and optimises without Theano

Restore default back-constrained DeepGP on current Python, enable BC
reference tests in CI, and warn when unused encoder regularisation is set.
@lawrennd
lawrennd merged commit 07a8acf into main Nov 13, 2026
3 checks passed
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