(array)
| 658 | |
| 659 | |
| 660 | def _ensure_no_complex_data(array): |
| 661 | if ( |
| 662 | hasattr(array, "dtype") |
| 663 | and array.dtype is not None |
| 664 | and hasattr(array.dtype, "kind") |
| 665 | and array.dtype.kind == "c" |
| 666 | ): |
| 667 | raise ValueError("Complex data not supported\n{}\n".format(array)) |
| 668 | |
| 669 | |
| 670 | def _check_estimator_name(estimator): |
no test coverage detected
searching dependent graphs…