Giter Club home page Giter Club logo

basic_of_datamining's Introduction

basic_of_datamining

basic_of_datamining 利用python中的pandas,sklearn进行数据挖掘

pandas用来对数据集进行处理 sklearn中提供了一些机器学习方法的实现

要利用这两个库,首先应该安装,其中numpy,scipy是两个比较重要的依赖库

在Ubuntu下,pandas安装可以使用: sudo apt-get install python-pandas

sklearn的安装可以参照: http://blog.csdn.net/wbgxx333/article/details/12168675

一个数据挖掘的整体流程,主要包括

  1.  定义问题
    
  2.  准备数据
    
  3.  浏览数据
    
  4.  生成模型
    
  5.  浏览和验证模型
    
  6.  部署和更新模型
    

而在实现时,通俗的讲为:

1 加载训练数据 2 对数据进行各种预处理(抽样,去噪等) 3 提取特征 4 训练模型 5 利用模型对预测数据进行预测 6 预测结果评价(评分) 不断调整2 3 4 5 6步,进行优化

下面的例子,实现了这样一个基本流程 提供 刚刚入门 数据挖掘 概念者

一个较为基础的python+pandas+sklearn实现

来自一个比赛: http://tianchi.aliyun.com/competition/introduction.htm?spm=5176.100066.333.4.scNYuk&raceId=5

对问题进行了简化处理,并没有将微博的内容和时间考虑在内

是对其比较初步的处理

数据来源是 来自阿里巴巴天池平台和新浪微博

这个地址:http://tianchi.aliyun.com/datalab/index.htm?spm=5176.100067.1234.4.t8WkFa(以后会更新)

例子的地址在:

在这个地址中文件,有相应数据文件和源码,同时会有对有文件和源码的解释 源码中,因为是针对特定问题的,所以一些对数据的加载、处理 或 评分细节不必深究, 重要的是整体的流程 源码中保留了一些被注释了的代码,大多是一些调试代码

对应的测试大数据集合下载地址:

http://pan.baidu.com/s/1qW49CcO http://download.csdn.net/detail/xinxing__8185/9270655

basic_of_datamining's People

Contributors

zhangxinxing avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.