Python
PC_CS
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
anaconda 长时间不用无法连接
问题:解决方法:conda list查看ipython kernal 和 ipython的版本号,如果版本号过低则进行更新pip install --upgrade ipykernelpip install --upgrade ipython如果还未解决pip install --user --ignore-installed jupyter我的问题已解决...原创 2021-10-31 15:16:50 · 275 阅读 · 0 评论 -
求取点云数组中的最近点
import numpy as npfrom sklearn.neighbors import NearestNeighborssamples = [[0, 0, 2], [1, 0, 0], [0, 0, 1]]detect = [[0, 0, 1.3], [1.1, 0, 0]]neigh = NearestNeighbors(n_neighbors=1)neigh.fit(samples)#NearestNeighbors(…)a,d = neigh.kneighbors(detect原创 2020-08-30 21:21:36 · 902 阅读 · 0 评论
分享