What is Recurrent Neural Network (RNN)? Deep Learning Tutorial 33 (Tensorflow, Keras & Python)

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024

ความคิดเห็น • 175

  • @codebasics
    @codebasics  2 ปีที่แล้ว +6

    Check out our premium machine learning course with 2 Industry projects: codebasics.io/courses/machine-learning-for-data-science-beginners-to-advanced

    • @jayshreeram6684
      @jayshreeram6684 4 หลายเดือนก่อน

      I don't want to go in NLP can i avoid this ahead videos, because I have to focus on computer vision.

  • @sidsarkar8
    @sidsarkar8 2 ปีที่แล้ว +31

    Saw like 3-4 videos, no one really addressed that there is only one layer that is going through this process. By far the most clear video, thank you!

  • @shresthaditya2950
    @shresthaditya2950 2 ปีที่แล้ว +34

    RNN and Sequence model uses:
    1. Completing Sentences
    2. Translating Sentences
    3. Entity Recognition
    4. Sentiment Analysis
    Sequence is important here
    N.N work on numbers not strings so you will have to apply Hot-Encoding

  • @architnarang3232
    @architnarang3232 3 ปีที่แล้ว +10

    this is brilliant, your explanation truly helps one build a genuine intuition for concepts. found your channel trying to understand whether USE or BERT would be better for my use case, so happy that I did

  • @joycechepkemoichepkwony3530
    @joycechepkemoichepkwony3530 2 ปีที่แล้ว +4

    I am still new in this. Trying to follow up all your videos. You've got good explanation. Thank you.

    • @codebasics
      @codebasics  2 ปีที่แล้ว +1

      👍👍☺️

  • @hamzaashfaque2977
    @hamzaashfaque2977 3 ปีที่แล้ว +3

    Your videos are so simple and easy to understand. They get across the basic intuition of Algorithms with ease. It's been challenging for a me to get in to this field and this content has been really helpful for me.

    • @codebasics
      @codebasics  3 ปีที่แล้ว

      Glad you like them!

  • @buh357
    @buh357 2 ปีที่แล้ว +1

    Thanks, I finally understand RNN. So basically you first encode each words in your sentence then feed encoded vector with weight to the neural network with activation function. Afterwards you feed next encoded vector with weight feed into neural network until feed all the words. So it’s like a loop, we only using on neural network. That a important point. And then we calculate the loss and use back propagation to adjust the weight and bias in our network.

  • @jimnason7293
    @jimnason7293 ปีที่แล้ว +1

    When I do NLP processing now, I apply a Lisp or Prolog based approach where one matches everything at once. Years ago I learned that to understand a sentence, one must know the words, and to know the words, one must know the sentence. So the approach is to look at the whole sentence, and process the words and the sentence at the same time and as each part is discovered or combined, they reinforce the others. Nice video ----

    • @codebasics
      @codebasics  ปีที่แล้ว

      👍🏼👍🏼👍🏼

    • @jimnason7293
      @jimnason7293 ปีที่แล้ว

      @@codebasics its the ole 22 phrase, one cannot get a job without experience, so how do I get experience without a job" ----- you process both simultaneously from front to back, back to front, and the middle in between, as each word is identified, the phrase becomes identified, yet the phrase cannot be identified until the word is identified" Do multiple threading on the sentence at the same time, while continually combining into the largest sections and to the most discrete sections and bubble up and bubble down - bottom up, top down, meet somewhere in the middle where all parts agree ----------- so simple in an analogy ----- so now I code it once again :-)

  • @zanwardrrknec953
    @zanwardrrknec953 2 ปีที่แล้ว +4

    Amazing. Sir, you may not be aware how easy you are making it. How close you are taking us to application. You must be taking huge efforts to make it so.

    • @codebasics
      @codebasics  2 ปีที่แล้ว

      Thanks zanwardr for your feedback

  • @faddsfadds5690
    @faddsfadds5690 4 หลายเดือนก่อน

    This is my firstv video in ai or deep leanring, but clearly understood, tq for the clear cut explaination, by seeing your video i am very curious to explore this field of ai and deep learning, thank you.

  • @nurbekss2729
    @nurbekss2729 2 ปีที่แล้ว

    dude,where you have been all this time?!Great video!! Finally got a pure and exact explanation of ML models!!

  • @arjunreddy7203
    @arjunreddy7203 3 ปีที่แล้ว +3

    Keep these coming! Loving them.

  • @maitreyamoharil4299
    @maitreyamoharil4299 ปีที่แล้ว

    Best video i have seen till now about basic understanding of RNN
    Thank you

  • @prasannan-robots
    @prasannan-robots 3 ปีที่แล้ว +2

    I was waiting for this.

  • @darshilvshah
    @darshilvshah 3 ปีที่แล้ว +1

    Superb video !!!....in fact most of the videos of this channel are amazing !!!!

    • @codebasics
      @codebasics  3 ปีที่แล้ว

      Glad you like them!

  • @crazysilvershine
    @crazysilvershine 2 ปีที่แล้ว

    Very crisp and to the point.Excellent explanation

  • @chocky_1874
    @chocky_1874 3 ปีที่แล้ว

    Hy bro, u r really awsmm. I don't really understand the class, explained by my professor. before going to the class, i will go through ur tutorials. it really helps me to understand well. thank you bro

  • @rayaneaboud9043
    @rayaneaboud9043 7 หลายเดือนก่อน

    great job taking your time explaining those notions thank you!

  • @rohithmandya2872
    @rohithmandya2872 2 ปีที่แล้ว

    Nicely explained. I came back online just to give a thumbs up and subscribe. lol.

  • @naffiahanger9316
    @naffiahanger9316 2 ปีที่แล้ว

    Really awesome and simple explanation of RNN

  • @ranjaninatarajasharma5917
    @ranjaninatarajasharma5917 3 ปีที่แล้ว

    Thanks a million for all super simple videos. God bless!

  • @shefalisingh4675
    @shefalisingh4675 ปีที่แล้ว

    Your videos are very informative and simple, but one thing you mentioned RNNs are sequence models but translation would not be always sequential when we translate an English sentence to French or Spanish, words may be here and there then RNNs would not work as efficiently. Is there any other model we can use??

  • @RAZZKIRAN
    @RAZZKIRAN 3 ปีที่แล้ว +10

    thank u so much, expecting next topic videos in sequence,
    like LSTM,Bi-LSTM,GAN,
    please do videos with one example classification task like hate speech detection with these concepts like RNN, LSTM?

    • @codebasics
      @codebasics  3 ปีที่แล้ว +3

      Raju, point noted. I will be adding all those videos that you suggested.

    • @strongsyedaa7378
      @strongsyedaa7378 3 ปีที่แล้ว

      @@codebasics
      How to do RNN with Sequential layers

  • @sejalgulati5286
    @sejalgulati5286 3 ปีที่แล้ว +1

    So well explained. Thank you!

    • @codebasics
      @codebasics  3 ปีที่แล้ว

      Glad it was helpful!

  • @dsreebus
    @dsreebus 3 ปีที่แล้ว

    Well explained, better than tensorflow zero to hero

  • @Sangeekarikalan
    @Sangeekarikalan 26 วันที่ผ่านมา

    which is best for forecating or prediction ... LSTM?

  • @kmnm9463
    @kmnm9463 2 ปีที่แล้ว +1

    Hi,
    I have a doubt at at timestamp 09:00 in the video. In the NER example, for the input vector which one-hot encoding, for each word like Dhaval loves baby - there are 1's at two different places in the vector. Being one-hot encoded there should be only one '1' in each of the vectors right? This 1 corresponding to where the word appears in the vocab. Please clarify? Krish

    • @ereh3423
      @ereh3423 2 ปีที่แล้ว

      Hello. The ground truth 1 0 1 1 is the y(answer). The network input is a word vocabulary( could be hot encoded or word embedding ). Each word has your unique vector

  • @Breaking_Bold
    @Breaking_Bold 9 หลายเดือนก่อน

    Nice explanation of RNN !!!

  • @dibsaha5593
    @dibsaha5593 3 ปีที่แล้ว

    Finally I found you very luckily. Please resolve my query. I am newbie in python. So I want to finish only python basic then I want to move ML and want to complete all ML course with Python. Should I move to with Python basic only? I believe I will get satisfaction ans from you only.

    • @codebasics
      @codebasics  3 ปีที่แล้ว

      sure. you should follow my first 15 videos in my python tutorials playlist and then first 9 videos in pandas playlist. After that you can directly jump to my machine learning playlist.

    • @dibsaha5593
      @dibsaha5593 3 ปีที่แล้ว

      @@codebasics i have follow you always and i remember you are a very good guidance for us. Really this is great and valid information for me. so first 15 videos for python and first 9 videos for pandas this is fine to move your machine learning course. I mean no need anything to without this for begging to expert ML learn....... please let me

  • @prabhamelady1680
    @prabhamelady1680 2 ปีที่แล้ว

    Thanks for amazing Video with simple explanation :)

  • @maheswarareddygajjala625
    @maheswarareddygajjala625 8 หลายเดือนก่อน

    if possible can you give us notes on this series

  • @SAURABHGUPTA_DINOSAUR
    @SAURABHGUPTA_DINOSAUR ปีที่แล้ว

    Sir i have tried everything on the internet but my tensorflow isnt detecting my gpu and runs on cpu instead. What do i do?

  • @rajpurohitkiran5560
    @rajpurohitkiran5560 2 ปีที่แล้ว

    Sir, you have used hidden layer at different states. I had a doubt does the size of hidden layer remain same at each state

  • @hp6hp1
    @hp6hp1 3 ปีที่แล้ว +1

    Sir! Most of the time, I have seen We predicting only number values from our Machine Learning Model. But I want know that How to find Category Values by taking Number values. Such as If I have a model that can predict a list of shop that giving Min price X and max price Y.

    • @codebasics
      @codebasics  3 ปีที่แล้ว +2

      You asked an interesting question Himalay. We need to think about few things (1) is your base for output the current price meaning based on current prices from different shops you want to input a product and find shops between price x and y? That wouldn't be a machine learning problem, you can simply to price comparison using SQL query (2) Say based on some features we are trying to predict future price from different shops, in this case one option is to build separate model for each shop and train them. When you are ready for prediction you get predicted output for each shop and now do your price comparison for min x and min y. There is also multioutput regression which can predict multiple outputs, need to see exact problem statement, features to see if that can be utilized: machinelearningmastery.com/multi-output-regression-models-with-python/

    • @hp6hp1
      @hp6hp1 3 ปีที่แล้ว

      @@codebasics Sorry, Sir. But I think you couldn't understand. I checked out your Real Estate project of Banglore city. It is giving prediction prices based on a few categories such as location, BHK, Bath, etc right? But If I want to location such as Akshay Nagar etc by giving Area, My budget as Estimate price and more. So I want to predict string Category, not number or int. Then what can do about it?

    • @nandakishorejoshi3487
      @nandakishorejoshi3487 2 ปีที่แล้ว

      @@hp6hp1 ,
      Neural network do not predict string as output directly. But they do predict word vectors or give probability distribution as output.
      We need to decode these output to get the respective output

  • @vinaychitturi5183
    @vinaychitturi5183 3 ปีที่แล้ว +1

    Hi Sir, at 13.36, what will be the value of Y^(hat) at the first layer(Ironman)? Will it be 1 or [1 0 0 0] , asking this question as we are only passing oneword to the first layer.

    • @strongsyedaa7378
      @strongsyedaa7378 3 ปีที่แล้ว

      codebasics
      Please answer this question

  • @narendrasompalli5536
    @narendrasompalli5536 3 ปีที่แล้ว

    Sir, do we must to add weights and bias?

  • @amongus-rq2hb
    @amongus-rq2hb ปีที่แล้ว

    You are How . As a indian it makes sense to me

  • @parwaagrawal
    @parwaagrawal 2 ปีที่แล้ว

    Great Explaination.

    • @codebasics
      @codebasics  2 ปีที่แล้ว

      Glad it was helpful!

  • @r21061991
    @r21061991 3 ปีที่แล้ว

    Please make more videos on NLP !!

  • @rj00502
    @rj00502 9 วันที่ผ่านมา

    See I request you to use analogy which everyone in India understands. In this video , the analogy is hindi words not understanding for us students of southern India. @codebasics you have fans throughout India but expecting respect for everyone equally

  • @subhashthangadipally4974
    @subhashthangadipally4974 3 ปีที่แล้ว +1

    38 like & 300 viewer it's not my mistaken cz I didn't get any notification from TH-cam.

  • @sachinpriya88
    @sachinpriya88 3 ปีที่แล้ว

    Is Elman Recurrent NN or Simple Recurrent NN anonyms to each other or they r different in theory?

  • @shanmugamnathan9915
    @shanmugamnathan9915 2 ปีที่แล้ว

    For tumour detection RNN is suitable sir?

  • @shravannimma630
    @shravannimma630 2 ปีที่แล้ว

    great way of explaining things ☺you should be teaching at university

  • @parthpatwari3174
    @parthpatwari3174 4 หลายเดือนก่อน

    "Tensorflow, Keras & Python"
    where are they in your video?
    although you explained the concepts nicely but please don't mislead people from next time

  • @sagihaviv5675
    @sagihaviv5675 3 ปีที่แล้ว

    sir how can i apply rnn for OCR? i want to build code recognition from image ? any tips and advice? im new to AI

  • @samratsinghrathore7240
    @samratsinghrathore7240 3 ปีที่แล้ว

    What does these functions in figure.canvas do? What is figure.canvas?
    fig.canvas.draw()
    fig.canvas.get_width_height()
    fig.canvas.tostring_rgb()
    What is fig.canvas if you could explain in detail. Also what does this code do:
    `image = np.frombuffer(fig.canvas.tostring_rgb())’
    I tried hard but could not get any documentation related to them. Are they obsolete?
    Please help me I’m stuck

  • @amanrai5285
    @amanrai5285 2 ปีที่แล้ว

    Thank You!!!!

  • @medhavanisharma3323
    @medhavanisharma3323 2 ปีที่แล้ว

    Sir Can you share the Ha
    nd written notes..

  • @manvirsingh3727
    @manvirsingh3727 3 ปีที่แล้ว +2

    Please sir make a video on nlp

    • @codebasics
      @codebasics  3 ปีที่แล้ว +1

      A dedicated NLP tutorial series is coming up soon

  • @shaiksuleman3191
    @shaiksuleman3191 3 ปีที่แล้ว +1

    Sir u r like doctor with out pain u give injection which will clear our confusion.

    • @codebasics
      @codebasics  3 ปีที่แล้ว

      ha ha.. thanks shaik for your very poetic, analogy based appreciation and feedback. It is always a pleasure to read your comments my friend :)

  • @خلیلشاھ-ش9ع
    @خلیلشاھ-ش9ع 3 ปีที่แล้ว

    Where is slides?
    i need slides.

  • @raa__va4814
    @raa__va4814 ปีที่แล้ว

    im struggling to understand what multiple neurons are doing here ... shouldnt we just need one neuron to do all this

  • @mugambo5505
    @mugambo5505 5 หลายเดือนก่อน

    nice clarification

  • @starless7972
    @starless7972 ปีที่แล้ว

    gawd work

  • @anshkumar-nw1qd
    @anshkumar-nw1qd 3 ปีที่แล้ว

    Sir was planning to do data analysis course according to your 3months plan wanted to know that i can do that course with any basic laptop of 4gb ram, i3 intel or i need much higher configuration laptop? (I'm asking about each and every tools which i have to learn)

    • @codebasics
      @codebasics  3 ปีที่แล้ว

      I think it should be okay. I have not tried BI tools on such configuration so it is something you need to try an you will figure it out yourself

  • @vaizerdgrey
    @vaizerdgrey 2 ปีที่แล้ว

    wait, is your name Dhaval?

  • @swaralipibose9731
    @swaralipibose9731 3 ปีที่แล้ว

    Audio classification please 🙏

    • @codebasics
      @codebasics  3 ปีที่แล้ว

      yes that will come up as well

    • @ansarbashashaik4345
      @ansarbashashaik4345 3 ปีที่แล้ว

      @@codebasics thank you sir waiting for that

  • @SharonAnderson-b2g
    @SharonAnderson-b2g 23 วันที่ผ่านมา

    Chyna Key

  • @AprilCollins-c1z
    @AprilCollins-c1z 17 วันที่ผ่านมา

    Taylor Ruth Lopez Elizabeth Martin Shirley

  • @AgnesCarpenter-p1o
    @AgnesCarpenter-p1o หลายเดือนก่อน

    Johnson Christopher Martin Jessica Garcia Sharon

  • @danielschesterton3537
    @danielschesterton3537 26 วันที่ผ่านมา

    Robinson Dorothy Lopez Carol Johnson Melissa

  • @McCarthyAmanda-q4c
    @McCarthyAmanda-q4c 10 วันที่ผ่านมา

    Moore Betty Gonzalez Patricia Thompson Jason

  • @DavyTracy-l7i
    @DavyTracy-l7i 3 วันที่ผ่านมา

    Martinez Betty Brown Jeffrey Allen Gary

  • @destinyotiseesa4634
    @destinyotiseesa4634 14 วันที่ผ่านมา

    Wilson Jennifer Moore Betty Clark Larry

  • @EllereyHudymaR
    @EllereyHudymaR 27 วันที่ผ่านมา

    Hall Cynthia Johnson Donna Clark Frank

  • @ajaykushwaha4233
    @ajaykushwaha4233 2 ปีที่แล้ว

    Golgappa 😋😋

  • @JeffreyMiller-h7k
    @JeffreyMiller-h7k 22 วันที่ผ่านมา

    Taylor Michael Brown Michelle Wilson Barbara

  • @fionaokalarkins9574
    @fionaokalarkins9574 11 วันที่ผ่านมา

    Wilson Jennifer Wilson Paul Walker Michelle

  • @eleanorcarrington718
    @eleanorcarrington718 7 วันที่ผ่านมา

    Lee Laura Davis Anthony Brown Karen

  • @rantg
    @rantg 3 ปีที่แล้ว

    i think we need AI to understand the speaker in this video...

  • @chintapallitejesh8172
    @chintapallitejesh8172 3 ปีที่แล้ว +2

    Bitcoin mining with Actuall Bitcoin ecosystem please

    • @codebasics
      @codebasics  3 ปีที่แล้ว

      okay point noted

  • @amparoclay
    @amparoclay 10 วันที่ผ่านมา

    Lewis Robert Jackson Robert Taylor Kevin

  • @GeorgeMcKnight-w9b
    @GeorgeMcKnight-w9b 20 วันที่ผ่านมา

    Moore Maria Rodriguez Nancy Young Donna

  • @AsadulBissad
    @AsadulBissad 16 วันที่ผ่านมา

    Wilson Edward Brown Nancy Lee Nancy

  • @JamesCrawford-g3k
    @JamesCrawford-g3k 7 วันที่ผ่านมา

    Young Jessica Gonzalez Shirley Jackson Brian

  • @raselkarim2731
    @raselkarim2731 2 ปีที่แล้ว +3

    It was pretty awesome, I have understood the RNN from your explanation and wondering about the word "Recurrent".
    And telling myself, ohhhh, that's why it's called Recurrent Neural Network.

    • @codebasics
      @codebasics  2 ปีที่แล้ว

      Glad you liked it!

  • @hardikvegad3508
    @hardikvegad3508 3 ปีที่แล้ว +3

    FINALLY........😍😍😍
    waiting for LSTM too...

    • @codebasics
      @codebasics  3 ปีที่แล้ว +2

      yes LSTM will come up soon

  • @dlmsami2539
    @dlmsami2539 3 ปีที่แล้ว +3

    you are a great man , thunk you for all what you did and what you are doing and what you wild do , you make deep learning looking like a simple math operation (1+1=2) , i encourage you to continue in this path of teaching

  • @Arjun147gtk
    @Arjun147gtk 3 ปีที่แล้ว +2

    Sir, I need one advice.
    Have a job offer of data analyst, shall I take it and later move to data science and machine learning field or keep searching for machine learning related jobs?
    I wish I could have a word with you on chat/email.

    • @codebasics
      @codebasics  3 ปีที่แล้ว +1

      Depends on your situation... are you in need of earning money immidiately if yes then take it. you can move to ML job later on as well but your experience as a data analyst might (or might not) create some hurdles for you in future. whereas if you start as a data scientist from your first job itself your resume would look clean

  • @FredMyrna-x2f
    @FredMyrna-x2f 2 วันที่ผ่านมา

    Allen Ruth Young Kimberly Jackson Donna

  • @vaibhavgupta006
    @vaibhavgupta006 7 วันที่ผ่านมา

    At 13:20 , it was mentioned to adjust weights after pass each sentence, while i remember in ANN the weights are adjusted after one epoch. Am I mistaken?

  • @akshaytandon4792
    @akshaytandon4792 3 ปีที่แล้ว +2

    Hi. Thanks a lot for this explanation on RNNs. I had one question. At 4:25, you mention that converting the sentences to vector is called one hot encoding. Isn't it bag of word transformation? I request a clarification about this doubt. Thanks.

    • @sreyoshimitra6501
      @sreyoshimitra6501 2 ปีที่แล้ว

      converting text sentences into vectors by Bag of words technique.

  • @ranishkalakshan3511
    @ranishkalakshan3511 3 ปีที่แล้ว +2

    I am waiting for.it..please do a video about LSTM soon.

    • @codebasics
      @codebasics  3 ปีที่แล้ว +4

      yup LSTM will come soon

  • @story_teller_1987
    @story_teller_1987 3 ปีที่แล้ว +2

    Thank you very much for this wonderful and simple explanation on RNN. I finally understood the concept. Lots of love from Saudi Arabia...Keep going. You are a genius.😃👍

  • @hkgyguhuviChbjn
    @hkgyguhuviChbjn 4 วันที่ผ่านมา

    Rodriguez Amy White Sarah Lopez David

  • @kayleeblare5644
    @kayleeblare5644 13 วันที่ผ่านมา

    Jackson Christopher Miller Ronald Harris William

  • @thecomputerpal221
    @thecomputerpal221 หลายเดือนก่อน

    Very good and clear. Thank you, Dhaval.

  • @ClaraIda-x1e
    @ClaraIda-x1e 7 วันที่ผ่านมา

    Johnson Mary Davis Angela Martinez Lisa

  • @LesterHowton-h6r
    @LesterHowton-h6r 15 วันที่ผ่านมา

    Miller Mary Rodriguez Donald Davis Scott

  • @VictorSimms-y2m
    @VictorSimms-y2m 13 วันที่ผ่านมา

    Walker Shirley Jackson Sharon Williams George

  • @SoniyaKhan-e8l
    @SoniyaKhan-e8l 10 วันที่ผ่านมา

    Allen Eric Robinson Larry Anderson Joseph

  • @CarnegieDorothy
    @CarnegieDorothy 13 วันที่ผ่านมา

    Garcia Edward Miller Kenneth Smith Michael

  • @gilbertsalomon9127
    @gilbertsalomon9127 26 วันที่ผ่านมา

    Jackson Carol Martinez Mary Smith Karen

  • @HughAmos-n3h
    @HughAmos-n3h 11 วันที่ผ่านมา

    Hall Anna Williams Jennifer Hernandez Sandra

  • @ajinkyakadam4672
    @ajinkyakadam4672 3 ปีที่แล้ว +1

    Playlist is not opening 😅

    • @codebasics
      @codebasics  3 ปีที่แล้ว

      are you clicking on a link in video description? It opens fine for me

  • @LalonJakaria-v6m
    @LalonJakaria-v6m 15 วันที่ผ่านมา

    Garcia Scott Smith Daniel Walker Barbara

  • @CaraParker-j7n
    @CaraParker-j7n หลายเดือนก่อน

    Harris Jessica Johnson Helen Martinez William

  • @HughAmos-n3h
    @HughAmos-n3h 21 วันที่ผ่านมา

    Garcia William Martin Ronald Lee Paul

  • @RounakPolley
    @RounakPolley 3 ปีที่แล้ว +2

    This is probably the best channel for students learning AI
    Thanks a lot

    • @codebasics
      @codebasics  3 ปีที่แล้ว

      Glad it was helpful!