Це відео не доступне.
Перепрошуємо.

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

Поділитися
Вставка
  • Опубліковано 12 лис 2023
  • 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

КОМЕНТАРІ • 119

  • @GeeksforGeeksVideos
    @GeeksforGeeksVideos  8 місяців тому +4

    Related Article: www.geeksforgeeks.org/twitter-sentiment-analysis-using-python/

  • @shlokkumar6257
    @shlokkumar6257 4 місяці тому +5

    siddharthan sir, congratuations for joining geeks for geeks.

  • @alexramos587
    @alexramos587 8 місяців тому +18

    Great content from Siddhardhan.

    • @Sany1920
      @Sany1920 2 місяці тому

      you got it bro!

  • @codehub8326
    @codehub8326 8 місяців тому +6

    Pls make a video on career recommendation after secondary school using ML

  • @user-vz8tn9es5f
    @user-vz8tn9es5f 15 днів тому

    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

  • @saurabhkushwah5388
    @saurabhkushwah5388 8 днів тому

    Greate Exeplaination sir.

  • @bharathikathiresan
    @bharathikathiresan 6 місяців тому +3

    Very Clearly explanation

  • @sunshineandrainbow5453
    @sunshineandrainbow5453 Місяць тому

    Beautifully explained!!! Thanks a lot sir 🙏🏻🙏🏻🙏🏻
    PS : How can we use it to make a project which will take input from the user

  • @rachanikhilrnr
    @rachanikhilrnr 8 місяців тому +4

    But what if I want to test on new data

  • @janaraj295
    @janaraj295 6 місяців тому +4

    Nice explanation, completed the project👍

    • @rasdhdg
      @rasdhdg 5 місяців тому

      Hi brother. Can you please provide me the code . I will pay you the amount you demand . 🙏🙏🙏🙏🙏🙏

    • @1anu_ra-dha.
      @1anu_ra-dha. 5 місяців тому

      Have you run this project??

    • @janaraj295
      @janaraj295 5 місяців тому

      @@1anu_ra-dha. Yes

    • @janaraj295
      @janaraj295 5 місяців тому

      @@1anu_ra-dha. Yes

    • @reema9088
      @reema9088 3 місяці тому

      Have U run the project ?

  • @janmjaysingh2719
    @janmjaysingh2719 4 місяці тому +2

    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 Місяць тому

      I have the same doubt. Please let me know as well if you have found the answer.

  • @FarrelHaryomukti
    @FarrelHaryomukti 4 дні тому

    thanks.

  • @prasadmahadik3514
    @prasadmahadik3514 15 днів тому

    Hi Sir, Can we split data in X customer_Id with Text ? So we can get which customers said negative reviews ?

  • @crickethighlights7185
    @crickethighlights7185 5 місяців тому +1

    Thanks for the video

  • @eedemallika505
    @eedemallika505 2 місяці тому

    Great Explanation

  • @tarandeep6861
    @tarandeep6861 2 місяці тому

    Great eplanation
    thanks a lot

  • @ravindarmadishetty736
    @ravindarmadishetty736 8 місяців тому +2

    Nice explanation

  • @Revathi-hb9rs
    @Revathi-hb9rs Місяць тому

    sir,please provide the complete end to end neural network style transfer projects with web application

  •  5 місяців тому

    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 5 місяців тому

      can u give the dataset link ?

    •  5 місяців тому

      @@soukarya_ghosh6612 You can find it in video itself at 3:30

    • @thegeeks2002
      @thegeeks2002 3 місяці тому

      can you please tell me how's this part of code after changes you mentioned?

    •  3 місяці тому

      @@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 3 місяці тому

      do you have the code with you rn??

  • @mdafroj9846
    @mdafroj9846 6 місяців тому +2

    Hi can help me i got error at the line 20 of code twitter data['stemmed_content']=Twitter_data['text'].apply(stemming)

    • @srijantiwari9232
      @srijantiwari9232 6 місяців тому

      Solve hua?

    • @raunakkakkar1231
      @raunakkakkar1231 5 місяців тому

      it should be twitter_data not Twitter_data (no capital T)

    • @suyashsawant8928
      @suyashsawant8928 4 місяці тому

      @@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 27 днів тому

      @@suyashsawant8928 coz there is no file named twitter data with you

  • @user-ek5pv8in3w
    @user-ek5pv8in3w 6 місяців тому +1

    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 5 місяців тому

      You didn't add blank space between the quotation marks at the .join statement.

    • @tejiriamrasa3258
      @tejiriamrasa3258 4 місяці тому

      ​@@sizzrizz6074 that isn't the cause of the problem.

  • @Gharwali_Baatein
    @Gharwali_Baatein 8 місяців тому +2

    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

  • @subratbhattarai3518
    @subratbhattarai3518 3 місяці тому

    Is there a way to convert the vectorized numbers to string again?

  • @saicharanchepuri8145
    @saicharanchepuri8145 2 місяці тому

    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.

  • @gaganm6639
    @gaganm6639 8 місяців тому +7

    How can we increase the accuracy of the model

    • @shaikhahsan100
      @shaikhahsan100 4 місяці тому +1

      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 4 місяці тому

      @@shaikhahsan100 have any other suggesstion

  • @growingfire
    @growingfire 2 місяці тому

    Siddharthan Sir

  • @sizzrizz6074
    @sizzrizz6074 5 місяців тому +1

    Can anyone help my prog shows
    X_test not defined when running the pickle file in another window . What to do

    • @UchihaItachiKonohagakure
      @UchihaItachiKonohagakure 2 місяці тому

      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.

  • @rahulmahatha9086
    @rahulmahatha9086 8 місяців тому +2

    link to the notebook please....

  • @user-vz8tn9es5f
    @user-vz8tn9es5f 15 днів тому

    what to do when null values are found in dataset

  • @user-vz8tn9es5f
    @user-vz8tn9es5f 15 днів тому

    what is up and down sampling

  • @divyaagarwal3563
    @divyaagarwal3563 8 місяців тому

    At the time of fetching api from kaggle
    I am getting a key error: content length
    Pls help

  • @elbechir35
    @elbechir35 8 місяців тому +1

    Sır! If we don't have the target column in our Twitter dataset, what should we do?

    • @albingeorgekurian4396
      @albingeorgekurian4396 4 місяці тому

      yes we do..check whether u have selected sentiment140 from kaggle

  • @karishmarajput1871
    @karishmarajput1871 Місяць тому

    how to add kaggle.json Path in Jupyter notebook ............please reply?

  • @GooSoft
    @GooSoft 21 день тому

    Which library is used like tool?

  • @sohailaborhamy7855
    @sohailaborhamy7855 3 місяці тому

    The output of counts_value not the same your output, why this ?

  • @valac2085
    @valac2085 4 місяці тому

    the way he saved model was not enough, you have to lay a data pipeline for new data and also save the vectorizer

  • @ritvikraj8384
    @ritvikraj8384 3 місяці тому

    Can you send the PPT file which you showed in the beginning of the video?

  • @garima2158
    @garima2158 4 місяці тому

    stemming process is taking too long time to execute, due to which i'm not able to apply modelling

    • @albingeorgekurian4396
      @albingeorgekurian4396 4 місяці тому

      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

  • @rishikeshnanaware
    @rishikeshnanaware 6 місяців тому

    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 4 місяці тому

      How you solved this error

    • @rishikeshnanaware
      @rishikeshnanaware 4 місяці тому

      @@archana2467 for training data use fit_transform function and for testing data use transform() function

    • @rishikeshnanaware
      @rishikeshnanaware 4 місяці тому

      @@archana2467 use fit_transfer function for training data and transfer function for testing data instead of using fit_transfer for testing data

    • @rishikeshnanaware
      @rishikeshnanaware 4 місяці тому

      ​@@archana2467 use fit_transform function for training data and transfer function for testing data instead of using fit_transform for testing data

    • @vildanbozkurt2762
      @vildanbozkurt2762 3 місяці тому

      @@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)

  • @ssenthilnathan3
    @ssenthilnathan3 9 місяців тому +5

    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 2 місяці тому

    sir how to get this project coalab sheet. you told me that link in description.i searched it,i did not get

    • @deepikaravi9292
      @deepikaravi9292 Місяць тому

      Go and search for google colab in google and then click on new notebook .so u will get it

  • @rahulmahatha9086
    @rahulmahatha9086 8 місяців тому +1

    can you provide the source code please

  • @jananeejananee2786
    @jananeejananee2786 7 місяців тому

    siddharthan is here(as instructor)

  • @manjukumari3313
    @manjukumari3313 2 місяці тому

    please share the collab notebook link

  • @T1s_kashyap
    @T1s_kashyap 26 днів тому

    ho siddharthan sir 😁😁😁😁😁😁😁😁

  • @user-qh3ix7jv4q
    @user-qh3ix7jv4q 5 місяців тому

    49:52

  • @154yashraj3
    @154yashraj3 Місяць тому

    snaives bayes multinomial model has a higher accuracy

  • @AbhishekKumar-wc4nx
    @AbhishekKumar-wc4nx 4 місяці тому

    can anyone tell me where we can find the all code in this is project

    • @GeeksforGeeksVideos
      @GeeksforGeeksVideos  4 місяці тому

      You can find everything in this article : www.geeksforgeeks.org/twitter-sentiment-analysis-using-python/

  • @yhd0808
    @yhd0808 7 місяців тому

    1:08:00

  • @letseducate123
    @letseducate123 7 днів тому

    Where is the code??

  • @ashwinipatil5733
    @ashwinipatil5733 2 місяці тому

    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

  • @SWAMINATHANS-id4so
    @SWAMINATHANS-id4so 2 місяці тому

    sir how to get colab lin

  • @mganesh8473
    @mganesh8473 6 місяців тому

    sir why we are not perfoming lemmatization

    • @javeedma2764
      @javeedma2764 5 місяців тому

      based on requirement.lemmatization is some what slow when compared to stemming

  • @SWAMINATHANS-id4so
    @SWAMINATHANS-id4so 2 місяці тому

    how to get colab link

  • @deepikat4520
    @deepikat4520 5 місяців тому

    my training data accuracy is 99% and test data accuracy is 50 my model is overfitted how to avoid it

    • @BrainyiFY_o0
      @BrainyiFY_o0 5 місяців тому

      L1 and L2 regularization are techniques used to prevent overfitting by adding a penalty term to the loss function during training

    • @rasdhdg
      @rasdhdg 5 місяців тому

      Hi brother. Can you please provide me the code . I will pay you the amount you demand . 🙏🙏🙏🙏🙏🙏

    • @VikashGupta-10
      @VikashGupta-10 5 місяців тому

      I also face the same problem

  • @1anu_ra-dha.
    @1anu_ra-dha. 5 місяців тому

    How to deploy this model on web??
    Can anybody please help....?? 🙏🙏

    • @1anu_ra-dha.
      @1anu_ra-dha. 5 місяців тому

      @cll1670 thanks for help

    • @albingeorgekurian4396
      @albingeorgekurian4396 4 місяці тому

      what about creating an interface This is just a suggestion if u have any other ideas please share them.

  • @ak47gamer810
    @ak47gamer810 6 місяців тому

    28:14

  • @chahatverma4085
    @chahatverma4085 4 місяці тому

    22.25 code shows error. can anyone help?

  • @albingeorgekurian4396
    @albingeorgekurian4396 4 місяці тому +4

    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 3 місяці тому +1

      I can't thank you enough 🛐finally I can continue the video😭

    • @amogu_07
      @amogu_07 3 місяці тому

      @@infinity8982did u complete it bro is it working??

    • @vanshikajain3014
      @vanshikajain3014 11 днів тому

      can u provide the link of source code or share it with me

  • @deepikaravi9292
    @deepikaravi9292 Місяць тому

    50.22

  • @Alex-oz5kn
    @Alex-oz5kn 9 місяців тому +25

    It's ML not YemYel

  • @Zainab-en9fd
    @Zainab-en9fd 5 місяців тому

    Can anyone tell me is twitter api free

  • @ChandraShekarYadav-qp8pz
    @ChandraShekarYadav-qp8pz 28 днів тому

    develop brain tumor detection project using cnn

  • @yhd0808
    @yhd0808 7 місяців тому

    51:27