Skip to content

docketrun/Detecting-Fake-News-with-Scikit-Learn

Repository files navigation

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

About

Detecting Fake News with Scikit-Learn ( Machine Learning )

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published