반응형
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
- 머신러닝
- vscode
- paragraph
- broscoding
- discrete_scatter
- 데이터전문기관
- inorder
- Keras
- html
- CES 2O21 참여
- web 개발
- bccard
- cudnn
- mglearn
- web 사진
- 웹 용어
- 대이터
- postorder
- web
- 재귀함수
- CES 2O21 참가
- 자료구조
- web 용어
- tensorflow
- classification
- java역사
- pycharm
- KNeighborsClassifier
- 결합전문기관
- C언어
Archives
- Today
- Total
목록classification (1)
bro's coding
sklearn.mglearn 사용
import mglearn model=KNeighborsClassifier(n_neighbors=1) # n_neighbors=1 model.fit(X_train,y_train) plt.figure(figsize=[10,8]) # 그래프 사이즈 mglearn.plots.plot_2d_classification(model,X_train,fill=True,eps=0.5,alpha=0.4) # 바탕색과 관련 mglearn.discrete_scatter(X_train[:,0],X_train[:,1],y_train) # train data에 대한 산점도 #mglearn.discrete_scatter(X_test[:,0],X_test[:,1],y_test) # test data에 대한 산점도 plt.figure(f..
[AI]/python.sklearn
2020. 4. 9. 11:26