Build a successful fake news detector!
- PYTHON
- Necessary Import Modules ( Scipy, sklearn, Pandas, matplotlib )
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!
- 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