When I import the function check_array from module sklearn.utils.validation, it got an Import Error (ImportError: cannot import name check_ar
check_array
sklearn.utils.validation
ImportError: cannot import name check_ar
If you use jupyter notebook, try restarting your kernel.