We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa41e59 commit 0a44218Copy full SHA for 0a44218
1 file changed
openml/flows/sklearn_converter.py
@@ -527,6 +527,7 @@ def flatten_all(list_):
527
and all([isinstance(rval_i, type(rval[0])) for rval_i in rval])
528
)
529
530
+ # Check that all list elements are of simple types.
531
nested_list_of_simple_types = (
532
is_non_empty_list_of_lists_with_same_type
533
and all([isinstance(el, SIMPLE_TYPES) for el in flatten_all(rval)])
0 commit comments