< 独立项目 -  文本挖掘 >

项目立项的相关背景介绍,TODO方向。

一、Ubuntu环境配置

  主机系统:Windows 7 SP1   64位操作系统 | i5-4210 CPU | 16GB RAM  

  VirtualBox虚拟环境:GUN VitrualBox

  Linux系统:Ubuntu 15.10(ubuntu-15.10-desktop-i386)

二、Python模块的安装

  1、python当前版本检查

  sylar@SylarMining:~$ python --version

  Python 2.7.10

  2、查看当前安装模块

  sylar@SylarMining:~$ python

  >>>help()

  help>modules

  Please wait a moment while I gather a list of all available modules......

  help>quit

  You are now leaving help and returning to the Python interpreter . If you want to ask for help on a particular object directly from the interpreter,you can type "help(object)" .

  >>>import sys

  >>>sys.modules

  3、查看模块的版本信息

  >>>import module

  >>>module.__version__

  >>>quit()

  4、常用Python模块的安装

  先进行pip工具的安装:sudo apt-get install python-pip

  安装:pip install PackageName  更新:pip install -U PackageName  移除:pip uninstall PackageName  搜索:pip search PackageName  帮助:pip help

  #查看已经安装的模块:List installed packages

  sylar@SylarMining:~$ pip list

  sylar@SylarMining:~$ wget https://pypi.python.org/pypi/setuptools

  sylar@SylarMining:~$ pip --version

  pip 1.5.6 from /usr/lib/python2.7/dist-packages(python2.7)

  #安装setuptools:

  sylar@SylarMining:~$ sudo apt-get install python-setuptools

  #查看Ubuntu中安装的Python路径

  sylar@SylarMining:~$ whereis python

  python:/usr/bin/python2.7

  sylar@SylarMining:~$ which python

  /usr/bin/python

  #安装numpy模块和matplotlib模块

  sylar@SylarMining:~$ sudo apt-get install python-numpy

  sylar@SylarMining:~$ sudo apt-get install python-scipy

  sylar@SylarMining:~$ sudo apt-get install python-matplotlib

  

  #安装Python开发环境

  sylar@SylarMining:~$ sudo apt-get install python-dev

  #安装IPython

  sylar@SylarMining:~$ sudo apt-get install ipython

  #安装tornado

  sylar@SylarMining:~$ sudo apt-get install tornado

  #安装libzmq-dev

  sylar@SylarMining:~$ sudo apt-get install libzmq-dev

  #安装scikit-learn模块(sklearn)

  sylar@SylarMining:~$ sudo apt-get install python-sklearn

  #安装pandas

  sylar@SylarMining:~$ sudo apt-get install python-pandas

  #安装patsy

  sylar@SylarMining:~$ sudo apt-get install python-patsy

  #安装statsmodels

  sylar@SylarMining:~$ sudo apt-get install python-statsmodels

  #安装g++

  sylar@SylarMining:~$ sudo apt-get install g++

  #安装jieba

  sylar@SylarMining:~$ pip install jieba

  #安装NLTK

  sylar@SylarMining:~$ sudo apt-get install python-nltk

  #安装MLpy

  sylar@SylarMining:~$ sudo apt-get install python-mlpy

  #安装Shogun

  sylar@SylarMining:~$ sudo apt-get install python-shogun

  #安装MDP

  sylar@SylarMining:~$ sudo apt-get install python-mdp

  #安装PyBrain

  sylar@SylarMining:~$ pip install pybrain

  #安装BigML

  sylar@SylarMining:~$ pip install bigml

  

  

  

  

  

  

  

< 独立项目 - 文本挖掘 > - 2016/11/13 第二更 - <Python环境准备>的更多相关文章

  1. < 独立项目 - 文本挖掘 > - 2016/10/25 第一更 - <Linux相关知识准备>

    < 独立项目 -  文本挖掘 > 项目立项的相关背景介绍,TODO方向. 一.Ubuntu环境配置 主机系统:Windows 7 SP1  64位操作系统 | i5-4210 CPU | ...

  2. 11.13的C++##不想写结构,更不爱指针

    //2019.11.13 卑微的Loving-Q瞎写的程序 报错请更改VS中的SDL检查// 我要去嗨了,在线卑微 1 #include<iostream> #include<std ...

  3. github javascript相关项目star数排行榜(前30,截止2016.11.18):

    github javascript相关项目star数排行榜(前30,截止2016.11.18): 前端开源框架 TOP 100 前端 TOP 100:::::https://www.awesomes. ...

  4. .NET平台开源项目速览(11)KwCombinatorics排列组合使用案例(1)

    今年上半年,我在KwCombinatorics系列文章中,重点介绍了KwCombinatorics组件的使用情况,其实这个组件我5年前就开始用了,非常方便,麻雀虽小五脏俱全.所以一直非常喜欢,才写了几 ...

  5. 【读书笔记】2016.11.19 北航 《GDG 谷歌开发者大会》整理

    2016.11.19 周六,我们在 北航参加了<GDG 谷歌开发者大会>,在web专场,聆听了谷歌公司的与会专家的技术分享. 中午免费的午餐,下午精美的下午茶,还有精湛的技术,都是我们队谷 ...

  6. U3D笔记11:47 2016/11/30-15:15 2016/12/19

    11:47 2016/11/30Before you can load a level you have to add it to the list of levels used in the gam ...

  7. [ionic开源项目教程] - 第11讲 封装BaseController实现controller继承

    关注微信订阅号:TongeBlog,可查看[ionic开源项目]全套教程. 截止到第10讲,tab1[健康]模块的功能基本已经完成了,但这一讲中,controller层又做了较大的改动,因为下一讲中t ...

  8. 最新的 cocoapods 安装与使用(2016.11)

    cocoapods简介: cocoapods 是iOS的类库管理工具,可以让开发者很方便集成各种第三方库,而不用去网站上一个个下载,再一个个文件夹的拖进项目中,还得添加相关的系统依赖库.只需要安装好c ...

  9. iOS app提交审核 11.13条款问题

    今年开年到现在.提交app应用一直招拒,这个问题我想不明白,感觉就是一个坑.所以贴出来给大家看看. 发件人 Apple11.13 - Apps that link to external mechan ...

随机推荐

  1. MVC——入门+简单的小实例

    MVC全名是Model View Controller,是模型(model)-视图(view)-控制器(controler)的缩写,一种软件设计典范,用于组织代码用一种业务逻辑和数据显示分离的方法. ...

  2. 完美实现跨域Iframe高度自适应【Iframe跨域高度自适应解决方案】

    Iframe的强大功能偶就不多说了,它不但被开发人员经常运用,而且黑客们也常常使用它,总之用过的人知道它的强大之处,但是Iframe有个致命的“BUG”就是iframe的高度无法自动适应,这一点让很多 ...

  3. user-select : 保护版权内容的简单方案

    有的适合我们需要保护我们页面的内容,为了版权或者安全等原因,这个适合我们可以使用 user-select 这个CSS属性,简单易用. 嗯,这个属性不麻烦,而且也不是 CSS 3 / CSS 4 的新属 ...

  4. 二模 (16) day1&day2

    第一题:题目大意: 数列a[0]=a[1]=1, a[n]=a[n-2]*a[n-1]*n,求a[n]的因子个数 mod 1000000007.  n<=1000000 解题过程: 1.递推式还 ...

  5. 收集Github上的iOS控件和开发资料

    文章来源:http://www.mobile-open.com/2015/85017.html 动画 awesome-ios-animation 收集了iOS平台下比较主流炫酷的几款动画框架 RCTR ...

  6. 黑马程序员——OC语言 其他语法

    Java培训.Android培训.iOS培训..Net培训.期待与您交流! (以下内容是对黑马苹果入学视频的个人知识点总结) (一)ARC的判断准则:只要没有强指针指向对象,就会释放对象 1.ARC特 ...

  7. U盘格式化后的恢复

    软件:http://www.easeus.com/datarecoverywizard/free-data-recovery-software.htm

  8. 【Android】配置APK开发环境

    1.安装java jdk去oracle公司下载jdk-7u15-windows-i586.exehttp://www.oracle.com/technetwork/cn/java/javase/dow ...

  9. iOS 自定义emoji表情键盘

    之前走了很多弯路,包括自己定以emoji表情,自己创建view类去处理图文混排 ,当把这些焦头烂额的东西处理完了才发现 ,其实系统自带键盘是如此的方便,iOS 系统自带的表情在view,textfie ...

  10. linux命令:head

    1.命令介绍: head用来显示文件的开头的一部分. 2.命令格式: head [选项] 文件 3.命令参数: -q 隐藏文件名 -v 显示文件名 -c<字节> 显示字节数 -n<行 ...