Giter Site home page Giter Site logo

patrikasvanagas / bi-lstm-glove-sentiment-classification Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 445 KB

End-to-end review sentiment classification with text preprocessing, Bidirectional Long Short-Term Memory networks and Glove embeddings.

License: MIT License

Jupyter Notebook 100.00%
bi-lstm bidirectional-lstm bidirectional-rnn glove glove-embeddings keras long-short-term-memory lstm lstm-sentiment-analysis natural-language-processing

bi-lstm-glove-sentiment-classification's Introduction

Bidirectional-LSTM-Sentiment-Classification

Open In Colab

This repository provides an example of an end-to-end approach to sentiment classification using Bidirectional Long Short-Term Memory networks with pre-trained Glove embeddings. The workflow involves several preprocessing steps, including expansion of contractions and extraction of sentiment from multiple files, before implementing the Bi-LSTM model for classification. Additionally, experiments with early stopping, test sequences and cross-validation are carried out. The dataset, available in this repository, originates from the following paper:

Ding, X., Liu, B. and Yu, P. S. (2008) ‘A Holistic Lexicon-Based Approach to Opinion Mining’. In Proceedings of the 2008 International Conference on Web Search and Data Mining (WSDM '08). DOI: 10.1145/1341531.1341561.

To run the notebook with access to a free GPU, click on the 'Open In Colab' badge above.

bi-lstm-glove-sentiment-classification's People

Contributors

patrikasvanagas 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.