GithubHelp home page GithubHelp logo

csr's Introduction

csr

       规则方法联合机器学习方法

##简介        一种联合规则和机器学习进行情绪分类的方法,该部分首先采取规则方法获得句子级的结果,接着将每一条微博表示为句子级情绪的序列,然后从训练集中挖掘类别序列规则(Class Sequential Rule, CSR),从挖掘出的规则中提取新的特征,最后使用SVM获得微博级别的分类结果。

##文件说明

  • prepare_for_csr/get_csr.py
    把训练集和测试集都处理成序列模式,并且得到训练集中的所有子序列。

  • get_csr/extract_csr.py
    csr挖掘规则从子序列中挖掘出csr。

  • evaluate/performance.py
    performance库,多种常用的评估指标如acc、precision、recall等。

  • evaluate/process.py
    计算各种指标。

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.