会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
啤酒与炸鸡
博客园
首页
新随笔
联系
订阅
管理
2017年11月21日
pip使用豆瓣源安装第三方库
摘要: 格式pip install package -i --trusted -host http://pypi.douban.com/simple
阅读全文
posted @ 2017-11-21 11:32 啤酒与炸鸡
阅读(260)
评论(0)
推荐(0)
2015年11月25日
Anaconda2-spyder中Ipython console显示connecting to kernel
摘要: 卸载spyer重新安装,conda install spyder,点击Reset Spyder Settings
阅读全文
posted @ 2015-11-25 10:23 啤酒与炸鸡
阅读(2045)
评论(0)
推荐(0)
2015年11月24日
python中os.open,报错:No such file or directory:
摘要: with open('./matmul.py') as f: try: while True: line=next(f) print(line) except StopIteration: ...
阅读全文
posted @ 2015-11-24 19:42 啤酒与炸鸡
阅读(9360)
评论(0)
推荐(0)
2015年3月8日
导入sklearn模块出错
摘要: import sklearn报错:Traceback (most recent call last): File "", line 1, in import sklearn File "D:\Python27\lib\site-packages\scikit_learn-0.15.2-py...
阅读全文
posted @ 2015-03-08 01:57 啤酒与炸鸡
阅读(8329)
评论(0)
推荐(0)
[转载]一张图说明如何从sklearn工具箱中正确选择算法
摘要:
阅读全文
posted @ 2015-03-08 00:40 啤酒与炸鸡
阅读(271)
评论(0)
推荐(0)
2015年3月7日
ImportError: DLL load failed: %1 不是有效的 Win32 应用程序。
摘要: from matplotlib import pyplot as pltfrom sklearn.datasets import load_irisimport numpy as npdata=load_iris()feature_names=data['featrue_names']target=...
阅读全文
posted @ 2015-03-07 22:19 啤酒与炸鸡
阅读(1435)
评论(0)
推荐(0)
NameError: global name 'sp' is not defined
摘要: 定义了一个函数error,单独保存在了error.py中,def error(f,x,y): return sp.sum((f(x)-y)**2)第一次使用时报错:TypeError: 'module' object is not callable思考之后发现,error作为一个模块,和它内部...
阅读全文
posted @ 2015-03-07 12:06 啤酒与炸鸡
阅读(964)
评论(0)
推荐(0)
使用scipy.genfromtxt()报错
摘要: 错误代码:Traceback (most recent call last): File "D:/Python27/1400OS_01_Codes/code/sp_genfromtxt.py", line 3, in data=sp.genfromtxt("web_traffic.tsv"...
阅读全文
posted @ 2015-03-07 10:47 啤酒与炸鸡
阅读(1058)
评论(0)
推荐(0)
公告