Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toxic Comment Analysis #373

Closed
wants to merge 18 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Toxic Comment Analysis/Dataset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
DATASET



Dataset can be found at below link:

https://www.kaggle.com/datasets/devkhant24/toxic-comment
Binary file added Toxic Comment Analysis/Images/Accuracy_score.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions Toxic Comment Analysis/Model/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
TOXIC COMMENT ANALYSIS


GOAL

Implementtion of algorithm like keras Model with GRU units to see the accuracy score.


DATASET

https://www.kaggle.com/datasets/devkhant24/toxic-comment


DESCRIPTION

The main aim of the project is to make a model that helps to predict toxic comment on the given dataset.


WORK DONE

Defining constants and cleaning of the comments.
Balacing the dataset and defining keras Model with GRU units.
Then tokenizing the comments from train dataset and predicting acuracy score of comment id.


LIBRARIES NEEDED

Numpy
Pandas
math
os
re
unidecode


ACCURACY SCORE

<img width="221" alt="rosp" src="https://user-images.githubusercontent.com/85989194/197526201-010a3df6-e7ce-4fbc-b9ba-4a96724912a4.png">


CONCLUSION

We created a model which predict the toxic comments. The model gives an accuracy score of the comments on the dataset.


CONTRIBUTION BY

Sumaiya Khan

Loading