GithubHelp home page GithubHelp logo

mohammad8921 / newstitlescategorization-naivebayesclassifier Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 72.35 MB

A Naive-Bayes classifier to categorize titles of persian news

Jupyter Notebook 87.83% TeX 12.17%
text-classification

newstitlescategorization-naivebayesclassifier's Introduction

News Titles Categorization using Naive Bayes Algorithm

  • In this project, I implemented a Naive Bayes text classifier from scratch to categorize the titles of news. The categories are:
    • International
    • Sport
    • Political
    • Cultural-artistic
    • Social
    • Scientific-medical
    • Economic
    • Social media
    • Web browsing
    • Video & audio
  • All characters except آ-ی and \s have been removed; Numbers have been replaced by N. Zeros have been handled by Laplacian smoothing.
  • The DataPreprocessor and NaiveBayesClassifier classes have been designed for preprocessing the samples and training/evaluating a Naive Bayes classifier respectively.

newstitlescategorization-naivebayesclassifier's People

Contributors

mohammad8921 avatar

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.