GithubHelp home page GithubHelp logo

witnesslq / news-classifier Goto Github PK

View Code? Open in Web Editor NEW

This project forked from linyiqun/news-classifier

0.0 1.0 0.0 3.68 MB

给定训练新闻数据集,可以对输入的测试新闻进行自动分类识别

Java 53.85% C 46.15%

news-classifier's Introduction

news-classifier

给定训练新闻数据集,可以对输入的测试新闻进行自动分类识别

分类实现原理

  • 总体上利用了余弦相似度计算的原理来计算文本相似度
  • 其中的特征向量由训练数据集中的关键词构成,其中词语的寻找利用了中科大的ICTCLAS分词系统来做,提取其中的专业性的名词
  • 利特征向量与标准向量进行余弦值的计算

使用方法

  • 设定特征向量维数
  • 给定训练新闻数据集,数量最后多一些,用于进行特征向量的计算
  • 给定测试新闻数据集
  • 输出分类结果

news-classifier's People

Watchers

 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.