You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, is anyone working on this issue? I have checked test_multiclass.py, which contains tests for:
test_type_of_target
test_is_multilabel
test_unique_labels_non_specific
test_check_classification_targets
The warnings are raised in multiclass.py by np.asarray, on lines 141 and 253, due to the fact that the input parameter y is a ragged nested sequence, e.g. y = [np.array([]), np.array([1, 2, 3])]. One way to solve this would be to provide a data type to that function y = np.asarray(y, dtype=object) in those specific cases, since it's the default behavior now.
See #5685.
Currently the test suite is producing a bunch of numpy
VisibleDeprecationWarning
.Here a checklist
The command to reproduce them locally is (<name_of_the_test> is the name in the checklist)
Some warnings are thrown from docstring tests:
The command to reproduce them locally is (<name_of_the_function> is the name of the function in the checklist)
The text was updated successfully, but these errors were encountered: