Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion tests/transformers/test_sklearn_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
* **Near-conformant** transformers run the *full* ``check_estimator`` suite. Only
a small, documented set of checks is allowed to fail (``expected_failed_checks``);
any *other* failing check is a real regression and fails the test. This is the
enforced contract for the migrated spline / PLE / feature-map families.
enforced contract for the migrated spline / PLE / feature-map families. The
Fourier feature map and the kernel approximations (random Fourier features,
Nystroem) have no sentinel defaults and pass every check, so they are listed
without tolerated failures.

* **Deferred** transformers have deep structural gaps (univariate-only,
sample-count-changing, or categorical-only) and are tracked as strict
Expand All @@ -24,15 +27,18 @@
BSplineTransformer,
ContinuousOrdinalTransformer,
CubicRegressionSplineTransformer,
FourierFeatureTransformer,
ISplineTransformer,
MSplineTransformer,
NaturalCubicSplineTransformer,
NoTransformer,
NumericBinningTransformer,
NystroemFeaturesTransformer,
OneHotFromOrdinalTransformer,
PeriodicEncodingTransformer,
PLETransformer,
PSplineTransformer,
RandomFourierFeaturesTransformer,
RBFExpansionTransformer,
ReLUExpansionTransformer,
SigmoidExpansionTransformer,
Expand Down Expand Up @@ -98,6 +104,10 @@
"check_parameters_default_constructible": SENTINEL,
},
),
# Fully conformant: no tolerated failures.
(FourierFeatureTransformer(), {}),
(RandomFourierFeaturesTransformer(), {}),
(NystroemFeaturesTransformer(), {}),
]


Expand Down