Coronavirus (COVID-19) is an infectious disease that has resulted in an ongoing pandemic. The disease was first identified in Wuhan, China, and the first case was identified in December 2019. As of 21st August 2020, more than 22 million cases have been reported across 180 countries and territories. The sheer scale of this pandemic has led to myriad problems for the current generation. One of the acute problems that I have come across is the circulation of bogus news articles and in today’s world, spurious news articles can cause panic and mass hysteria. I realized the gravity of this problem and decided to base my next machine learning project on resolving this issue.
- Flask>=1.1.1
- gunicorn>=19.9.0
- itsdangerous>=1.1.0
- Jinja2>=2.10.1
- MarkupSafe>=1.1.1
- Werkzeug>=0.15.5
- numpy>=1.9.2
- scipy>=0.15.1
- scikit-learn>=0.18
- matplotlib>=1.4.3
- pandas>=0.19
- regex>=2020.6.8
- Clone the repository
https://github.com/shaunak09vb/Fake-News-Detection-for-Covid19-Heroku.git
- Install the required libraries
pip3 install -r requirements.txt
- Convert data to lower-case
- Remove punctuation
- Perform TF-IDF operation.
- To run the hosted website, access the
app.py
file and execute:
python3 app.py
-
The website will start on your local server which can be viewed in your desired browser. You can paste any news article that you came across in the text box and determine if the news is Genuine or Fake.
-
To understand the step-by-step approach undertaken for this project, you can view the Covid_19_FakeNewsClassifier.ipynb file via the following link: Covid_19_FakeNewsClassifier.ipynb.
If you wish discover in detail, the steps taken by me for the implementation of the project. You can read my blog on Medium.
This project is licensed under MIT License