Giter Site home page Giter Site logo

nagypeterjob / sentiment-analysis-nltk-ml-lstm Goto Github PK

View Code? Open in Web Editor NEW
72.0 8.0 57.0 1003 KB

Sentiment Analysis on the First Republic Party debate in 2016 based on Python,NLTK and ML.

License: MIT License

Jupyter Notebook 100.00%
sentiment-analysis nltk republic-party-debate python keras lstm recurrent-neural-networks

sentiment-analysis-nltk-ml-lstm's Introduction

Sentiment-Analysis-NLTK-ML and LSTM

Sentiment Analysis on the First Republic Party debate in 2016 based on Python,NLTK and ML | LSTM.

  • Sentiment.ipynb contains ML implementation of the problem
  • LSTM.ipynb contains a Recurrant Neural Network implementation of the problem

sentiment-analysis-nltk-ml-lstm's People

Contributors

nagypeterjob avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sentiment-analysis-nltk-ml-lstm's Issues

sentiment.csv file

hi, I am learning. can you please help to provide the sentiment.csv file and the steps to run this. thank you.

error when i tried to extract a validation set

Hello , i got this error when i tried to extract a validation set, and measuring score and accuracy :


---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-23-580a17ec56d5> in <module>()
      5 X_test = X_test[:-validation_size]
      6 Y_test = Y_test[:-validation_size]
----> 7 score,acc = model.evaluate(X_test, Y_test, verbose = 0, batch_size = validation_size)
      8 print("score: %.2f" % (score))
      9 print("acc: %.2f" % (acc))

ValueError: not enough values to unpack (expected 2, got 0)

Why i got this error ?

pre-processing

Hello,
is by any chance also the script to create the .csv file available?
thanks

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.