https://github.com/fyt3rp4til/fake-news-detection-nlp
https://github.com/fyt3rp4til/fake-news-detection-nlp
nltk numpy pandas python3 sklearn
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fyt3rp4til/fake-news-detection-nlp
- Owner: FYT3RP4TIL
- Created: 2023-09-24T15:12:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-27T06:59:25.000Z (over 1 year ago)
- Last Synced: 2025-01-14T07:13:52.806Z (4 months ago)
- Topics: nltk, numpy, pandas, python3, sklearn
- Language: Jupyter Notebook
- Homepage:
- Size: 39.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fake News Detection
## Overview
The topic of fake news detection on social media has recently attracted tremendous attention. The basic countermeasure of comparing websites against a list of labeled fake news sources is inflexible, and so a machine learning approach is desirable. Our project aims to use Natural Language Processing to detect fake news directly, based on the text content of news articles.
## Dataset Description
* True.csv: True collected news from various articles, sources.
* Fake.csv: Fake collected news from various articles, sources.
## Try It Out
1. Clone the repo to your local machine-
`> https://github.com/Sudhanshu21xx/Fake-News-Detection-NLP.git`
`> cd Fake-news-Detection`2. Make sure you have all the dependencies installed-
* python 3.6+
* numpy
* tensorflow
* pandas
* sklearn
* nltk
* For nltk, run these commands in your notebook --
* `>>> import nltk`
* `>>> nltk.download()`}## Methodologies Used
* [Tokenization](https://www.geeksforgeeks.org/nlp-how-tokenizing-text-sentence-words-works/)
* [Stemming](https://www.geeksforgeeks.org/introduction-to-stemming/)
* [Stopword Removal](https://www.geeksforgeeks.org/removing-stop-words-nltk-python/)
* [Splitting Data](https://www.geeksforgeeks.org/how-to-split-a-dataset-into-train-and-test-sets-using-python/)
* [Vectorization](https://www.geeksforgeeks.org/feature-extraction-techniques-nlp/)## Model Used
* [Logestic Regression](https://www.geeksforgeeks.org/understanding-logistic-regression/)
* [Passive Agressive Classifier](https://www.geeksforgeeks.org/passive-aggressive-classifiers/)