
Tweet Visualization and Sentiment Analysis in Python - Full Tutorial
video description
Date: 2022-03-14
Related videos
Comments and reviews: 10
web
bro,your work is nice. but i want to ask that how to use any trained model in place of textblob? i am cleaning text using textblob but i dont want textblob polarity feature. i want to check polarity by my own trained mode like naive bayes,random forest etc,but all trained model are giving negative value for all sentences during streaming.but when i separately predicting same sentences alone ,it is giving positive,negative ,all correct for sentences. please help me how to use trained model in place of text blob for getting correct prediction.
reply
bro,your work is nice. but i want to ask that how to use any trained model in place of textblob? i am cleaning text using textblob but i dont want textblob polarity feature. i want to check polarity by my own trained mode like naive bayes,random forest etc,but all trained model are giving negative value for all sentences during streaming.but when i separately predicting same sentences alone ,it is giving positive,negative ,all correct for sentences. please help me how to use trained model in place of text blob for getting correct prediction.
reply
Mark
Great video man. I've got a question: how do you add the tweet coordinates or place to the df. I'm referring to the stuff you're describing at the 1:00:00 mark. When you look at what everything in the tweets is called using print(dir(tweets[0])) it says they're called 'coordinates' and 'place'. But if I write this: df['coordinates'] = np.array([tweet.coordinates for tweet in tweets]) and the same for place, they come up empty. Any suggestions? Thanks a lot in advance. i'm gonna keep watching your videos
reply
Great video man. I've got a question: how do you add the tweet coordinates or place to the df. I'm referring to the stuff you're describing at the 1:00:00 mark. When you look at what everything in the tweets is called using print(dir(tweets[0])) it says they're called 'coordinates' and 'place'. But if I write this: df['coordinates'] = np.array([tweet.coordinates for tweet in tweets]) and the same for place, they come up empty. Any suggestions? Thanks a lot in advance. i'm gonna keep watching your videos
reply
Calvin
I am on the visualizing tweet data time stamp 108:00 and while you are able to get the number of likes from the most liked tweet I was wondering how to get the tweet itself with the most likes. I tried sorting the array and printing the first element in the list, but it keeps giving me a -object is not subscriptable-
- error, do you have any idea how to do this?
reply
I am on the visualizing tweet data time stamp 108:00 and while you are able to get the number of likes from the most liked tweet I was wondering how to get the tweet itself with the most likes. I tried sorting the array and printing the first element in the list, but it keeps giving me a -object is not subscriptable-
- error, do you have any idea how to do this?
reply
Siddhanth
Hey i wanted to make a sentiment analysis and publish it to github. But is it really safe to publish twitter api credentials into version control? Please tell me.
P.s. I have used the same method as you did which is making a seperate python file and import it in our main code. But is it still safe?
reply
Hey i wanted to make a sentiment analysis and publish it to github. But is it really safe to publish twitter api credentials into version control? Please tell me.
P.s. I have used the same method as you did which is making a seperate python file and import it in our main code. But is it still safe?
reply
Ronmi
hi,
i am trying to stream live tweets by following the steps axactly as you did but im getting the following error:
TypeError: __init__() missing 4 required positional arguments: 'consumer_key', 'consumer_secret', 'access_token', and 'access_token_secret'
please help.
reply
hi,
i am trying to stream live tweets by following the steps axactly as you did but im getting the following error:
TypeError: __init__() missing 4 required positional arguments: 'consumer_key', 'consumer_secret', 'access_token', and 'access_token_secret'
please help.
reply
Shubham
Hey, I need help. Actually he uploaded this code on github and there are lots of files and i dont know which one to use so that i can show a project for social media sentiment analysis. If anyone can help, please help urgently
reply
Hey, I need help. Actually he uploaded this code on github and there are lots of files and i dont know which one to use so that i can show a project for social media sentiment analysis. If anyone can help, please help urgently
reply
Vaishnavi
Hi, where the text data get the store of tweets and hash tag list also on my computer??? Please reply.
I run you code and it run but I want text file of tweets and hash tag list
reply
Hi, where the text data get the store of tweets and hash tag list also on my computer??? Please reply.
I run you code and it run but I want text file of tweets and hash tag list
reply
Vaishnavi
Hi, where the text data get the store of tweets and hash tag list also on my computer??? Please reply.
I run you code and it run but I want text file of tweets and hash tag list
reply
Hi, where the text data get the store of tweets and hash tag list also on my computer??? Please reply.
I run you code and it run but I want text file of tweets and hash tag list
reply
kamal
Thank you for this code,i got an error ModuleNotFoundError: No module named 'twitter_credentials'-
when trying to run it on anaconda please help me on that?
thank again
reply
Thank you for this code,i got an error ModuleNotFoundError: No module named 'twitter_credentials'-
when trying to run it on anaconda please help me on that?
thank again
reply
Adam
Hi ! Amazing tutorial. I have a question though : How would you do if you wanted to gather sentiments related to a hashtag rather than a user like in the video ?
reply
Hi ! Amazing tutorial. I have a question though : How would you do if you wanted to gather sentiments related to a hashtag rather than a user like in the video ?
reply
Add a review, comment
Other channel videos















