GithubHelp home page GithubHelp logo

ricelli / sentiment-analysis-keras-lstm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luisfredgs/sentiment-analysis-keras-lstm

0.0 0.0 0.0 2.76 MB

Classificação de sentimentos usando Keras e redes neurais recorrentes LSTM

Python 100.00%

sentiment-analysis-keras-lstm's Introduction

sentiment-analysis-keras-lstm

Classificação de sentimentos usando Keras e redes neurais recorrentes LSTM

Este é o código que foi apresentado durante o vídeo: https://youtu.be/bIcadBu--u8

Dependências

Você vai precisar dos seguintes pacotes instalados:

  • tensorflow >= 1.8.0
  • keras >= 2.1.5
  • matplotlib >= 2.2.2
  • nltk >= 3.2.5
  • tqdm >= 4.23.3
  • scikit-learn >= 0.19.0
  • pandas >= 0.22.0
  • xlrd >= 1.1.0

Onde baixar o dataset

Eu já preparei o dataset e o disponibilizei formatado em uma planilha excel. Você pode baixá-lo neste link: https://1drv.ms/u/s!AtlcQ2oZw-Fri_lQozAJALF6uKjgVQ. Depois de baixar o arquivo, coloque-o na pasta dataset/. Porém, caso você prefera baixar no formato original, segue o link:

IMDB dataset: http://www.cs.cornell.edu/people/pabo/movie-review-data/review_polarity.tar.gz

GloVe: Global Vectors for Word Representation

GloVe: Global Vectors for Word Representation: https://nlp.stanford.edu/projects/glove/ Glove Word Representations (pre-trained word vectors): http://nlp.stanford.edu/data/glove.6B.zip

Depois de baixar os word embeddings pré-treinados, mova os arquivos descompactados para dentro da pasta word_embedding/.

Participe do grupo que criei no slack

Grupo no Slack: https://join.slack.com/t/falandosobreia/shared_invite/enQtMzI4NjkzMjI1NjgyLTZlN2VhN2VkMzc2MjYxNDYzOWZkNWEzZWQ5MmM5NDA2NWFmYzFlNTVjMmUxMzQyMGYwOTk4Y2JhNTI0ZjNmYzg

sentiment-analysis-keras-lstm's People

Contributors

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