Skip to content

For some years, mostly since the rise of social media, fake news have become a society problem, in some occasion spreading more and faster than the true information. In this model I evaluate the performance of Attention Mechanism for fake news detection on two datasets, one containing traditional online news articles and the second one news from…

Notifications You must be signed in to change notification settings

Mouizuddin/final_year_project

Repository files navigation

Fake News Detection

Fake News Detection in Python

In this project, we have used various natural language processing techniques and machine learning algorithms to classify fake news articles using scikit-learn libraries in Python.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them:

Python 3.6

  • This setup requires that your machine has Python 3.6 installed on it. You can refer to this URL to download Python. Once you have Python downloaded and installed, you will need to set up PATH variables (if you want to run Python programs directly). Detailed instructions are below in the "How to Run Software" section. To do that, check this: Add Python to PATH.
  • Setting up the PATH variable is optional as you can also run the program without it. More instructions are given below on this topic.

Anaconda

  • The second and easier option is to download Anaconda and use its Anaconda Prompt to run the commands. To install Anaconda, check this URL.

  • You will also need to download and install the following packages after you install either Python or Anaconda from the steps above:

    • scikit-learn
    • numpy
    • scipy

If you have chosen to install Python 3.6, then run the following commands in Command Prompt/Terminal to install these packages:

pip install -U scikit-learn
pip install numpy
pip install scipy

About

For some years, mostly since the rise of social media, fake news have become a society problem, in some occasion spreading more and faster than the true information. In this model I evaluate the performance of Attention Mechanism for fake news detection on two datasets, one containing traditional online news articles and the second one news from…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published