GithubHelp home page GithubHelp logo

siyuanligit / toxic-comment-classification Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 1.88 MB

Thesis for Master of Applied Statistics UCLA, a NLP and Deep Learning implementation on toxic comment classification.

Home Page: https://search.proquest.com/dissertations/docview/2032534357/9867DEE710484654PQ/4

Jupyter Notebook 99.64% R 0.36%

toxic-comment-classification's Introduction

Application of Recurrent Neural Networks in Toxic Comment Classification

Read the thesis HERE

Abstract

Moderators of online discussion forums often struggle with controlling extremist comments on their platforms. To help provide an efficient and accurate tool to detect online toxicity, we apply word2vec’s Skip-Gram embedding vectors, Recurrent Neural Network models like Bidirectional Long Short-term Memory to tackle a toxic comment classification problem with a labeled dataset from Wikipedia Talk Page. We explore different pre-trained embedding vectors from larger corpora. We also assess the class imbalance issues associated with the dataset by employing sampling techniques and penalizing loss. Models we applied yield high overall accuracy with relatively low cost.

Data Source

Toxic Comment Classification Challenge from Kaggle.

Dependencies

  • Python

    • NumPy
    • Pandas
    • Keras
    • tensorflow-gpu
    • CUDA
    • cuDNN
    • gensim
    • NLTK
    • scikit-learn
  • R

    • readr
    • tidyr
    • dplyr
    • stringr
    • stringi
    • ggplot2

toxic-comment-classification's People

Contributors

siyuanligit avatar

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.