Giter VIP home page Giter VIP logo

text-classification-application's Introduction

Text-Classification-Application

文本分类应用,采用模型是Text-CNN

  • 英文数据集:影评评论
  • 中文数据集(已去除停用词):旅客酒店住宿评论;网络购物评论;书评;对话语料。 原始语料以及预处理脚本请见:链接:https://share.weiyun.com/5UoZkUx 密码:6tnnxy
  • 训练好的模型:链接:https://share.weiyun.com/5tYgD3F 密码:weumvg

运行

英文: 准训练结果:验证集76%左右

中文: 准训练结果:验证集91%左右

数据统计

中文

x.shape -> (54568, 50)
y.shape -> (54568, 2)
len(vocabulary) -> 52822
len(vocabulary_inv) -> 52822

X_train.shape -> (43654, 50)
y_train.shape -> (43654, 2)
X_test.shape -> (10914, 50)
y_test.shape -> (10914, 2)

英文

x.shape -> (10662, 56)
y.shape -> (10662, 2)
len(vocabulary) -> 12766
len(vocabulary_inv) -> 12766

X_train.shape -> (8529, 56)
y_train.shape -> (8529, 2)
X_test.shape -> (2133, 56)
y_test.shape -> (2133, 2)

资料

text-classification-application's People

Contributors

yanqiangmiffy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

text-classification-application's Issues

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.