上一页 1 ··· 64 65 66 67 68 69 70 71 72 ··· 107 下一页
摘要: 2.python3中的urllib包 官方文档:https://docs.python.org/3.5/library/urllib.html 中文翻译版:https://blog.csdn.net/Jurbo/article/details/52313636 Request对象:https://b 阅读全文
posted @ 2019-06-12 09:16 lypbendlf 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 问题: 在import keras或import ttheano时出现了以下: >>> import keras Using Theano backend. ERROR (theano.gpuarray): Could not initialize pygpu, support disabled T 阅读全文
posted @ 2019-06-08 08:55 lypbendlf 阅读(1338) 评论(0) 推荐(0) 编辑
摘要: 转自:https://docs.python.org/zh-cn/3/library/typing.html 以前只能通过注释来说明变量类型。 可以简化一些类型说明的过程。 阅读全文
posted @ 2019-05-30 18:42 lypbendlf 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/iamaiearner/article/details/9378093 提供了打印出任何python数据结构类的方法。 阅读全文
posted @ 2019-05-30 17:08 lypbendlf 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.jianshu.com/p/801318c77ab5 该模块提供了堆排序算法的实现。堆是二叉树,最大堆中父节点大于或等于两个子节点,最小堆父节点小于或等于两个子节点。 1.创建 通过列表或者是heappush函数 默认是从小到大排序 2.弹出值.heappop函数 3. 阅读全文
posted @ 2019-05-30 17:03 lypbendlf 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 来自:《Python自然语言处理》 1.Unigram 2.Ngram标注 阅读全文
posted @ 2019-05-29 20:16 lypbendlf 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 可用水准:垃圾邮件检测,主题分类,命名实体识别,文本相似度,词性标注。 可用与基本可用之间:关键短语提取,情感分析。 基本可用:关键短语生成,方面分析?,实体链接,词义消歧,机器翻译,信息提取 基本与难以之间:槽填充?,指代消解,对话,问答,释义,总结。 2020-2-23更新———————— 转自 阅读全文
posted @ 2019-05-29 01:17 lypbendlf 阅读(723) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.runoob.com/python/att-string-count.html https://www.cnblogs.com/lincappu/p/8179475.html(讲解非常好) 1.Python count() 方法用于统计字符串里某个字符出现的次数。可选参 阅读全文
posted @ 2019-05-28 19:14 lypbendlf 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 0.基本思想 选定基准值(通常为当前数组的第一个元素),经过一系列比较和交换,将比基准值小的放在其左边,将比基准值大的放在其右边,这称为是一次循环。 1. 递归1 //百度百科上的C++实现: #include <iostream> using namespace std; void Qsort(i 阅读全文
posted @ 2019-05-06 20:56 lypbendlf 阅读(419) 评论(0) 推荐(0) 编辑
摘要: 1.在进行 gdb python r XX.py where 调试时,报出以下错误: 1)每次运行都开38个线程,是否是线程超载[New Thread 0x7ffff2fd2700 (LWP 7415)] [New Thread 0x7ffff27d1700 (LWP 7416)] [New Thr 阅读全文
posted @ 2019-04-27 20:30 lypbendlf 阅读(10805) 评论(0) 推荐(0) 编辑
上一页 1 ··· 64 65 66 67 68 69 70 71 72 ··· 107 下一页