반응형
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언어
- KNeighborsClassifier
- 웹 용어
- 재귀함수
- broscoding
- bccard
- web
- web 사진
- discrete_scatter
- 머신러닝
- 자료구조
- Keras
- classification
- web 개발
- postorder
- CES 2O21 참여
- 결합전문기관
- 데이터전문기관
- inorder
- web 용어
- CES 2O21 참가
- tensorflow
- mglearn
- vscode
- cudnn
- pycharm
- html
- java역사
- 대이터
- paragraph
Archives
- Today
- Total
bro's coding
numpy.where.3단 논법 본문
반응형
y=mnist.target.copy()
y=np.where(y==9,1,0)
'''
if(y==9):
y=1
else:
y=0
'''
반응형
'[IT] > python.numpy' 카테고리의 다른 글
np.moveaxis (0) | 2020.05.13 |
---|---|
numpy.score (0) | 2020.05.12 |
numpy.corrcoef (0) | 2020.04.27 |
numpy.브로드캐스팅 (0) | 2020.03.30 |
numpy.무한대 처리 (0) | 2020.03.30 |
numpy.스칼라 연산 (0) | 2020.03.30 |
numpy.file open (0) | 2020.03.27 |
numpy.reshape(차원 변경) (0) | 2020.03.26 |
Comments