반응형
Notice
Recent Posts
Recent Comments
Link
관리 메뉴

bro's coding

sklearn.neighbors.KNeighborsClassifier.mnist 본문

[AI]/python.sklearn

sklearn.neighbors.KNeighborsClassifier.mnist

givemebro 2020. 4. 23. 12:18
반응형
from sklearn.neighbors import KNeighborsClassifier
knn=KNeighborsClassifier(5)
knn.fit(mnist.data,mnist.target)
knn.score(mnist.data,mnist.target)
# 0.9905397885364496
반응형
Comments