반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- C언어
- classification
- web
- web 사진
- cudnn
- 웹 용어
- 머신러닝
- html
- Keras
- CES 2O21 참가
- 재귀함수
- paragraph
- 자료구조
- postorder
- bccard
- java역사
- web 용어
- KNeighborsClassifier
- broscoding
- mglearn
- tensorflow
- 대이터
- pycharm
- web 개발
- vscode
- 결합전문기관
- CES 2O21 참여
- discrete_scatter
- inorder
- 데이터전문기관
Archives
- Today
- Total
bro's coding
sklearn.neighbors.KNeighborsClassifier.mnist 본문
반응형
from sklearn.neighbors import KNeighborsClassifier
knn=KNeighborsClassifier(5)
knn.fit(mnist.data,mnist.target)
knn.score(mnist.data,mnist.target)
# 0.9905397885364496
반응형
'[AI] > python.sklearn' 카테고리의 다른 글
sklearn.model_selection.cross_val_score.StratifiedKFold (0) | 2020.04.24 |
---|---|
sklearn.model_selection.cross_val_score.KFold (0) | 2020.04.24 |
sklearn.model_selection.cross_val_score (0) | 2020.04.24 |
sklearn.manifold. TSNE (0) | 2020.04.23 |
sklearn.PCA(2)를 이용한 digit data visualization (0) | 2020.04.23 |
sklearn.datasets.load_digits (0) | 2020.04.23 |
sklearn.decomposition.PCA.picture.recover (0) | 2020.04.22 |
sklearn.datasets.fetch_lfw_people (0) | 2020.04.22 |
Comments