Skip to content

Commit e305ce2

Browse files
authored
Update knn.ipynb
1 parent 4bc7530 commit e305ce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charpter6_knn/knn.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
" te = np.square(X).sum(axis=1)\n",
7171
" # 训练样本矩阵平方\n",
7272
" tr = np.square(X_train).sum(axis=1)\n",
73-
" # 计算欧式距离\n",
73+
" # 计算欧氏距离\n",
7474
" dists = np.sqrt(-2 * M + tr + np.matrix(te).T) \n",
7575
" return dists"
7676
]

0 commit comments

Comments
 (0)