Giter Site home page Giter Site logo

lstm-weibo-classification's Introduction

LSTM-weibo-classification

data source

从微博社交平台上,精准搜索之后,通过API进行的爬取 然后进行人工标记,针对标签种类进行0-1分类打标签,有标签的数据为8000+条

word2vec 模型

直接使用预训练的300维的word2vec向量

分词与预处理

jieba分词库,需要一个通用的停用词词库与定制化的停用词词库 对文本预处理的时候,需要去除html标签,去除标点符号和特殊表情

LSTM输入数据维度

将一句话中最多10个词的word2vec向量按照顺序组合成10*300的输入维度,缺词或者长度不足10,都用0向量替代,超过10个词的句子直接截断。

lstm-weibo-classification's People

Contributors

zxh20001117 avatar

Watchers

James Cloos 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.