Here we create an easy-to-use system to detect the credibility of a user’s claim or article ,based on the concept of stance detection. Run the Project Here : https://fake--news--detection.herokuapp.com/
- Users input a claim like “Obama is not a US citizen”.
- Our program will search in the database for thousands of articles related to the keywords.
- We run those articles through our home-grown stance detection machine learning model which will determine each article’s relevance to the claim and it’s stance on it. We determine if an article agrees/disagrees/is-neutral/is-unrelated to the input claim.
- We then access our ever-evolving database of source reputability. If lots of reputable sources all agree with your claim, then it’s probably true!
- Then we cite our sources so our users can click through and read more about that topic!
- Encode article headline and article bodies separately.
- Encode our text into embedding having 512 features using Universal Embedding Encoder.
- Find the cosine similarity of article headline embedding and article bodies embedding.
- Merge article headline embedding , cosine similarity , article body embedding into single vector.
- Now train our model using this merged vector as input and stance as output
- Model is ready for prediction having accuracy of 87.6 percent.
- Model Preparation - Deep Learning using keras tensorflow , Natural Language Preprocessing.
- Frontend - HTML , CSS , Bootstrap
- Backend - Nodejs , Google News Scrapper , News API
- Python for prepare model
- Javascript for Backend/Frontend