Coder Social home page Coder Social logo

cs655-sentiment-analysis-project's Introduction

Sentiment Analysis of Tweets Relating to Republican Party Presidential Debate Using doc2vec

"How doc2vec Works"

By: Joshua Acosta and Yangyang Chen

Abstract

This study tries to implement a sentiment analysis on a group of Twitter posts concerning the first Republican Party Presidential debate in the year of 2016. The goal is to classify users’ attitudes into three categories by using Doc2vec, an extenstion of shallow neural network models called Word2vec. The methodology tries to create vectors from a group of words and measure their distance between each other. The experiment shows that the highest accuracy for this analysis reached 62% by using the Synthetic Minority Oversampling Technique (SMOTE SVM) as the sampling method and distributed memory (DM) as the training method. There are still challenges remained for future studies in terms of increasing the accuracy rate.

Prerequisites

  • Jupyter Notebook == 4.2.1
  • Scikit-Learn == 0.19.0
  • Gensim == 2.3.0
  • Pandas == 0.19.2
  • Matplotlib == 2.0.0
  • Seaborn == 0.8.0
  • Imbalanced-learn == 0.3.0

How To Use

To clone and run this notebook, you'll need the prerequisties installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/JoshuaAcosta/CS655-Sentiment-Analysis-Project.git

# Go into the repository
$ cd CS655-Sentiment-Analysis-Project

# Run the notebook
$ jupyter notebook

cs655-sentiment-analysis-project's People

Contributors

joshuaacosta avatar

Watchers

James Cloos avatar  avatar

Forkers

meashu291

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.