Fake News Detection

Used TF-IDF Vectorizer to vectorize the words and the features were formed accordingly (the features are 5000 in number).

Term-Frequency Inverse Document Frequency (TF-IDF)

tf_idf

The features were then trained on a Voting Classifier Model which was made using Classification algorithms like Random Forest, Naive Bayes and Logistic Regression.

Voting Classifier

Hard Voting

voting_classifier_hard

Soft Voting

voting_classifier_soft

Result

The confusion matrix plot

confmat