- 博客(2)
- 问答 (1)
- 收藏
- 关注
原创 ERROR: Cannot uninstall ‘xxx‘. It is a distutils installed project and thus we cannot accurately
今天用安装python包时,报了一个ERROR: Cannot uninstall ‘xxx’. It is a distutils installed project and thus we cannot accurately错误.解决办法:原来是在jupyter的命令行里! pip install xxx ,改为在anaconda prompt里面运行pip install xxx 成功...
2021-12-09 15:50:28 945
原创 2021-06-01
一个由元组构成的列表,根据元组的第二个元素给列表排序Pythonarr=[0,1,1,1,2,3,6,7,8,9]k = 9x = 4dis = []for i in arr: dis.append((i, abs(x - i)))dis = sorted(dis, key=lambda x: x[1], reverse=False)
2021-06-01 19:08:11 70
空空如也
两个分类器如果ROC曲线一样意味着什么?
2021-06-13
TA创建的收藏夹 TA关注的收藏夹
TA关注的人