Ensemble methods for classifying Fake News#31
Open
Rishabhc711 wants to merge 2 commits into
Open
Conversation
Author
|
This PR inadvertently adds few more models to the original work, thereby resolving issue #27 |
Owner
|
@Rishabhc711 Make a separate 'Final.ipynb' file with your initials, for all the work you did. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In accordance to Issue #12
Fixes: #12
Describe the changes you've made
Added KNN , Support Vector and Random Forest classifiers to the file Final.ipynb which previously included only Logistic Regression, Decision Tree, Passive-Agressive and Naive Bayes Classifiers.
Added 4 ensemble method classifiers based on the relative accuracies of the individual models on the test sets.
Computed accuracies of the models (in %) -
i. KNN : 82.51262626262627
ii. SUPPORT VECTOR CLASSIFIER : 93.813
iii. RANDOM FOREST CLASSIFIER : 90.593
iv. ENSEMBLE METHOD 1 (All) : 93.434
v. ENSEMBLE METHOD 2 (models with accuracy > 90% ) : 93.497
vi. ENSEMBLE METHOD 3 (Top 3 models) : 93.813
vii. ENSEMBLE METHOD 4 (Top 2 models) : 93.876
Type of change
-->
How Has This Been Tested?
The tests were conducted in google colab after having cloned the entire repo to google drive. The Final.ipynb reflects all the chnges made and contains all the saved checkpoints.
Describe if there is any unusual behaviour of your code(Write
NAif there isn't)NA
Checklist: