Videos

How to Do Sentiment Analysis – Intro to Deep Learning #3



Siraj Raval

In this video, we’ll use machine learning to help classify emotions! The example we’ll use is classifying a movie review as either positive or negative via TF Learn in 20 lines of Python.

Coding Challenge for this video:
https://github.com/llSourcell/How_to_do_Sentiment_Analysis

Ludo’s winning code:
https://github.com/ludobouan/pure-numpy-feedfowardNN

See Jie Xun’s runner up code:
https://github.com/jiexunsee/Neural-Network-with-Python

Tutorial on setting up an AMI using AWS:
http://www.bitfusion.io/2016/05/09/easy-tensorflow-model-training-aws/

More learning resources:
http://deeplearning.net/tutorial/lstm.html
https://www.quora.com/How-is-deep-learning-used-in-sentiment-analysis
https://gab41.lab41.org/deep-learning-sentiment-one-character-at-a-t-i-m-e-6cd96e4f780d#.nme2qmtll
http://k8si.github.io/2016/01/28/lstm-networks-for-sentiment-analysis-on-tweets.html
https://www.kaggle.com/c/word2vec-nlp-tutorial

Please Subscribe! And like. And comment. That’s what keeps me going.

Join us in our Slack channel:
wizards.herokuapp.com

If you’re wondering, I used style transfer via machine learning to add the fire effect to myself during the rap part.

Please support me on Patreon:
https://www.patreon.com/user?u=3191693
Follow me:
Twitter: https://twitter.com/sirajraval
Facebook: https://www.facebook.com/sirajology Instagram: https://www.instagram.com/sirajraval/ Instagram: https://www.instagram.com/sirajraval/
Signup for my newsletter for exciting updates in the field of AI:
https://goo.gl/FZzJ5w
Hit the Join button above to sign up to become a member of my channel for access to exclusive content!

Source

Similar Posts

44 thoughts on “How to Do Sentiment Analysis – Intro to Deep Learning #3
  1. How do I save the trained model and reload it on another python program? Can you give an example on how to use the model, and the real world application?

  2. Getting an error not sure what I've done wrong:

    Traceback (most recent call last):
    File "sentiment.py", line 6, in <module>
    valid_portion=0.1)
    ValueError: too many values to unpack (expected 2)

    Do you have the code for this demo hosted anywhere?

  3. hi sairaj great work
    I want to transform one sentiment to other in the same word or statement,like where in interogative to where in exited form
    pls guide a line of action

  4. Why you do not finished the example? Seeing on screen only Training Step: xxx | total loss: xxx is trivial. You should add prediction and also conversion of numbers from pkl into words/

  5. If you used less time on memes and cringe rap lyrics, perhaps you could spend more time explaining this complex topic a little bit better.

  6. "Waldeinsamkeit" is cool. I think we actually have a similar word in english, it's "Sonder" and it means that realization that everyone in the universe is the main character in a story just as much as you are. Their definitions don't sound very close, but to me at least they have a similar "ships pass in the night" feeling to them, you know? Which is an excellent example of the lingual subtleties a Lexicon would fail to catch! =D

  7. where did you define the architecture of the network here? I see that you did it in network building but I'm trying to grasp what the final architecture looks like.

  8. Hi Siraj Raval,

    I am planning to create a twitter suicidality detection system. Can I get an advice on what to do to have a high accuracy of prediction? Can I apply deep learning with small data? Can I apply deep learning eith human interaction or human in the loop?

  9. Can you please tell me which software(s) did you install in order to run this program? I'm facing problem in installing tensorflow. Thank you. Please reply asap.

  10. love your approach but unfortunately not so good for beginners like my self, even if play the pause, replay or play in slower speed there are so many things i feel i need more explanation on. nevertheless I enjoy watching anyway 🙂

  11. hey siraj! recently i have chosen sentiment analysis as our sophomore project but i have no knowledge of machine learning or anything related to it. could you suggest how i should get started? i want to analyze amazon reviews and classify them. thanks a ton!

  12. I am using part of this video as a reference in my university report on automatic sarcasm detection. Thank you, Siraj, for this simple and concise video.

Comments are closed.

WP2Social Auto Publish Powered By : XYZScripts.com