Twitter sentiment analysis using Python | Machine Learning Project 8

  Рет қаралды 39,661

The AI & DS Channel

The AI & DS Channel

Күн бұрын

Пікірлер: 82
@TheAIandDSChannel
@TheAIandDSChannel 2 жыл бұрын
Dear Viewers, a lot of time and effort goes into making these videos. So, all I ask of you is to subscribe to my channel (this would be at no extra cost to you!) and hit the like button if you find the video useful. This would really help my channel. Thanks in advance! - RCM.
@SIUUfansz
@SIUUfansz 2 жыл бұрын
which algo is used in this project
@13_kajalgangele32
@13_kajalgangele32 2 жыл бұрын
@@SIUUfansz logistics Regression and Support Vector Classifier
@trimmmm11
@trimmmm11 Жыл бұрын
Can you please how to execute twitter sentiment analysis based on ordinal regression project...
@Ajaykumar-ml2us
@Ajaykumar-ml2us Жыл бұрын
Can u let me know the references u took for this
@ricardotalavera8227
@ricardotalavera8227 Жыл бұрын
I am suscribed good video
@TheAIandDSChannel
@TheAIandDSChannel Жыл бұрын
Thank you 😊
@mohammednayyarsiddiqui5005
@mohammednayyarsiddiqui5005 Жыл бұрын
hello sir, there is a doubt am getting somewhat different please help. When i try to implement it the spaces between each word in a sentence is getting removed automatically. i don't know what am doingg wrong please help.(example: Explanation is good ---> Explanationisgood) this is happening need help. Thank you
@ajinkyadhotre3502
@ajinkyadhotre3502 Жыл бұрын
hey in line 11 , have you mistaken anything ? you have written text_df.text = text_df.apply()... is it corrext ? or should it had been text_df = text_df.apply() ?
@TheAIandDSChannel
@TheAIandDSChannel Жыл бұрын
text_df is the name of the dataframe. I'm writing text_df.text to apply the function on that particular column.
@jeevanasenthilkumar
@jeevanasenthilkumar 2 жыл бұрын
Hi sir glad to visit your channel. Nice content and i tried your code and it worked as you have shown in the vedio but last some of the codes you are not used in the vedio whats the purpose of the code?? Can you explain me that pls.
@TheAIandDSChannel
@TheAIandDSChannel 2 жыл бұрын
Thank you so much. Glad to hear that. Can you specify which part of the code you are referring to?
@jeevanasenthilkumar
@jeevanasenthilkumar 2 жыл бұрын
@@TheAIandDSChannel You showed that codes first in the vedio in that you said for live ones try the same code and what is that u can't understand that one ❤️
@TheAIandDSChannel
@TheAIandDSChannel 2 жыл бұрын
@@jeevanasenthilkumar 0:29 shows how to work with live data from Twitter. In order to work with the live data, you need to have a Twitter developer account which gives access to Twitter API from where you can pull the live data. This is a bit time consuming process and hence was avoided in this video.
@madhulikaw2198
@madhulikaw2198 8 ай бұрын
​@@TheAIandDSChannelcan you tell me how to use Twitter api in this
@RashaKhalil-kq3it
@RashaKhalil-kq3it 5 ай бұрын
مرحبا ..كيف يمكنني الحصول على قاعدة البيانات التي تم استخدامها في هذا الفيديو؟
@Jhedataprofesorjr
@Jhedataprofesorjr 3 ай бұрын
I tthim=nk they are aavailable in kaggle: /pfizer-vaccine-tweets/vaccination_tweets.csv
@praghapraghi4560
@praghapraghi4560 2 жыл бұрын
can you please do sentiment analysis using Tensorflow.
@trimmmm11
@trimmmm11 Жыл бұрын
Can you please how to execute twitter sentiment analysis based on ordinal regression project...
@maloriegutierrez1443
@maloriegutierrez1443 2 жыл бұрын
Hi, I can't fix overfitting for Twitter sentiment analysis. I tried many methods but it didn't work. can you just help? And can you share the code please? Thank you.
@TheAIandDSChannel
@TheAIandDSChannel 2 жыл бұрын
Hi, I've updated the link to the code in the video description. github.com/roshancyriacmathew/Twitter-sentiment-analysis-using-Python-Machine-Learning-Project-8 What is the issue with overfitting ?
@rakeshjilthe
@rakeshjilthe 2 жыл бұрын
I want to ask you keyboard shortcut, the way you change the pos_tweets to neg_tweets by selecting only 'pos' word and replacing it with 'neg' word from 16:10 to 16:14 of the video.
@TheAIandDSChannel
@TheAIandDSChannel 2 жыл бұрын
You can check out this video where I explain this keyboard shortcut. kzbin.info/www/bejne/enmxXmOqpd2MoZI
@zahraaalmhana9157
@zahraaalmhana9157 2 жыл бұрын
Can you help me a project that graduated from Sentiment Analysis using Word Sense Disambiguation of word sense disambiguation using Methods (NB, MaxEnt, SVM) and Sentiment Analysis using Deep Learning (CNN, RNN, LSTM) and it doesn't have much information about Python language and project duration It's going to end, please help😭😭😭
@adittiaagustian47
@adittiaagustian47 Жыл бұрын
thank you for the knowledge
@TheAIandDSChannel
@TheAIandDSChannel Жыл бұрын
Your welcome
@artfromtheheart9545
@artfromtheheart9545 Жыл бұрын
Can You Please Make video for this? "Automated Classification of Societal Sentiments on Twitter With Machine Learning"
@rashibhardwaj506
@rashibhardwaj506 Жыл бұрын
Very informative and Amazing video. Thanks for your efforts and time.
@TheAIandDSChannel
@TheAIandDSChannel Жыл бұрын
Happy to hear that. 😊
@nithindarshan8382
@nithindarshan8382 Жыл бұрын
can plz tell me how may classifier using this project bro
@kirtipawar1764
@kirtipawar1764 Жыл бұрын
Which language used in backend database in this project
@bugfamous7264
@bugfamous7264 Жыл бұрын
Great video. Thank you sir !
@TheAIandDSChannel
@TheAIandDSChannel Жыл бұрын
You're Welcome. Glad you found it helpful.
@praveeng.m66
@praveeng.m66 Жыл бұрын
Can anyone please tell what is the logistic regression prediction of the above dataset
@praveeng.m66
@praveeng.m66 Жыл бұрын
Plz requesting to reply to the above question
@vaishnavimanthalkar2158
@vaishnavimanthalkar2158 2 жыл бұрын
Hi, I'm using same code still gaetting different accuracy score then yours why is it so???
@TheAIandDSChannel
@TheAIandDSChannel 2 жыл бұрын
The accuracy of the model may vary depending on many factors some of which include, preprocessing steps, number of iterations, system architecture, data used, etc..
@bot-hn4ud
@bot-hn4ud Жыл бұрын
Can u snd the code
@TheAIandDSChannel
@TheAIandDSChannel Жыл бұрын
You can find the code to all my tutorial videos in the description box. github.com/roshancyriacmathew/Twitter-sentiment-analysis-using-Python-Machine-Learning-Project-8
@13_kajalgangele32
@13_kajalgangele32 2 жыл бұрын
Hello sir i m facing problem in line tweet_df['tweet']=tweet_df['tweet']. apply (lambda x: lemmatizing(x))
@13_kajalgangele32
@13_kajalgangele32 2 жыл бұрын
Pls sir it's imp 🙏
@TheAIandDSChannel
@TheAIandDSChannel 2 жыл бұрын
Hi, if there is an issue with this section of the code, it might be mainly because of the lemmatizing function that you have defined somewhere earlier in the code. So do check if the lemmatizing function is working. This should solve the issue.
@bot-hn4ud
@bot-hn4ud Жыл бұрын
Can I get the project with naive Bayes algorithm
@TheAIandDSChannel
@TheAIandDSChannel Жыл бұрын
Here is another project that I've done using the Naive Bayes algorithm. kzbin.info/www/bejne/pHTVqZpoe7yYirs
@gnaneshp3916
@gnaneshp3916 2 жыл бұрын
Getting an error in .fit(x_train,y_train)
@yccdavis
@yccdavis Жыл бұрын
Thx for the detailed demonstration! I do feel curious though if you already have a way to generate sentiment score why bother running machine learning on it?
@TheAIandDSChannel
@TheAIandDSChannel Жыл бұрын
You're Welcome!. We are generating sentiment scores to get labels for the text data. Sometimes this label is provided in the dataset. We then use this text data, and sentiment polarities to train the machine learning model so that we can use the machine learning model to predict the sentiments for text data that does not have a label, without manually assigning polarities to it.
@abdulwaseemshaik3069
@abdulwaseemshaik3069 Жыл бұрын
Could please tell the inner functionality of textblob and it's calculations
@TheAIandDSChannel
@TheAIandDSChannel Жыл бұрын
I think you would find this article helpful. textblob.readthedocs.io/en/dev/quickstart.html
@Ajaykumar-ml2us
@Ajaykumar-ml2us Жыл бұрын
Can u let me know the references u took for this
@TheAIandDSChannel
@TheAIandDSChannel Жыл бұрын
I'm not sure if I have the reference links for the concepts used in this video as I've built the code on top of a base code that was developed while doing my Master's program.
@jatinjindal9656
@jatinjindal9656 Жыл бұрын
Sir, I did import lib textblob, instead I get error as module not found
@TheAIandDSChannel
@TheAIandDSChannel Жыл бұрын
This might be occurring due to an error while importing the package
@jatinjindal9656
@jatinjindal9656 Жыл бұрын
@@TheAIandDSChannel Thanks
@Saboor-Hamedi
@Saboor-Hamedi 2 жыл бұрын
How do you get user_verified bro?
@TheAIandDSChannel
@TheAIandDSChannel 2 жыл бұрын
It depends on the dataset, for this dataset, this information was already there.
@Saboor-Hamedi
@Saboor-Hamedi 2 жыл бұрын
@@TheAIandDSChannel it means it was inserted manually? Because I cannot get from Twitter on my dataset
@nikhileligar3318
@nikhileligar3318 2 жыл бұрын
how to create web site for this project
@TheAIandDSChannel
@TheAIandDSChannel 2 жыл бұрын
I'm sorry, I don't have much experience with front end (UI) development.
@NisargaK-vs8ps
@NisargaK-vs8ps Жыл бұрын
Can u send the CSV file
@TheAIandDSChannel
@TheAIandDSChannel Жыл бұрын
You can get the link for the CSV file form the following link, www.kaggle.com/datasets/gpreda/pfizer-vaccine-tweets
@ruchitare4016
@ruchitare4016 2 жыл бұрын
hello which algorithm is used in this?
@TheAIandDSChannel
@TheAIandDSChannel 2 жыл бұрын
Hi, The classification algorithms used in this video are, logistic regression and support vector classifier.
@gnaneshp3916
@gnaneshp3916 2 жыл бұрын
Bro u have the python code that can be executed in the pycharm
@TheAIandDSChannel
@TheAIandDSChannel 2 жыл бұрын
Hi, I have given the python code in different formats *(.py and .ipynb)* in my github link which you can find in the video description box.
@gnaneshp3916
@gnaneshp3916 2 жыл бұрын
@@TheAIandDSChannel ya but .py has no file in it
@gnaneshp3916
@gnaneshp3916 2 жыл бұрын
Bro can u send that .py file
@TheAIandDSChannel
@TheAIandDSChannel 2 жыл бұрын
Please check your inbox. I've shared a screenshot of the .py content
@gnaneshp3916
@gnaneshp3916 2 жыл бұрын
Can I get the csv file
@TheAIandDSChannel
@TheAIandDSChannel 2 жыл бұрын
The csv file is avilable on kaggle and I've added the link to the csv file in the video description. www.kaggle.com/datasets/gpreda/pfizer-vaccine-tweets
@gnaneshp3916
@gnaneshp3916 2 жыл бұрын
@@TheAIandDSChannel tq bro
@vaishnavimanthalkar2158
@vaishnavimanthalkar2158 2 жыл бұрын
Can someone help me to solve this Having error in data perprocessing filtered_text = [w for w in text_tokens is not w in stop_words] NameError: name 'w' is not defined
@anaumsharif6380
@anaumsharif6380 Жыл бұрын
us 🤝🤝
@chiomaanyiam1138
@chiomaanyiam1138 Жыл бұрын
Hi... After using your code for stemming, I observed that it wasn't applied as the output showed that the tweets were not stemmed. I would expect that after stemming, the word "bringing" will become "bring". Also how can I remove @mentions with profile names in tweets?
@TheAIandDSChannel
@TheAIandDSChannel Жыл бұрын
You can try and change the stemmer used in this case to give the required result. For more detailed information regarding the different types of stemmers, you can check out my video on stemming where I explain the other techniques. kzbin.info/www/bejne/i3PbfmWFrqyHjsk text = re.sub(r'\@w+|\#','',text) This line of code in the data preprocessing block will help to remove the @ symbols from the data. Hope that helps.
@chiomaanyiam1138
@chiomaanyiam1138 Жыл бұрын
Thanks for responding. Did you implement tokenization and part of speech tagging during the pre-processing phase? That's not exactly clear to me.
@TheAIandDSChannel
@TheAIandDSChannel Жыл бұрын
@@chiomaanyiam1138 Welcome. Tokenization, yes, POS tagging, no. Tokenization was done during the preprocessing step.
@chiomaanyiam1138
@chiomaanyiam1138 Жыл бұрын
Noted, thank you.
@chiomaanyiam1138
@chiomaanyiam1138 Жыл бұрын
Hi... I'm back again! 😊 My model majorly misclassified the negative class. I realised it's because Logistic regression performs well in binary classifications whereas most sentiment analysis task are multi-class tasks. Will you say the choice of the model is wrong? Does that show wrong judgement in model selection if one was being assessed?
@mulyaalfan2354
@mulyaalfan2354 2 жыл бұрын
hello, what if i want to use Naive bayes Algorithm how do i do that? thank you so much for your tutorial btw
@TheAIandDSChannel
@TheAIandDSChannel 2 жыл бұрын
You can use Navie Bayes algorithm for this project. However I have used Logistic Regression and SVC as it best suits the given problem. Instead of using Logistic regression classifier, you can add the code for Naive Bayes (import required libraries) in the same place. I'll be using Navie Bayes classifier in one of my upcoming videos. Thanks - RCM
АЗАРТНИК 4 |СЕЗОН 4 Серия
36:20
Inter Production
Рет қаралды 491 М.
Will A Guitar Boat Hold My Weight?
00:20
MrBeast
Рет қаралды 253 МЛН
ML Was Hard Until I Learned These 5 Secrets!
13:11
Boris Meinardus
Рет қаралды 308 М.
Bitcoin Sentiment Analysis Using Python & Twitter
29:42
Computer Science
Рет қаралды 26 М.
Sentiment Analysis with Transformers in Python
7:34
NeuralNine
Рет қаралды 4,7 М.
How to Create a Beautiful Python Visualization Dashboard With Panel/Hvplot
10:57
Thu Vu data analytics
Рет қаралды 545 М.
Presidential Debate Twitter Sentiment Analysis using Python and NLTK
32:28
Twitter Sentiment Analysis (NLP) | Machine Learning | Python
45:16
Hackers Realm
Рет қаралды 60 М.
Twitter Sentiment Analysis by Python | best NLP model 2022
12:39
AI Spectrum
Рет қаралды 92 М.
АЗАРТНИК 4 |СЕЗОН 4 Серия
36:20
Inter Production
Рет қаралды 491 М.