Skip to content

Commit 1dfe5bc

Browse files
committed
Add: Skip error for kernal_pca
Seems kernel_pca emits the error: * `"zero-size array to reduction operation maximum which has no identity"` This is gotten on the line `max_eig = lambdas.max()` which makes me assume it emits a matrix with no real eigen values, not something we can really control for
1 parent d60206b commit 1dfe5bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/test_pipeline/test_regression.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,9 @@ def _test_configurations(self, configurations_space, make_sparse=False,
214214
elif 'The condensed distance matrix must contain only finite ' \
215215
'values.' in e.args[0]:
216216
continue
217+
elif "zero-size array to reduction operation maximum which has no " \
218+
"identity" in e.args[0]:
219+
continue
217220
else:
218221
e.args += (f"config={config}",)
219222
raise e

0 commit comments

Comments
 (0)