Detecting Fake News with Scikit-Learn ( Machine Learning )
Branch: master
Clone or download
Latest commit 4278e62 Jan 1, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.ipynb_checkpoints Detecting Fake News with Scikit-Learn Jan 1, 2018
data Detecting Fake News with Scikit-Learn Jan 1, 2018
Attempting to detect fake news.ipynb Detecting Fake News with Scikit-Learn Jan 1, 2018
Comparing Fake News Classifiers.ipynb
README.md Screenshot Demos Jan 1, 2018
fake_or_real_news.csv Detecting Fake News with Scikit-Learn Jan 1, 2018
screenshot1.PNG Screenshot for demos Jan 1, 2018
screenshot2.PNG Screenshot for demos Jan 1, 2018

README.md

Detecting Fake News with Scikit-Learn

Build a successful fake news detector!

Requires

  • PYTHON
  • Necessary Import Modules ( Scipy, sklearn, Pandas, matplotlib )

Installation and Usage

Install: Python 64bit https://www.python.org/downloads/

SET Environment Variables in Windows:

Which Looks something like this: C:\Users\Vinay\AppData\Local\Programs\Python\Python36 C:\Users\Vinay\AppData\Local\Programs\Python\Python36\Scripts C:\Users\Vinay\AppData\Local\Programs\Python\Python36\Lib\site-packages

Install Jupyter Notebook:

pip install jupyter

Download the Github Package and Unzip and open the path in CMD Prompt and run:

jupyter notebook

Opens a http://localhost:8888/tree in Browser and Open the file's (Attempting to detect fake news.ipynb & Comparing Fake News Classifiers.ipynb )and say Run All

If Run All gives no module error try installing the necassary modules through Pip install

And Here you go with successful fake news detector!

A Screenshot

[screenshot] [screenshot]

Issues You May Encounter

  • Memory Error -

FIX1 - Make Sure you have installed python 64bit FIX2 - Try running cell by cell ( section to section )

A Big Thanks to Katharine Jarmul - https://www.datacamp.com/community/tutorials/scikit-learn-fake-news

WEBSITE

YOUTUBE