Git Product home page Git Product logo

5l1v3r1 / twitter-sentiment-analysis-using-1d-convolutional-neural-networks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from faizann24/twitter-sentiment-analysis-using-1d-convolutional-neural-networks

0.0 2.0 0.0 57 KB

Twitter Sentiment Analysis using 1d Convolutional Neural Networks

Home Page: http://www.deepytics.com/twitter-sentiment-analysis-convolutional-neural-networks/

Python 100.00%

twitter-sentiment-analysis-using-1d-convolutional-neural-networks's Introduction

Twitter-Sentiment-Analysis-using-1d-Convolutional-Neural-Networks

Twitter Sentiment Analysis using 1d Convolutional Neural Networks

TRAINING

  • Start the neuralNetworkModule and run it. Before running it, please make two folders in the same directory named vocabulary_dictionary and model_checkpoints. After the training phase is done, you can use the model checkpoints to predict.

PREDICTION SERVICE

  • To predict sentiment for tweets, put them in a text file line by line and run the following script. In case of a single tweet, just put it in a line in a text file and run the script below.

python predictSentiment.py inputFile.txt outputFile.txt

inputFile.txt -> This will contain tweets, one tweet per line. outputFile.txt -> The classifier will predict sentiment for tweets and will save them in this file with headers = tweet, predicted sentiment, probability of predicted sentiment

Article Link: http://www.deepytics.com/twitter-sentiment-analysis-convolutional-neural-networks/

twitter-sentiment-analysis-using-1d-convolutional-neural-networks's People

Contributors

faizann24 avatar

Watchers

 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.