Тёмный

TWITTER SENTIMENT ANALYSIS (NLP) | Machine Learning Projects | GeeksforGeeks 

GeeksforGeeks
Подписаться 785 тыс.
Просмотров 96 тыс.
50% 1

Dive into the language of social media with this exciting episode of our Machine Learning Project Series! 📊🔍 Here, we unravel Twitter Sentiment Analysis using Natural Language Processing (NLP) and Machine Learning. 🐦🤖
Explore the power of NLP in understanding and interpreting human sentiments on social media platforms. Whether you're a data enthusiast or a coding pro, this hands-on project provides valuable insights into the world of machine learning applications.
📑 Related Article: www.geeksforge...
-------------------------------------------------------------------------
🔴 More Machine Learning Projects: • Machine Learning Projects
🔴 Stock Price Prediction Project using ML: • STOCK PRICE PREDICTION...
🔴 MOVIE RECOMMENDATION SYSTEM Using Machine Learning: • MOVIE RECOMMENDATION S...
-------------------------------------------------------------------------
📚 Explore Our Courses: practice.geeks...
-------------------------------------------------------------------------
Follow us for more fun, knowledge and resources:
💬 Twitter- / geeksforgeeks
🧑‍💼 LinkedIn- / geeksforgeeks
📷 Instagram- www.instagram....
💌 Telegram- t.me/s/geeksfo...
📱 Download GeeksforGeeks' Official App: geeksforgeeksa...
Related Queries:
Twitter Sentiment Analysis in Machine Learning
NLP Project
Natural Language Processing in ML
ML project sentiment analysis
sentiment analysis NLP project
Machine Learning Project
Natural Language Processing Projects
Twitter Sentiment Analysis Project
Social Media Analysis Project
Machine Learning NLP
#GeeksforGeeks #GfG #NLP #naturallanguageprocessing #machinelearning #mlprojects #projects #twitter #X #sentimentanalysis #python

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 130   
@GeeksforGeeksVideos
@GeeksforGeeksVideos 9 месяцев назад
Related Article: www.geeksforgeeks.org/twitter-sentiment-analysis-using-python/
@alexramos587
@alexramos587 10 месяцев назад
Great content from Siddhardhan.
@Sany1920
@Sany1920 4 месяца назад
you got it bro!
@albingeorgekurian4396
@albingeorgekurian4396 5 месяцев назад
hello friends i have completed the more than half tutorial still need to go.. in the tutorial I have seen that the stemming is taking to much time (almost 50m) so I just optimized it little bit.... code: [ ] pattern =re.compile('[^a-zA-Z]') [ ] english_stopwords = stopwords.words('english') [ ] port_stemmer = PorterStemmer() [ ] def stemming(content): stemmed_content = re.sub(pattern,' ',content) stemmed_content = stemmed_content.lower() stemmed_content = stemmed_content.split() stemmed_content = [port_stemmer.stem(word) for word in stemmed_content if not word in english_stopwords] stemmed_content = ' '.join(stemmed_content) return stemmed_content [ ] twitter_data['stemmed_content'] = twitter_data['text'].apply(stemming) mine just completed in 6m
@infinity8982
@infinity8982 5 месяцев назад
I can't thank you enough 🛐finally I can continue the video😭
@amogu_07
@amogu_07 4 месяца назад
@@infinity8982did u complete it bro is it working??
@vanshikajain3014
@vanshikajain3014 Месяц назад
can u provide the link of source code or share it with me
@yuktasharma7921
@yuktasharma7921 18 дней назад
Hey can u please provide the whole source code if u have done
@sunshineandrainbow5453
@sunshineandrainbow5453 3 месяца назад
Beautifully explained!!! Thanks a lot sir 🙏🏻🙏🏻🙏🏻 PS : How can we use it to make a project which will take input from the user
@codehub8326
@codehub8326 10 месяцев назад
Pls make a video on career recommendation after secondary school using ML
@sumitsamanta7416
@sumitsamanta7416 2 дня назад
u said abt overfitting and we can clearly see the model is overfitted so can we improve the accuracy and make the model little underfit ?
@shlokkumar6257
@shlokkumar6257 6 месяцев назад
siddharthan sir, congratuations for joining geeks for geeks.
@rachanikhilrnr
@rachanikhilrnr 10 месяцев назад
But what if I want to test on new data
@Sagardeep_Das
@Sagardeep_Das Месяц назад
Thank you so much gfg. I even applied neutral tweets in doing this sentiment analysis. I will try to do this for other social media datasets.
@monemtajbid3363
@monemtajbid3363 2 дня назад
can you plz give me all souce code of this project
@charchitsharma3535
@charchitsharma3535 7 дней назад
can anybody tell where is the collab file link
@yuktasharma7921
@yuktasharma7921 18 дней назад
Can u please provide the source code?
@saicharanchepuri8145
@saicharanchepuri8145 3 месяца назад
Just a suggestion it would have been simpler if you directly utilized the methods as they are from the libraries rather than storing each method in a different variable. It kind of makes the code look heavy and also confusing and difficult to follow. Thanks for the tutorial.
@mdafroj9846
@mdafroj9846 8 месяцев назад
Hi can help me i got error at the line 20 of code twitter data['stemmed_content']=Twitter_data['text'].apply(stemming)
@srijantiwari9232
@srijantiwari9232 7 месяцев назад
Solve hua?
@raunakkakkar1231
@raunakkakkar1231 6 месяцев назад
it should be twitter_data not Twitter_data (no capital T)
@suyashsawant8928
@suyashsawant8928 6 месяцев назад
@@raunakkakkar1231 Hi can you help me too I had an error at the same line twitter_data['stemmed_content'] = twitter_data['text'].apply(stemming) and the error was NameError : name 'twitter_data' is not defined
@bindhuaddepalli580
@bindhuaddepalli580 2 месяца назад
@@suyashsawant8928 coz there is no file named twitter data with you
@rahulmahatha9086
@rahulmahatha9086 9 месяцев назад
link to the notebook please....
@janmjaysingh2719
@janmjaysingh2719 5 месяцев назад
How can we use our own tweet or comment to test the machine. As for now we are using index as median. Tell me if i can actually write my own sentence and check whether its negative or positive?😢
@ymmich2143
@ymmich2143 2 месяца назад
I have the same doubt. Please let me know as well if you have found the answer.
@ChithraiSelvan-d8y
@ChithraiSelvan-d8y Месяц назад
​@@ymmich2143 I aslo having same doubts
@ChithraiSelvan-d8y
@ChithraiSelvan-d8y Месяц назад
I
@prasadmahadik3514
@prasadmahadik3514 2 месяца назад
Hi Sir, Can we split data in X customer_Id with Text ? So we can get which customers said negative reviews ?
@Revathi-hb9rs
@Revathi-hb9rs 2 месяца назад
sir,please provide the complete end to end neural network style transfer projects with web application
@janaraj295
@janaraj295 7 месяцев назад
Nice explanation, completed the project👍
@rasdhdg
@rasdhdg 7 месяцев назад
Hi brother. Can you please provide me the code . I will pay you the amount you demand . 🙏🙏🙏🙏🙏🙏
@1anu_ra-dha.
@1anu_ra-dha. 7 месяцев назад
Have you run this project??
@janaraj295
@janaraj295 7 месяцев назад
@@1anu_ra-dha. Yes
@janaraj295
@janaraj295 7 месяцев назад
@@1anu_ra-dha. Yes
@reema9088
@reema9088 5 месяцев назад
Have U run the project ?
@Gharwali_Baatein
@Gharwali_Baatein 9 месяцев назад
sir i have tried the same dataset with same code but the accuracy score is much different then yours ,its causing an overfitting condition ,how it can be improved
@saurabhojha2832
@saurabhojha2832 9 месяцев назад
Kitni aayi thi bhaii?
@saurabhojha2832
@saurabhojha2832 9 месяцев назад
Btao
@Gharwali_Baatein
@Gharwali_Baatein 9 месяцев назад
55%@@saurabhojha2832
@sohailaborhamy7855
@sohailaborhamy7855 5 месяцев назад
The same problem,you solve it or not ?
@bharathikathiresan
@bharathikathiresan 7 месяцев назад
Very Clearly explanation
@boleto7467
@boleto7467 22 дня назад
Can you share the codes
@ashwinipatil5733
@ashwinipatil5733 4 месяца назад
hello I am making web app on it using flask but i am facing this error(tweepy.errors.Unauthorized: 401 Unauthorized 89 - Invalid or expired token.) because i have not basic account so can you help me to solve error .please reply
@syedasabeeh-g4j
@syedasabeeh-g4j 7 месяцев назад
very useful. but my code does not showing stemmed_content and it's taking only 2 to 3 mins to run instead of 55 mins. what can be the error sir
@sizzrizz6074
@sizzrizz6074 7 месяцев назад
You didn't add blank space between the quotation marks at the .join statement.
@tejiriamrasa3258
@tejiriamrasa3258 6 месяцев назад
​@@sizzrizz6074 that isn't the cause of the problem.
@karishmarajput1871
@karishmarajput1871 3 месяца назад
how to add kaggle.json Path in Jupyter notebook ............please reply?
@valac2085
@valac2085 5 месяцев назад
the way he saved model was not enough, you have to lay a data pipeline for new data and also save the vectorizer
@letseducate123
@letseducate123 Месяц назад
Where is the code??
@sizzrizz6074
@sizzrizz6074 7 месяцев назад
Can anyone help my prog shows X_test not defined when running the pickle file in another window . What to do
@UchihaItachiKonohagakure
@UchihaItachiKonohagakure 4 месяца назад
check that line of code where you split the dataset into training and testing sets. where the random state = 2 was mentioned. Also check whether you executed that snippet or not. that could also be an error.
@AbhimanyuKaushik-i5p
@AbhimanyuKaushik-i5p 2 месяца назад
stemming would remove the comma as well as the apostrophe but we need to keep the apostrophe . so what should be the re for that
@154yashraj3
@154yashraj3 2 месяца назад
snaives bayes multinomial model has a higher accuracy
@BTS__Army18
@BTS__Army18 28 дней назад
Where is the code
@sohailaborhamy7855
@sohailaborhamy7855 5 месяцев назад
The output of counts_value not the same your output, why this ?
@shivanshmaurya8520
@shivanshmaurya8520 24 дня назад
Twitter API is not free, what to do now ??
@ritvikraj8384
@ritvikraj8384 5 месяцев назад
Can you send the PPT file which you showed in the beginning of the video?
@AbhimanyuKaushik-i5p
@AbhimanyuKaushik-i5p 2 месяца назад
what to do when null values are found in dataset
@rahulmahatha9086
@rahulmahatha9086 9 месяцев назад
can you provide the source code please
@SWAMINATHANS-id4so
@SWAMINATHANS-id4so 4 месяца назад
sir how to get this project coalab sheet. you told me that link in description.i searched it,i did not get
@deepikaravi9292
@deepikaravi9292 3 месяца назад
Go and search for google colab in google and then click on new notebook .so u will get it
@garima2158
@garima2158 6 месяцев назад
stemming process is taking too long time to execute, due to which i'm not able to apply modelling
@albingeorgekurian4396
@albingeorgekurian4396 5 месяцев назад
we need to optimize the stemming function. like in list comprehension we are using stopwords.words('english') instead of that create a variable outside the function and use that variable instead.. here I guess it will optimize the code than the previous version
@GooSoft
@GooSoft 2 месяца назад
Which library is used like tool?
@elbechir35
@elbechir35 10 месяцев назад
Sır! If we don't have the target column in our Twitter dataset, what should we do?
@albingeorgekurian4396
@albingeorgekurian4396 5 месяцев назад
yes we do..check whether u have selected sentiment140 from kaggle
@subratbhattarai3518
@subratbhattarai3518 5 месяцев назад
Is there a way to convert the vectorized numbers to string again?
@manjukumari3313
@manjukumari3313 4 месяца назад
please share the collab notebook link
@gaganm6639
@gaganm6639 10 месяцев назад
How can we increase the accuracy of the model
@shaikhahsan100
@shaikhahsan100 6 месяцев назад
try different algorithms, maybe some other algorithm works better and gives a better accuracy. Also, if the dataset is not vast like the one on the video try gathering atleast 1000-10000 of data and train again to check the accuracy.
@albingeorgekurian4396
@albingeorgekurian4396 5 месяцев назад
@@shaikhahsan100 have any other suggesstion
@AbhimanyuKaushik-i5p
@AbhimanyuKaushik-i5p 2 месяца назад
what is up and down sampling
@ravindarmadishetty736
@ravindarmadishetty736 10 месяцев назад
Nice explanation
@divyaagarwal3563
@divyaagarwal3563 10 месяцев назад
At the time of fetching api from kaggle I am getting a key error: content length Pls help
@ssenthilnathan3
@ssenthilnathan3 10 месяцев назад
Is this Siddharth? That guy who has a telegram channel named Machine Learning and also a youtube channel? If so! Great to see you buddy❤..
@SWAMINATHANS-id4so
@SWAMINATHANS-id4so 4 месяца назад
sir how to get colab lin
@T1s_kashyap
@T1s_kashyap 2 месяца назад
ho siddharthan sir 😁😁😁😁😁😁😁😁
@AbhishekKumar-wc4nx
@AbhishekKumar-wc4nx 6 месяцев назад
can anyone tell me where we can find the all code in this is project
@GeeksforGeeksVideos
@GeeksforGeeksVideos 5 месяцев назад
You can find everything in this article : www.geeksforgeeks.org/twitter-sentiment-analysis-using-python/
@SWAMINATHANS-id4so
@SWAMINATHANS-id4so 4 месяца назад
how to get colab link
@deepikat4520
@deepikat4520 7 месяцев назад
my training data accuracy is 99% and test data accuracy is 50 my model is overfitted how to avoid it
@BrainyiFY_o0
@BrainyiFY_o0 7 месяцев назад
L1 and L2 regularization are techniques used to prevent overfitting by adding a penalty term to the loss function during training
@rasdhdg
@rasdhdg 7 месяцев назад
Hi brother. Can you please provide me the code . I will pay you the amount you demand . 🙏🙏🙏🙏🙏🙏
@Vkg_Universe
@Vkg_Universe 7 месяцев назад
I also face the same problem
@crickethighlights7185
@crickethighlights7185 6 месяцев назад
Thanks for the video
@1anu_ra-dha.
@1anu_ra-dha. 7 месяцев назад
How to deploy this model on web?? Can anybody please help....?? 🙏🙏
@1anu_ra-dha.
@1anu_ra-dha. 6 месяцев назад
@cll1670 thanks for help
@albingeorgekurian4396
@albingeorgekurian4396 5 месяцев назад
what about creating an interface This is just a suggestion if u have any other ideas please share them.
@saurabhkushwah5388
@saurabhkushwah5388 Месяц назад
Greate Exeplaination sir.
@chahatverma4085
@chahatverma4085 6 месяцев назад
22.25 code shows error. can anyone help?
@albingeorgekurian4396
@albingeorgekurian4396 5 месяцев назад
can u elaborate more
@FarrelHaryomukti
@FarrelHaryomukti Месяц назад
thanks.
@jananeejananee2786
@jananeejananee2786 8 месяцев назад
siddharthan is here(as instructor)
@growingfire
@growingfire 3 месяца назад
Siddharthan Sir
@deepikaravi9292
@deepikaravi9292 3 месяца назад
50.22
@Zainab-en9fd
@Zainab-en9fd 6 месяцев назад
Can anyone tell me is twitter api free
@thedailymotivational
@thedailymotivational 5 месяцев назад
No
@tarandeep6861
@tarandeep6861 3 месяца назад
Great eplanation thanks a lot
@mganesh8473
@mganesh8473 8 месяцев назад
sir why we are not perfoming lemmatization
@javeedma2764
@javeedma2764 6 месяцев назад
based on requirement.lemmatization is some what slow when compared to stemming
@rishikeshnanaware
@rishikeshnanaware 8 месяцев назад
X has 179715 features, but LogisticRegression is expecting 460873 features as input. I am getting this error while executing predict function on test data
@archana2467
@archana2467 5 месяцев назад
How you solved this error
@rishikeshnanaware
@rishikeshnanaware 5 месяцев назад
@@archana2467 for training data use fit_transform function and for testing data use transform() function
@rishikeshnanaware
@rishikeshnanaware 5 месяцев назад
@@archana2467 use fit_transfer function for training data and transfer function for testing data instead of using fit_transfer for testing data
@rishikeshnanaware
@rishikeshnanaware 5 месяцев назад
​@@archana2467 use fit_transform function for training data and transfer function for testing data instead of using fit_transform for testing data
@vildanbozkurt2762
@vildanbozkurt2762 4 месяца назад
@@archana2467 ı had the same mistake. random_state should be equal to 2 or yo should check taht you have written the X_test equation correctly in the "converting the textual data to numerical data" section . I mean ; X_test = vectorizer.transform(X_test)
@Alex-oz5kn
@Alex-oz5kn 10 месяцев назад
It's ML not YemYel
@jubayer1640
@jubayer1640 7 месяцев назад
😄
@OfficeUse-oo4kx
@OfficeUse-oo4kx 6 месяцев назад
What the point you considered 😅
@officialteflon5971
@officialteflon5971 6 месяцев назад
😂😂😂
@ddaayNom
@ddaayNom 7 месяцев назад
49:52
@eedemallika505
@eedemallika505 3 месяца назад
Great Explanation
@ak47gamer810
@ak47gamer810 8 месяцев назад
28:14
@yhd0808
@yhd0808 8 месяцев назад
1:08:00
@yhd0808
@yhd0808 8 месяцев назад
51:27
6 месяцев назад
I have implemented the above code it took some time to stem then I implemented another code with lemmatization it was fast. In general, Lemmas are more computationally expensive than Stemming, when I checked this code again I found a potential change - for each loop, it's calling StopWords instead you can define it once within some variable and call that variable inside the loop. After making these changes it took me 2 mins for stemming using the above code.
@soukarya_ghosh6612
@soukarya_ghosh6612 6 месяцев назад
can u give the dataset link ?
6 месяцев назад
@@soukarya_ghosh6612 You can find it in video itself at 3:30
@thegeeks2002
@thegeeks2002 5 месяцев назад
can you please tell me how's this part of code after changes you mentioned?
5 месяцев назад
@@thegeeks2002 Before it took around 1 hour I guess after these changes it took 2 mins, However I ended up using Lematization even it took 2mins. But this tutorial is really helpful for me to get started with this usecase and then explore more advanced concepts for it.
@shreyanshgupta1587
@shreyanshgupta1587 5 месяцев назад
do you have the code with you rn??
@ChandraShekarYadav-qp8pz
@ChandraShekarYadav-qp8pz 2 месяца назад
develop brain tumor detection project using cnn
Далее
Обменялись песнями с POLI
00:18
Просмотров 260 тыс.
#kikakim
00:10
Просмотров 12 млн
Career Advice For A World After AI
23:07
Просмотров 93 тыс.
What is Sentiment Analysis?
10:05
Просмотров 21 тыс.
Обменялись песнями с POLI
00:18
Просмотров 260 тыс.