• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sm00thix / ikpls / 28934299777
94%

Build:
DEFAULT BRANCH: main
Ran 08 Jul 2026 10:02AM UTC
Jobs 20
Files 13
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Jul 2026 10:02AM UTC coverage: 94.432% (+0.1%) from 94.323%
28934299777

push

github

web-flow
sklearn PLS.fit_transform returns (X-scores, Y-scores); parameter constraints & type hints (6.1.0) (#49)

* IKPLS 6.1.0: sklearn PLS.fit_transform returns (X-scores, Y-scores)

ikpls.sklearn.PLS previously inherited TransformerMixin.fit_transform, which
returns only the X-scores of transform(X). Override it to fit (through fit, so a
subclass overriding fit still runs) and return transform(X, y) -- the
(x_scores, y_scores) tuple, matching sklearn.cross_decomposition.PLSRegression
and ikpls.numpy.PLS.fit_transform. This is a behavior change for callers that
relied on the previous X-scores-only return.

It also introduces two expected failures in scikit-learn's check_estimator suite
(check_transformer_general, check_transformer_data_not_an_array): those compare
fit_transform(X, y) against transform(X), and scikit-learn only special-cases the
tuple return for a hard-coded set of class names (CROSS_DECOMPOSITION), of which
"PLS" is not one. scikit-learn's own PLSRegression has identical tuple behavior
and passes only by virtue of its name, so these are not real conformance
defects; the conformance test marks them expected-fail.

Bumps the version to 6.1.0.

* Add type hints and _parameter_constraints to ikpls.sklearn.PLS

Annotate the public method signatures of the scikit-learn wrapper (fit,
fit_transform, transform, inverse_transform, predict, predict_all_components,
score, y_rotations_, __sklearn_tags__), matching the NumPy backend's
numpy.typing conventions. The constructor parameters are deliberately left
unannotated: the sklearn contract stores them verbatim and validates at fit, and
annotating them would make the typeguard-instrumented test suite reject
non-conforming values at construction instead of yielding the clean fit-time
error.

Replace the ad-hoc _validate_n_components with scikit-learn's
_parameter_constraints / _validate_params: n_components is Interval(Integral, 1,
None), algorithm is Options({1, 2}), the centering/scaling flags are bool... (continued)

1238 of 1311 relevant lines covered (94.43%)

11.83 hits per line

Coverage Regressions

Lines Coverage ∆ File
14
91.27
-0.14% numpy.py
11
93.68
0.0% _impl/jax_base.py
2
98.0
-0.06% fast_cross_validation/numpy.py
2
94.06
0.31% _impl/jax_alg_1.py
2
94.19
0.36% _impl/jax_alg_2.py
1
98.97
0.07% sklearn.py
Jobs
ID Job ID Ran Files Coverage
1 windows-latest-python-3.12-numpy-only - 28934299777.1 08 Jul 2026 10:03AM UTC 13
24.71
GitHub Action Run
2 ubuntu-latest-python-3.11-numpy-only - 28934299777.2 08 Jul 2026 10:02AM UTC 13
24.71
GitHub Action Run
3 ubuntu-latest-python-3.12-jax - 28934299777.3 08 Jul 2026 10:42AM UTC 13
93.52
GitHub Action Run
4 ubuntu-latest-python-3.12-numpy-only - 28934299777.4 08 Jul 2026 10:02AM UTC 13
24.71
GitHub Action Run
5 ubuntu-latest-python-3.13-numpy-only - 28934299777.5 08 Jul 2026 10:02AM UTC 13
24.94
GitHub Action Run
6 windows-latest-python-3.14-jax - 28934299777.6 08 Jul 2026 10:35AM UTC 13
93.52
GitHub Action Run
7 windows-latest-python-3.11-numpy-only - 28934299777.7 08 Jul 2026 10:03AM UTC 13
24.71
GitHub Action Run
8 windows-latest-python-3.12-jax - 28934299777.8 08 Jul 2026 10:50AM UTC 13
93.52
GitHub Action Run
9 windows-latest-python-3.11-jax - 28934299777.9 08 Jul 2026 10:56AM UTC 13
93.52
GitHub Action Run
10 ubuntu-latest-python-3.11-jax - 28934299777.10 08 Jul 2026 10:39AM UTC 13
93.52
GitHub Action Run
11 ubuntu-latest-python-3.14-numpy-only - 28934299777.11 08 Jul 2026 10:03AM UTC 13
24.94
GitHub Action Run
12 windows-latest-python-3.10-numpy-only - 28934299777.12 08 Jul 2026 10:03AM UTC 13
24.71
GitHub Action Run
13 windows-latest-python-3.14-numpy-only - 28934299777.13 08 Jul 2026 10:03AM UTC 13
24.94
GitHub Action Run
14 windows-latest-python-3.13-numpy-only - 28934299777.14 08 Jul 2026 10:03AM UTC 13
24.94
GitHub Action Run
15 windows-latest-python-3.10-jax - 28934299777.15 08 Jul 2026 01:30PM UTC 13
93.52
GitHub Action Run
16 windows-latest-python-3.13-jax - 28934299777.16 08 Jul 2026 10:51AM UTC 13
93.52
GitHub Action Run
17 ubuntu-latest-python-3.10-numpy-only - 28934299777.17 08 Jul 2026 10:02AM UTC 13
24.71
GitHub Action Run
18 ubuntu-latest-python-3.13-jax - 28934299777.18 08 Jul 2026 10:39AM UTC 13
93.52
GitHub Action Run
19 ubuntu-latest-python-3.14-jax - 28934299777.19 08 Jul 2026 10:26AM UTC 13
93.52
GitHub Action Run
20 ubuntu-latest-python-3.10-jax - 28934299777.20 08 Jul 2026 11:25AM UTC 13
93.52
GitHub Action Run
Source Files on build 28934299777
  • Tree
  • List 13
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28934299777
  • b5c052d9 on github
  • Prev Build on main (#28820311672)
  • Next Build on main (#29293361446)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc