Git Product home page Git Product logo

toxic-comment-classifier's Introduction

toxic-comment-classifier

This project is to classify toxic and abusive comments from huge bunch of text.
I have gave training for these 6 type of toxic comments :

  1. toxic
  2. severe_toxic
  3. obscene
  4. threat
  5. insult
  6. identity_hate

It predicts probability of toxicity for above defined classes.
A comment may be classified in one or more classes. As for example a comment may be "insulting" to someone but may not be "threatning".

Download train/test data from here : https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge/data

Data cleaning is also done before this training and testing. I only have kept alphabetic latters and some punctuation marks. No numbers or any other sysmbols.

We can do this task on any given chunk of data. We can pick the highest probability class to choose the type of toxicity.

Have a look at https://github.com/prashant-kikani/toxic-comment-classifier/blob/master/test.ipynb to get the clear idea.

toxic-comment-classifier's People

Contributors

prashant-kikani avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

weddingjuma

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.