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

  Рет қаралды 340,344

codebasics

codebasics

Күн бұрын

Пікірлер
@codebasics
@codebasics 2 жыл бұрын
Check our Deep Learning Course (in PyTorch) with Latest, Industry Relevant Content: tinyurl.com/4p9vmmds Check out our premium machine learning course with 2 Industry projects: codebasics.io/courses/machine-learning-for-data-science-beginners-to-advanced
@jayshreeram6684
@jayshreeram6684 7 ай бұрын
I don't want to go in NLP can i avoid this ahead videos, because I have to focus on computer vision.
@sidsarkar8
@sidsarkar8 3 жыл бұрын
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 жыл бұрын
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
@joycechepkemoichepkwony3530
@joycechepkemoichepkwony3530 2 жыл бұрын
I am still new in this. Trying to follow up all your videos. You've got good explanation. Thank you.
@codebasics
@codebasics 2 жыл бұрын
👍👍☺️
@architnarang3232
@architnarang3232 3 жыл бұрын
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
@roxxie99
@roxxie99 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 жыл бұрын
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.
@lindaeitelberg8841
@lindaeitelberg8841 2 жыл бұрын
Your explanation on recurrent neural networks is the best I've seen to date.
@TheeSurferJim
@TheeSurferJim Жыл бұрын
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 Жыл бұрын
👍🏼👍🏼👍🏼
@TheeSurferJim
@TheeSurferJim Жыл бұрын
@@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 :-)
@raselkarim2731
@raselkarim2731 2 жыл бұрын
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!
@RounakPolley
@RounakPolley 3 жыл бұрын
This is probably the best channel for students learning AI Thanks a lot
@codebasics
@codebasics 3 жыл бұрын
Glad it was helpful!
@story_teller_1987
@story_teller_1987 3 жыл бұрын
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.😃👍
@codebasics
@codebasics 3 жыл бұрын
Most welcome!
@maitreyamoharil4299
@maitreyamoharil4299 Жыл бұрын
Best video i have seen till now about basic understanding of RNN Thank you
@zanwardrrknec953
@zanwardrrknec953 3 жыл бұрын
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 3 жыл бұрын
Thanks zanwardr for your feedback
@dlmsami2539
@dlmsami2539 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
@seanisthegood
@seanisthegood 2 жыл бұрын
Seconded! What a guy!
@arjunreddy7203
@arjunreddy7203 3 жыл бұрын
Keep these coming! Loving them.
@codebasics
@codebasics 3 жыл бұрын
😊👍
@darshilvshah
@darshilvshah 3 жыл бұрын
Superb video !!!....in fact most of the videos of this channel are amazing !!!!
@codebasics
@codebasics 3 жыл бұрын
Glad you like them!
@soubhikghoshroy7110
@soubhikghoshroy7110 Ай бұрын
00:03 Recurrent Neural Network (RNN) is used for natural language processing tasks. 02:02 RNN is used for sequence modeling in language translation. 03:59 One hot encoding simplifies word representation 05:53 Sequence is crucial in certain tasks 08:02 Recurrent Neural Network (RNN) processes words word by word and carries context or memory. 09:51 Recurrent Neural Network (RNN) uses time travel to process sequential inputs. 11:54 Recurrent Neural Network (RNN) processes input in a loop 14:04 RNN allows for sequential processing of input data for tasks like language translation and requires all words to be supplied for translation. Crafted by Merlin AI.
@faddsfadds5690
@faddsfadds5690 7 ай бұрын
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.
@radionnazmiev546
@radionnazmiev546 Жыл бұрын
Simply you're the best man hands down!!!
@codebasics
@codebasics Жыл бұрын
Thank you so much for your kind words.
@prasannan-robots
@prasannan-robots 4 жыл бұрын
I was waiting for this.
@nurbekss2729
@nurbekss2729 2 жыл бұрын
dude,where you have been all this time?!Great video!! Finally got a pure and exact explanation of ML models!!
@andreonofre2625
@andreonofre2625 Жыл бұрын
You are a great teacher! Very easy to understand explanation about RNN!
@foggychild8598
@foggychild8598 Ай бұрын
Your explanation is so clear. Thankss for the video. I am new in this topic, so this video helped me a lot :)
@sain5275
@sain5275 2 жыл бұрын
Happy Teachers day.. u r doing a great job .. 👏
@thecomputerpal221
@thecomputerpal221 4 ай бұрын
Very good and clear. Thank you, Dhaval.
@gurujicoder
@gurujicoder 2 жыл бұрын
Your way to teaching is amazing!
@rohithmandya2872
@rohithmandya2872 2 жыл бұрын
Nicely explained. I came back online just to give a thumbs up and subscribe. lol.
@hardikvegad3508
@hardikvegad3508 4 жыл бұрын
FINALLY........😍😍😍 waiting for LSTM too...
@codebasics
@codebasics 4 жыл бұрын
yes LSTM will come up soon
@rayaneaboud9043
@rayaneaboud9043 9 ай бұрын
great job taking your time explaining those notions thank you!
@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
@RAZZKIRAN
@RAZZKIRAN 3 жыл бұрын
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 жыл бұрын
Raju, point noted. I will be adding all those videos that you suggested.
@strongsyedaa7378
@strongsyedaa7378 3 жыл бұрын
@@codebasics How to do RNN with Sequential layers
@crazysilvershine
@crazysilvershine 2 жыл бұрын
Very crisp and to the point.Excellent explanation
@buckybarnes9135
@buckybarnes9135 2 жыл бұрын
you explain so crystal clear , not on the face of it.
@Breaking_Bold
@Breaking_Bold Жыл бұрын
Nice explanation of RNN !!!
@naffiahanger9316
@naffiahanger9316 3 жыл бұрын
Really awesome and simple explanation of RNN
@kmnm9463
@kmnm9463 3 жыл бұрын
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
@texwiller7577
@texwiller7577 Жыл бұрын
Very very cool video! I discovered right now your channel and it seems very promising
@rohitha3456
@rohitha3456 6 күн бұрын
thank you for your great explanation
@sejalgulati5286
@sejalgulati5286 3 жыл бұрын
So well explained. Thank you!
@codebasics
@codebasics 3 жыл бұрын
Glad it was helpful!
@akshaytandon4792
@akshaytandon4792 3 жыл бұрын
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.
@vaibhavgupta006
@vaibhavgupta006 3 ай бұрын
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?
@Pant10
@Pant10 19 сағат бұрын
that depends whether you're using sgd or bad
@ranjaninatarajasharma5917
@ranjaninatarajasharma5917 3 жыл бұрын
Thanks a million for all super simple videos. God bless!
@mastercomputersciencesubje3181
@mastercomputersciencesubje3181 3 жыл бұрын
Wonderful explanation...made it very simple
@codebasics
@codebasics 3 жыл бұрын
Glad it helped
@shankar0015
@shankar0015 3 жыл бұрын
Outstanding, keep the good work. thanks for the video.
@codebasics
@codebasics 3 жыл бұрын
Glad it was helpful!
@kmnm9463
@kmnm9463 3 жыл бұрын
Hi Dhaval ji, This is just amazing! Your insight into concepts of RNN and all deep learning is unparalleled. Just great. Thanks from Krish
@GaetanoCarmeloLaDelfa
@GaetanoCarmeloLaDelfa 7 ай бұрын
Amazing!
@Sangeekarikalan
@Sangeekarikalan 3 ай бұрын
which is best for forecating or prediction ... LSTM?
@dsreebus
@dsreebus 3 жыл бұрын
Well explained, better than tensorflow zero to hero
@hp6hp1
@hp6hp1 4 жыл бұрын
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 4 жыл бұрын
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 4 жыл бұрын
@@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
@himansushaw4938
@himansushaw4938 2 жыл бұрын
Nicely Explained
@prabhamelady1680
@prabhamelady1680 3 жыл бұрын
Thanks for amazing Video with simple explanation :)
@cse8591
@cse8591 3 жыл бұрын
Great Explanation
@codebasics
@codebasics 3 жыл бұрын
Glad it was helpful!
@ShradhanandVerma
@ShradhanandVerma Жыл бұрын
Nine explanation sir...
@Zainab-ud5wu
@Zainab-ud5wu 6 ай бұрын
Благодарю, связка рабочая.
@debatradas9268
@debatradas9268 3 жыл бұрын
thank you so so so much, Sir
@mohammadelghandour1614
@mohammadelghandour1614 2 жыл бұрын
Thanks for the easy and simple explanation ! I just have a question: around 3:49 and about the issue #2, you were talking about the one hot-encoding issue that results in high computation cost in MLP. How does RNN solve this issue? and how are words represented in RNN if not in hot-encoded binary format?
@zepingluo694
@zepingluo694 3 жыл бұрын
Thank you so much for the amazing videos!!
@codebasics
@codebasics 3 жыл бұрын
Glad you like them!
@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??
@izharkhankhattak
@izharkhankhattak 3 жыл бұрын
Good job. Thank you, Sir!
@codebasics
@codebasics 3 жыл бұрын
👍😊
@ranishkalakshan3511
@ranishkalakshan3511 4 жыл бұрын
I am waiting for.it..please do a video about LSTM soon.
@codebasics
@codebasics 4 жыл бұрын
yup LSTM will come soon
@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?
@narendrasompalli5536
@narendrasompalli5536 3 жыл бұрын
Sir, do we must to add weights and bias?
@shanmugamnathan9915
@shanmugamnathan9915 3 жыл бұрын
For tumour detection RNN is suitable sir?
@vinaychitturi5183
@vinaychitturi5183 3 жыл бұрын
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
@amanrai5285
@amanrai5285 2 жыл бұрын
Thank You!!!!
@prajwalbk5725
@prajwalbk5725 3 жыл бұрын
May the Force be with you and Grogu. Waiting for Friday's Bad Batch Ep 3.
@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
@ajinkyakadam4672
@ajinkyakadam4672 4 жыл бұрын
Playlist is not opening 😅
@codebasics
@codebasics 4 жыл бұрын
are you clicking on a link in video description? It opens fine for me
@켜누-k9k
@켜누-k9k 3 жыл бұрын
When you explain classifying is transaction fraud or not Sequence wasn't important but I think in real process in ANN input node has also label right? then if the input datas' sequence is different from before Consequently layer's weights were also changed. ( ex) input [1,2,3] and [3,2,1] bring about different output in ANN too. so I could say this model has sequence too!) Am I wrongly understand ANN? plz help me THANKS :)
@VinVin21969
@VinVin21969 3 жыл бұрын
yeah, this guy make a mistake . changing the sequence for ANN also give different output since changing sequence mean you put different vector value to each node which has different bias and weight .the thing is Neural network is also can used for NLP as long as it wasnt a complex sequence , and also even simple RNN cant be used for complex sequence too.. usually we using RNN-LSTM for complex sequence. hope this answer help you
@켜누-k9k
@켜누-k9k 3 жыл бұрын
@@VinVin21969 thx :)
@maheswarareddygajjala625
@maheswarareddygajjala625 11 ай бұрын
if possible can you give us notes on this series
@sachinpriya88
@sachinpriya88 3 жыл бұрын
Is Elman Recurrent NN or Simple Recurrent NN anonyms to each other or they r different in theory?
@piyalikarmakar5979
@piyalikarmakar5979 3 жыл бұрын
Thank you sir.. I just have one query..we can use Feed forward NN for sentiment analysis and there also sequence of the words matters.. then how does that NN deal with that?
@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
@Arjun147gtk
@Arjun147gtk 4 жыл бұрын
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 4 жыл бұрын
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
@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
@medhavanisharma3323
@medhavanisharma3323 2 жыл бұрын
Sir Can you share the Ha nd written notes..
@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
@amongus-rq2hb
@amongus-rq2hb 2 жыл бұрын
You are How . As a indian it makes sense to me
@shravannimma630
@shravannimma630 3 жыл бұрын
great way of explaining things ☺you should be teaching at university
@starless7972
@starless7972 Жыл бұрын
gawd work
@anshkumar-nw1qd
@anshkumar-nw1qd 4 жыл бұрын
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
@AKSHAY99552
@AKSHAY99552 3 жыл бұрын
Sir, can you please make a video on word2vec technique 🙏
@r21061991
@r21061991 3 жыл бұрын
Please make more videos on NLP !!
@raa__va4814
@raa__va4814 2 жыл бұрын
im struggling to understand what multiple neurons are doing here ... shouldnt we just need one neuron to do all this
@subhashthangadipally4974
@subhashthangadipally4974 4 жыл бұрын
38 like & 300 viewer it's not my mistaken cz I didn't get any notification from KZbin.
@خلیلشاھ-ش9ع
@خلیلشاھ-ش9ع 3 жыл бұрын
Where is slides? i need slides.
@swaralipibose9731
@swaralipibose9731 4 жыл бұрын
Audio classification please 🙏
@codebasics
@codebasics 4 жыл бұрын
yes that will come up as well
@ansarbashashaik4345
@ansarbashashaik4345 4 жыл бұрын
@@codebasics thank you sir waiting for that
@basmahalsohbani5986
@basmahalsohbani5986 3 жыл бұрын
Why arabic translat can not
@manvirsingh3727
@manvirsingh3727 4 жыл бұрын
Please sir make a video on nlp
@codebasics
@codebasics 4 жыл бұрын
A dedicated NLP tutorial series is coming up soon
@shaiksuleman3191
@shaiksuleman3191 3 жыл бұрын
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 :)
@binilrajadhikari2643
@binilrajadhikari2643 4 жыл бұрын
sir, can you please explain the math needed for learning data structure and algorithm?
@abcd-qq9zb
@abcd-qq9zb 3 жыл бұрын
07:46:00
@rahul-khichar-iitgn
@rahul-khichar-iitgn 2 ай бұрын
Kindly provide the slides Thanks
@asifgul4810
@asifgul4810 3 жыл бұрын
Sir can u running an institute I want to learn data scientist I have done my graduation in commerce if no Then give me a one suggestion which institute is best for to learn data scientist
@parthpatwari3174
@parthpatwari3174 7 ай бұрын
"Tensorflow, Keras & Python" where are they in your video? although you explained the concepts nicely but please don't mislead people from next time
@vaizerdgrey
@vaizerdgrey 2 жыл бұрын
wait, is your name Dhaval?
@rj00502
@rj00502 3 ай бұрын
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
@chintapallitejesh8172
@chintapallitejesh8172 4 жыл бұрын
Bitcoin mining with Actuall Bitcoin ecosystem please
@codebasics
@codebasics 4 жыл бұрын
okay point noted
@manthanpanchal4071
@manthanpanchal4071 3 жыл бұрын
Sir, I am 2020 pass out from the electronics branch, I am passionate about data science and want to do my masters abroad in data science, to be sure i have already gone through a data science boot camp, i my decision right ????????
@work-dw2hl
@work-dw2hl 3 жыл бұрын
which country r u planning
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Recurrent Neural Networks (RNNs), Clearly Explained!!!
16:37
StatQuest with Josh Starmer
Рет қаралды 624 М.
MIT 6.S191: Recurrent Neural Networks, Transformers, and Attention
1:01:31
Alexander Amini
Рет қаралды 217 М.
But what is a neural network? | Deep learning chapter 1
18:40
3Blue1Brown
Рет қаралды 18 МЛН
RAG vs. Fine Tuning
8:57
IBM Technology
Рет қаралды 93 М.
MIT 6.S191 (2023): Recurrent Neural Networks, Transformers, and Attention
1:02:50
Large Language Models (LLMs) - Everything You NEED To Know
25:20
Matthew Berman
Рет қаралды 137 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН