Coder Social home page Coder Social logo

chandnii7 / fake-news-classification Goto Github PK

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

Given the title of a fake news article A and the title of a coming news article B, program classifies B into agree, disagree, and unrelated.

License: MIT License

HTML 97.58% Jupyter Notebook 2.42%
fake-news-classification bag-of-words similarity-measures tf-idf-features naive-bayes mlp-classifier multinomial-logistic-regression multi-layer-perceptron num2words stopwords-removal

fake-news-classification's Introduction

Fake News Classification

Given the title of a fake news article A and the title of a coming news article B, program classifies B into one of the three categories:

  • agreed : B talks about the same fake news as A.
  • disagreed : B refutes the fake news in A.
  • unrelated : B is unrelated to A.

Basic preprocessing steps are required before using the data:

  1. Convert to Lowercase
  2. Remove punctuations
  3. Remove single character if any
  4. Remove stop words
  5. Convert numbers to words
  6. Lemmatization to get root words

Feature extraction approaches:

  • Bag of words
  • Similarity between text
  • TF-IDF

Data modeling approaches:

  • Naive Bayes
  • Multinomial Logistic Regression
  • Multi Layer Perceptron Classifier

Refer the report for further implementation details, approach, data preprocessing, feature extraction, data modeling and evaluation: View Report

Results:



fake-news-classification's People

Contributors

chandnii7 avatar patelc52 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.