The Wayback Machine - https://web.archive.org/web/20201209230918/https://github.com/KwokHing/SentimentAnalysis-Python-Demo
Skip to content

Submission of an in-class NLP sentiment analysis competition held at Microsoft AI Singapore group. This submission entry explores the performance of both lexicon & machine-learning based models

master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

Exploration of Sentiment Analysis using Lexicon and Machine-Learning Based Methods

This repo provides the submission entry for an in-class NLP sentiment analysis competition held at Microsoft AI Singapore group using techniques learned in class to classify text in identifying positive or negative sentiment.

Data for this in-class competition comes from the Sentiment140 dataset where the training and test data consists of randomly sampled 10% and 5% of the Sentiment140 dataset.

  • Text Pre-processing
  • VADER (a VALENCE based sentiment analyzer)
  • Naive Bayes
  • Linear SVM (Support Vector Machine)
  • Decision Tree
  • Random Forest
  • Extra Trees
  • SVC

jpg

Getting started

Open SentimentAnalysis.ipynb on a jupyter notebook environment. Alternatively, you can view the codes in Google Colab here. The notebook consists of further technical details.

Improvements

Could potentially explore the use of Deep Learning Techniques such as RNN and/or LSTM for sentiment analysis

You can’t perform that action at this time.