Coder Social home page Coder Social logo

hatespeech's Introduction

A) SOURCES

The paper for this project as well as the table showing the features and models we have to do can be found in the following link https://link.springer.com/article/10.1186/s13673-019-0205-6/tables/9

Codebase for this paper can also be found in the github link provided below https://github.com/sumba101/HateSpeech

B) DATASETS

fulldataset.csv is the complete unaltered dataset given by the paper

cleanDataset.csv is the dataset produced after doing the preprocess on the text data, the code that was used for this preprocessing can be found as in a function in main.py

SimpleFeatures.csv is a csv of features made as per what the paper said. The code for making it can be found in simpleFeatures.ipynb

testingSet and trainingSet csvs are just the cleaned dataset split

C) CODE

The code for training and saving the models on the Simple Features dataset can be found in simpleFeaturesModels.py

BOW and TFIDF and other pickles are pickled and saved vectorizer class models of the training set. I made it to use it in the pipeline format found in pipeline.py

Code for making this BOW and TFIDF models can be found in the testing.ipynb file

Code for the generation of bert,w2v and w2vtfidf can be found in respective python files named as such

The folders with model names have inside then text files that show the report card for the model using the features of said text file name

hatespeech's People

Contributors

sumba101 avatar

Watchers

James Cloos avatar  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.