Code Monkey home page Code Monkey logo

detecting-fake-news-on-social-media's Introduction

Fake News Detection on Social Media:

Overview:

As we know how fake news on social media about Hilary Clinton had a big impact on election results. The cost of publishing information in public is very low and the efficiency of spreading news through social media is very high.

These benefits can also enable spread of low-quality news with false or fake information. During 2016 USA presidential election, one of the most escalating news was the one that claimed Hillary Clinton ordered the murder of an FBI agent and was viral on social media.

Motivation and Background:

  • The extensive spread of fake information on social media.
  • When social media has become the most cost-efficient way of communication among people, it is extremely intriguing to analyze people’s reactions to a popular news post while eliminating false information online. Therefore, designing a news monitor system that concentrates on the news content to alert the public about fake news.

Goals:

  • Guiding people on their thinking over false information.
  • Identifying fake news over social media.
  • Building a classifier to predict news as a Real or Fake.

Datasets I intend to use:

https://arxiv.org/abs/1705.00648 [cs.CL]

Data Science Pipeline:

  • Data Collection : Balanced dataset collected from politifact.
  • Data Preprocess: Data Clean and Natural Language Process
  • EDA and Feature Selection : Binary, CountVectorizer, TFIDF
  • Model Selection : Naive Bayes, Logistics Regression, SVM, RF
  • Model Training : Scikit-Learn
  • Inference : F1-Score and Confusion matrix to make an inference
  • Model Deployment : Deployment on AWS or heroku
  • Data Product : Flask-based web application

Some Practical Applications:

  • Social Media Websites (alerting Fake news)
  • To protect the nation's ecomonomy (For example, fake news claiming that Barack Obama, the 44th President of the United States, was injured in an explosion wiped out $130 billion in stock value [Rapoza 2017]. )
  • Survey of fake news

Libaries to install

  • pip install requirements.txt

Run the Flask Application

Start flask web server: python app.py The server will start on the address http://127.0.0.1:5000 [if port 5000 is not occupied]

References

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.