上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
摘要: https://blog.csdn.net/ericleiy/article/details/78915556 在Ubuntu/Linux环境下使用MySQL:开放/修改3306端口、开放访问权限https://blog.csdn.net/freezingxu/article/details/770 阅读全文
posted @ 2018-05-10 00:24 imageSet 阅读(233) 评论(0) 推荐(0) 编辑
摘要: https://www.linuxidc.com/Linux/2017-06/144732.htm 阅读全文
posted @ 2018-04-23 09:32 imageSet 阅读(119) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/tinyxiong/p/7761026.html 阅读全文
posted @ 2018-04-12 21:26 imageSet 阅读(135) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/xiaocong1990/article/details/54909126 https://www.cnblogs.com/bentuwuying/p/6219970.html https://blog.csdn.net/callejon/article/ 阅读全文
posted @ 2018-04-11 10:13 imageSet 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 原文gensim是一个用于从文档中自动提取语义话题的python包,高效而且准确。gensim用于处理未加工过的纯文本。gensim中的算法,如潜在语义分析(LSA)、潜在狄利克雷分配(LDA)和随机投影通过检测文档语料中词语的统计共现性模式来发现文档的语义结构。这些算法都是无监督的,即无需人类输入 阅读全文
posted @ 2018-04-08 11:48 imageSet 阅读(1117) 评论(0) 推荐(0) 编辑
摘要: leetcode刷题时遇到了78题Subset,写了上面的代码,在第15行最开始用了注释里的result.append(item),把item的引用(地址)传给了result,结果每次递归result中除了原有的‘[]’元素,其他都同步在变。 下面是nums=[1,2,3]时,使用result.ap 阅读全文
posted @ 2018-03-11 18:53 imageSet 阅读(150) 评论(0) 推荐(0) 编辑
摘要: import heapq heap = [] heapq.heappush(heap, item)#将item加入heap,保持堆结构 heapq.heappop(heap)#弹出堆顶最小元素,如果heap为空,抛出一个IndexError,不弹出只调用这个最小元素,使用heap[0] heapq.heappushpop(heap, item)#将item加入heap,并弹出堆顶最小元素,比h... 阅读全文
posted @ 2018-02-22 10:17 imageSet 阅读(136) 评论(0) 推荐(0) 编辑
摘要: collections的常用类型有: 计数器(Counter) 双向队列(deque) 默认字典(defaultdict) 有序字典(OrderedDict) 可命名元组(namedtuple) 使用以上类型时需要导入模块 from collections import * 详见http://blo 阅读全文
posted @ 2018-02-20 15:37 imageSet 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 句尾没有逗号 或者可以直接用append(),避免逗号的问题 阅读全文
posted @ 2018-02-07 20:53 imageSet 阅读(403) 评论(0) 推荐(0) 编辑
摘要: bin文件路径: /usr/bin 库文件路径: /usr/lib/ 其它的图标啊什么的路径: /usr/share 配置文件路径: /etc/ 阅读全文
posted @ 2018-01-30 19:50 imageSet 阅读(712) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页