Skip to content

fix: support DeepLC's multi-head calibration API when available - #279

Merged
RalfG merged 1 commit into
mainfrom
fix/deeplc-multihead-compat
Sep 7, 2026
Merged

RalfG merged 1 commit into
mainfrom
fix/deeplc-multihead-compat

Conversation

@RalfG

@RalfG RalfG commented Sep 7, 2026

Copy link
Copy Markdown
Member

Feature-detect at import time: DeepLC >= 4.3 will expose MultiHeadRidgeCalibration , which combines several best-correlating heads and takes the full prediction matrix directly. Older DeepLC falls back to the existing private _best_correlating_head + SplineTransformerCalibration path, unchanged.

Keeps this feature generator working across the DeepLC calibration API split (upcoming release) without pinning a floor, and adopts the better multi-head combination automatically once it's available.

Feature-detect at import time: DeepLC >= 4.3 exposes
MultiHeadRidgeCalibration, which combines several best-correlating
heads and takes the full prediction matrix directly. Older DeepLC
falls back to the existing private _best_correlating_head +
SplineTransformerCalibration path, unchanged.

Keeps this feature generator working across the DeepLC calibration
API split (upcoming release) without pinning a floor, and adopts the
better multi-head combination automatically once it's available.
@RalfG RalfG added this to the v4.0.2 milestone Sep 7, 2026
@RalfG
RalfG merged commit bb23c10 into main Sep 7, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant