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.
To those searching, as @eickenberg mentioned in the comments, this was something that was changed between versions. Using the latest version of scikit-learn resolved the issue.
scikit-learn