1,yum -y install python-pip;pip(Python packet index);2,pip install/update softlayer;3,sl --help;
分类:
其他好文 时间:
2014-09-03 13:02:56
阅读次数:
193
冒泡排序,顾名思义,按照一定的规则,把数据一直排下去直接上代码 1 import random 2 3 def bubblesort(data): 4 change=True 5 for i in range(len(data)-1,1,-1): 6 for j i...
分类:
编程语言 时间:
2014-09-03 12:54:46
阅读次数:
184
快排,取一个key值,一般取第一个即可,将小于key的放到左边,大于key的放到右边,递归实现 1 import random 2 def quicksort(data, low = 0, high = None): 3 if high == None: 4 high = l...
分类:
编程语言 时间:
2014-09-03 12:48:36
阅读次数:
343
Found this great table athttp://wiki.python.org/moin/MovingToPythonFromOtherLanguagesPython indexes and slices for a six-element list.Indexes enumerat...
分类:
编程语言 时间:
2014-09-03 12:46:36
阅读次数:
294
1:下载适合版本的cxfreezehttp://sourceforge.net/projects/cx-freeze/files/4.3.2/ 2:安装,注意python版本是否正确3:安装完成后,会在python的Scripts文件夹下生成文件在命令行中键入 cxfreeze --help 和cx...
分类:
编程语言 时间:
2014-09-03 12:40:16
阅读次数:
557
在经历了数十年单纯作为专业学科的潜伏期之后,机器学习突然之间在技术前沿与核心领域赢得了一席之地、并开始作为业务工具呈现在我们面前。不过目前最大的难题是如何使其具备实效,特别是对于那些需要处理相关工作的开发人员与尚处在萌芽状态的数据科学家们。
为了找到答案,我们整理出了一些最为常见且具备实用价值的开源机器学习工具,通过今天的文章与各位朋友共享。
Python: 数据科学家们纷纷投身于Python...
分类:
编程语言 时间:
2014-09-03 07:19:36
阅读次数:
283
浙大acm,第一题 Calculate a + b Input The input will consist of a series of pairs of integers a and b,separated by a space, one pair of integers per line. Output For each pair of input integers a ...
分类:
编程语言 时间:
2014-09-03 06:16:56
阅读次数:
260