![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
weixin_42093207
这个作者很懒,什么都没留下…
展开
-
解决Unresolved reference 'datasets' less... (Ctrl+F1)
问题:Unresolved reference ‘datasets’ less… (Ctrl+F1)Inspection info: This inspection detects names that should resolve but don’t. Due to dynamic dispatch and duck typing, this is possible in a limited ...原创 2019-10-15 10:39:58 · 3072 阅读 · 0 评论 -
《Python机器学习实战》笔记一 常用距离度量方法
一、欧氏距离(Euclidean distance)指m维中两点之间的真实距离,缺点:对某些量纲不同的变量(如“身高”和“体重”)赋予同等重要程度,没有进行标准化处理。计算公式 点P1(x11,x12,…,x1n)与P2(x21,x22,…,x2n)之间的欧式距离为:用Jupyter Notebook编写代码:import numpy as npx = np.array([1,1])...转载 2019-04-12 20:42:43 · 418 阅读 · 0 评论