Skip to content
This repository has been archived by the owner on Jun 29, 2019. It is now read-only.

Azure-Samples/MachineLearningSamples-TwitterSentimentPrediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use word embeddings to predict Twitter sentiment following Team Data Science Process

NOTE This content is no longer maintained. Visit the Azure Machine Learning Notebook project for sample Jupyter notebooks for ML and deep learning with Azure Machine Learning.

Link to the Microsoft DOCS site

Documentation that walks you through this example is available at:

https://docs.microsoft.com/azure/machine-learning/team-data-science-process/predict-twitter-sentiment

Link to the Gallery GitHub repository

The public GitHub repository for this example contains all the code samples: https://github.com/Azure/MachineLearningSamples-TwitterSentimentPrediction

Link to the end-to-end walkthrough in GitHub

Ths public GitHub repository for this sample containing step by step instructions: https://github.com/Azure/MachineLearningSamples-TwitterSentimentPrediction/blob/master/docs/deliverable_docs/Step_By_Step_Tutorial.md

Summary

Sentiment analysis is a widely research topic in the Natural Language Processing domain. It has the applications in consumer reviews mining, public opinion mining and advertisement on online forums. Many of the sentiment analysis approaches use handcrafted features but the popularity of unsupervised and semi supervised approached to generate word embeddings have made these embedding techniques an important way to generate features. In this sample we are going to demonstrate the usage of Word Embedding algorithms like Word2Vec and SSWE to predict sentiment polarity. This end-to-end process is implemented in Azure Machine Learning Workbench.

Description

The aim of this sample is to highlight how to use Azure Machine Learning Workbench to predict the sentiment of Twitter text data. Here are the key points addressed:

  • How to train a Word2Vec embeddings model
  • How to train a SSWE embeddings model
  • How to use Word2Vec and SSWE embeddings in GBM model and Logistic Model
  • How to use Keras with CNTK/TensorFlow backend on a GPU-enabled Azure Data Science Virtual Machine (GPU DSVM).
  • Demonstrate that GBM model using SSWE embeddings achieves the best model in terms of AUC
  • Demonstrate how to train and operationalize a machine learning model using Azure Machine Learning Workbench.

The following capabilities within Azure Machine Learning Workbench are covered in this sample:

  • Instantiation of Team Data Science Process (TDSP) structure and templates.
  • Automated management of your project dependencies including the download and the installation.
  • Execution of Python scripts.
  • Run history tracking for Python files.
  • Execution of jobs in Azure GPU VMs.
  • Easy operationalization of learning models as web-services hosted on Azure Container Services.

The detailed documentation for this scenario including the step-by-step walk-through: https://review.docs.microsoft.com/en-us/azure/machine-learning/preview/scenario-tdsp-twitter-sentiment.

For code samples, click the View Project icon on the right and visit the project GitHub repository.

Key components needed to run this example:

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

About

Use deep learning techniques to predict sentiment of twitter text

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published