Giter Site home page Giter Site logo

twittersentimentcharcnn's Introduction

TwitterSentimentCharCNN

Character based CNN for Twitter Sentiment Classification

Takes the Twitter data from the Computational Intelligence Lab at ETH from the spring semester 2016 (Project in Exercise 6) and performs a Text Sentiment Classification using a Character based Convolutional Network (CNN).

The CNN used is 9 layers deep with 6 convolutional layers and 3 fully connected layers, heavily inspired by the CNN introduced in the paper 'Character-level Convolutional Networks for Text Classification' by Xiang Zhang, Junbo Zhao, Yann LeCun. https://arxiv.org/abs/1509.01626

As a base code, the code written by https://github.com/scharmchi was used found under https://github.com/scharmchi/char-level-cnn-tf. The code was modified however:

  • Padding was introduced (a padding of 'SAME' instead of 'VALID' in tensorflow)
  • Since the maximal twitter length is 140 and the original paper has a sequence length of 1014 in mind, we only use 2 pooling steps instead of 3 as in the original paper, since otherwise the vectors would get too small
  • You can manually set the number of filters for each convolutional layer

twittersentimentcharcnn's People

Contributors

julianfuchs avatar caligula1313 avatar

Watchers

 avatar paper2code - bot 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.