< 独立项目 -  文本挖掘 >

项目立项的相关背景介绍,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. 用python的BeautifulSoup分析html 【转】

    原地址:http://www.cnblogs.com/twinsclover/archive/2012/04/26/2471704.html 序言 之前用python爬取网页的时候,一直用的是rege ...

  2. eclipse中配置tomcat后,运行jsp时出现Server Tomcat v7.0 Server at localhost failed to start.

    最近在进行jsp开发学习,在配置上还是遇到很多问题. 在连接好数据库后,写了第一个jsp测试页面,结果在运行eclipse中运行toamcat时出现了错误提示:Server Tomcat v7.0 S ...

  3. springmvc自定义日期编辑器

    1.控制器 @Controller public class MyController { // 处理器方法 @RequestMapping(value = "/first.do" ...

  4. iOS开发UI篇—Quartz2D使用(图形上下文栈)

    iOS开发UI篇—Quartz2D使用(图形上下文栈) 一.qurza2d是怎么将绘图信息和绘图的属性绘制到图形上下文中去的? 说明: 新建一个项目,自定义一个view类和storyboard关联后, ...

  5. canvas 利用canvas中的globalCompositeOperation 绘制刮奖 效果

    <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <t ...

  6. Yii2-redis

    安装:composer require --prefer-dist yiisoft/yii2-redisredis 版本 >= 2.6.12 添加配置: 'components' => [ ...

  7. IT公司100题-tencent-打印所有高度为2的路径

    问题描述: 打印所有到叶子节点长度为2的路径  10  /  \ 6   16 / \   / \ 4 8  14 18   / \    / \    \ 2  5  12 15 20 / 11   ...

  8. C# 跨线程操作无效

    提示此错误的原因就是控件由主线程创建,在另一个线程进行操作时就会被阻止,防止数据间随意篡改. 如果一定要跨线程作业,如进度条或状态显示等,基本有三种方法解决: 1.Control.CheckForIl ...

  9. Android M新特性之APP Link

    The Android M Developer Preview introduces support for App Links, which improves upon existing link ...

  10. Markov Random Fields

    We have seen that directed graphical models specify a factorization of the joint distribution over a ...