导入KneighborsClassifier一直报错
from sklearn import datasets
from sklearn.neighbors import KneighborsClassifier
import numpy as np
Traceback (most recent call last):
File "D:\学习\Python\pythonProject2\练习.py", line 2, in <module>
from sklearn.neighbors import KneighborsClassifier
ImportError: cannot import name 'KneighborsClassifier' from 'sklearn.neighbors'