ImportError: cannot import name check_array from sklearn.utils.validation

后端 未结 2 1420
悲&欢浪女
悲&欢浪女 2021-01-17 11:01

When I import the function check_array from module sklearn.utils.validation, it got an Import Error (ImportError: cannot import name check_ar

2条回答
  •  被撕碎了的回忆
    2021-01-17 11:25

    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.

提交回复
热议问题