Git Product home page Git Product logo

neural_network_on_tweets's Introduction

Twitter Sentiment

Data was gathered from this data challenge My interest was specifically to re-engage in using a Neural Network while using my skills in NLP.

Problem Statement

To create a model that will identify which tweets are hate speech.

Exploritory Data Analysis

While I did go straight into modeling, I did find that the second highest correlation to a tweet with hate speech was "trump" with the most correlated was "allahsoil" which is likely a hashtag, but a phrase I am personally not familiar with. Further research into this term is warrented.

Modeling

My best model was one with an initial layer of 100 neurons and with each subsequent layer being 10 less than the previous with the second to last layer having 5 neurons. Currently I'm using a model with higher numbers of neurons at the start to better account for the large number of features.

Future Steps

  • Include hashtages in the words
  • Hashvectorize to make it faster once it's in the NN
  • Upgrade to a Convolutional Neural Network to see if that's better (and/or LSDM in a Recurrent Neural Network)
  • Set up the Results_df & have it update after every run.
  • Do research into "allahsoil" and any other words or hashtags that we're currently unfamiliar with.

neural_network_on_tweets's People

Contributors

terrajriley avatar

Watchers

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