Git Product home page Git Product logo

haterase's Introduction

hatErase

Realtime twitter hate speech detection

This is the master branch of the repo it contains the codebase of Machine Learning approach that we followed to train our Model

The other branch is webapp which contains the codebase for deployment part mainly

Dataset Collection

We used different open source datasets, from different hackathons and competetions and combined them to make a bid dataset which containes variety of tweets the dataset majorly focuses on English Language Dataset Exploration has the code for all the exploration part of dataset and how we concatenated them.

Dataset Preprocessing

Dataset Preprocessing contains the code of how we cleaned the dataset as it can not be directly fed to the Machine Learning Models. How different techniques we used to useful features from the text like hashtags, user mentions etc.

Machine Learning Models

We trained our model using two prominent ML algorithms for Binary Classification, namely - Multinomial Naive Bayes and Logistic Regression.

The final model was saved based on training LR with n-grams of range (1,3) as lexical features.

The trainingg set classification report was:

alttext

The Test set classification report was:

alttext

The AUC-ROC curve for test set was:

alttext

Hate Score prediction

documentation goes here

Contributed By

Nitin Chauhan and Srijan Singh

haterase's People

Contributors

srijansingh53 avatar chauhan17nitin avatar

Stargazers

Roman avatar

Watchers

 avatar

Forkers

srijansingh53

haterase's Issues

can not import model

please see my preprocess.py file i am not able to import models can u help me fix it.??

Using Real-time Streaming api

Bruh How we will use the streaming api code
where will we place that particular code
do we need to use threading??

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.