python
hefei_cyp
互联网爱好者!
展开
-
【数字的可视化:python画图之散点图sactter函数详解】
最近开始学习python编程,遇到scatter函数,感觉里面的参数不知道什么意思于是查资料,最后总结如下:1、scatter函数原型2、其中散点的形状参数marker如下:3、其中颜色参数c如下:4、基本的使用方法如下:原创 2015-11-04 23:09:12 · 187987 阅读 · 13 评论 -
【IndexError: index 1 is out of bounds for axis 0 with size 1】
python程序遇到下面的问题:IndexError: index 1 is out of bounds for axis 0 with size 1解决办法:(不要像matlab省去一维数组前面的0)原创 2015-09-07 20:12:08 · 167097 阅读 · 5 评论 -
【SyntaxError: invalid syntax】
SyntaxError: invalid syntax原创 2015-09-29 15:03:31 · 5589 阅读 · 0 评论 -
python画完图后运行闪退解决办法
最近学习python,用matplotlib库画图,运行程序后,就会闪退。解决办法: python2.*后面加上:raw_input() python3.*后面加上:input()我的python是python3.2,最后需加input,如下:650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/72/64/wKioL1Xi原创 2015-09-08 12:38:06 · 25090 阅读 · 8 评论 -
【window10下notepad++编程软件配置python编程环境详细图文教程】
安装好notepad++后,想用它编辑python代码,于是搜索相关资料,配置python编程环境,其过程入下:原创 2015-11-05 18:46:48 · 2308 阅读 · 0 评论 -
【机器学习实战三:Logistic回归之点的二分类和预测病马的死亡率】
一、部分说明----------------------------------------------------------------1、本文代码是《机器学习实战》这本书的例程。点击下载《机器学习实战》及原书中的源代码;2、运行环境为:window10+python3.2+各种python机器学习库。 安装可参考:点击打开链接3、本文注重代码的原创 2015-11-14 23:36:51 · 1734 阅读 · 0 评论 -
【ubuntu14.04+cuda7.5+caffe的简单的安装方法总结】
caffe安装过程的问题1、cudaGetDeviceCount returned 38-> no CUDA-capable device is detected2、cudaGetDeviceCount returned 303、Cannot create Cublas handle.Cublas won't be available.4、Cannot Curand generator.Curand won't be availa.ble.5、CUDA driver version is insu原创 2016-03-06 16:19:36 · 10028 阅读 · 1 评论