- 博客(6)
- 收藏
- 关注
原创 使用anaconda搭建TensorFlow环境
环境:win7 32位,anaconda 4.2.0 (注意:之前安装的python2.7和3.6,本来想自己安装,查过资料还是觉得这个最方便,遂卸载python安装anaconda) 1.建立TensorFlow的运行环境 cmd中执行(这里用python3.5,其他版本可自行更改版本号): conda create -n tensorflow python=3.5 2
2017-11-29 17:58:47
5880
2
原创 anaconda navigator闪退问题解决
环境:win7 32位 anaconda安装版本:Anaconda3-4.2.0-Windows-x86.exe 问题现象: anaconda安装完毕后,双击anaconda navigator打开,刚出现navigator窗口界面,秒速闪退 解决方法: 网上查到需要用以下方法解决: 1.使用管理员运行:conda prompt 2.执行命令:conda update a
2017-11-29 15:04:10
7626
1
原创 Computing with Language:Simple Statistics
Frequency Distributions //定义变量 fdist1 = FreqDist(text1) //输出 fdist1 //重复最多的50个 fdist1.most_common(50) //whale重复次数 fdist1['whale'] //累积频率图 fdist1.plot(50,cumulative=True) //单频词 fdist1.hapaxe
2017-06-22 16:09:12
452
原创 近观Python: Texts as list of words
Lists add list1+list2 append list1.append("words") Index
2017-06-15 18:51:24
363
原创 简单试水nltk
导入nltk.book后,即可调用 (需要注意的是,每一次启动idle之后都需要import一次,因为import是导入进内存,具体还需要了解import的原理和机制,知识点:module) 1.searching text //查找包含单词monstrous的上下文 text1.concordance("monstrous")//查找上下文与monstrous相似的单词 text1
2017-06-09 16:49:33
485
原创 NLTK3.2.4环境搭建
系统环境:win7 32位 python:2.7.13,后改为3.6.1 安装NLTK 从网站下载:http://www.nltk.org/,完成后双击安装,但提示Python version -32 required, which was not found in the registry. 从网上搜索到以下解决方案: 新建文件D:\register.py,通过脚本建立
2017-06-08 16:31:36
1300
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人