In this project, it is intended to use the sentence embedding technique in addition to word embedding for the purpose of fake new classification. The Classifier (SVM) and Random Forest (RF) will be trained and tested for identifying the fake news data.
Collected data are split into training and testing sets with a ratio of 80%:20%.
X | Y | |
---|---|---|
Training | 2800 | 2800 |
Testing | 700 | 700 |
Total | 3500 | 3500 |
Step-1
Install all libaries required for this project using the command pip install -r requirements.txt
.
Step-2
Downlaod the Embedding Word2Vec Matrix.
Step-3
To run the Word2Vec.ipynb
and Doc2Vec.ipynb
iPython notebook that contains all the code, please run the following line in the project directory:
$ jupyter notebook
Will Update here soon.
- Usama Naveed -https://github.com/usamanaveed900)
- Instagram -https://www.instagram.com/naveedusama/
- Youtube -https://www.youtube.com/channel/UCB3IljOaBGkrmbuBzC8ziBQ
See also the list of [Projects] (https://github.com/usamanaveed900?tab=repositories) I have woked on.