반응형
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
- tensorflow
- classification
- 데이터전문기관
- 결합전문기관
- web 사진
- web 개발
- C언어
- broscoding
- 대이터
- 재귀함수
- CES 2O21 참가
- vscode
- 머신러닝
- discrete_scatter
- CES 2O21 참여
- web 용어
- postorder
- 자료구조
- inorder
- 웹 용어
- pycharm
- KNeighborsClassifier
- paragraph
- java역사
- bccard
- Keras
- html
- cudnn
- web
- mglearn
Archives
- Today
- Total
bro's coding
machine learning.데이터 간의 거리(기준 [0]) 본문
반응형
(((data-data[0])**2).sum(axis=1))**0.5
array([0. , 0.53851648, 0.50990195, 0.64807407, 0.14142136,
0.6164414 , 0.51961524, 0.17320508, 0.92195445, 0.46904158,
0.37416574, 0.37416574, 0.59160798, 0.99498744, 0.88317609,
1.1045361 , 0.54772256, 0.1 , 0.74161985, 0.33166248,
0.43588989, 0.3 , 0.64807407, 0.46904158, 0.59160798,
0.54772256, 0.31622777, 0.14142136, 0.14142136, 0.53851648,
0.53851648, 0.38729833, 0.6244998 , 0.80622577, 0.46904158,
0.37416574, 0.41231056, 0.46904158, 0.8660254 , 0.14142136,
0.17320508, 1.34907376, 0.76811457, 0.45825757, 0.6164414 ,
0.59160798, 0.36055513, 0.58309519, 0.3 , 0.2236068 ,
4.00374824, 3.61662826, 4.16413256, 3.09354166, 3.79209705,
3.41613817, 3.78549865, 2.34520788, 3.74966665, 2.88790582,
2.70370117, 3.22800248, 3.14642654, 3.7 , 2.58069758,
3.62767143, 3.43511281, 3.00998339, 3.76828874, 2.88270706,
3.85356977, 3.0757113 , 4.04722127, 3.65786823, 3.41613817,
3.59722115, 4.04722127, 4.24499706, 3.53128872, 2.49399278,
2.81780056, 2.70185122, 2.89482297, 4.13521463, 3.41174442,
3.51994318, 3.91152144, 3.6180105 , 3. , 3.02158899,
3.31209903, 3.59583092, 3.00998339, 2.38746728, 3.15277655,
3.07408523, 3.12569992, 3.34514574, 2.0904545 , 3.05777697,
5.2848841 , 4.20832508, 5.30188646, 4.69041576, 5.05667875,
6.09507998, 3.591657 , 5.63648827, 5.04777179, 5.63914887,
4.35660418, 4.51995575, 4.85386444, 4.19046537, 4.41701257,
4.6260134 , 4.64542786, 6.2401923 , 6.49846136, 4.14125585,
5.12152321, 4.02864742, 6.21128006, 4.10974452, 4.96990946,
5.31224999, 3.97743636, 4.00749298, 4.84045452, 5.09705797,
5.54616985, 6.01414998, 4.88057374, 4.16052881, 4.57055795,
5.78878226, 4.89182992, 4.60651712, 3.89615195, 4.79687398,
5.01996016, 4.63680925, 4.20832508, 5.25737577, 5.13614642,
4.65403051, 4.27668096, 4.45982062, 4.65080638, 4.14004831])
반응형
'[IT] > python' 카테고리의 다른 글
konlpy.tag.Twitter, Okt.basic (0) | 2020.04.29 |
---|---|
KonlPy(코앤엘파이 한국어 형태소 분석기).install (0) | 2020.04.29 |
python.str.replace (0) | 2020.04.27 |
python.str.encode/decode (0) | 2020.04.27 |
machine learning.개발 순서 (0) | 2020.04.07 |
모듈 구분 (0) | 2020.03.26 |
convert [pandas's data] to [numpy's data] (0) | 2020.03.26 |
열 계산 (0) | 2020.03.25 |
Comments