Tutorial 26- Linear Regression Indepth Maths Intuition- Data Science

  Рет қаралды 328,677

Krish Naik

Krish Naik

Күн бұрын

Please join as a member in my channel to get additional benefits like materials in Data Science, live streaming for Members and many more
/ @krishnaik06
Connect with me here:
Twitter: / krishnaik06
Facebook: / krishnaik06
instagram: / krishnaik06

Пікірлер: 322
@mohitpatel7876
@mohitpatel7876 4 жыл бұрын
Best explanation of cost function, we learned it as masters students and the course couldnt explain it as well.. simply brilliant
@nandinibalyapally3388
@nandinibalyapally3388 3 жыл бұрын
I never understood what is a gradient descent and a cost function is until I watch this video 🙏🙏
@navjotsingh8372
@navjotsingh8372 2 жыл бұрын
I have seen many teachers explaining the same concept, but your explainations are next level. Best teacher.
@manikaransingh3234
@manikaransingh3234 4 жыл бұрын
I don't see a link on the top right corner for the implementation as you said in the end.
@soumikdutta77
@soumikdutta77 2 жыл бұрын
Why am I not surprised with such a lucid and amazing explanation of cost function, gradient descent,Global minima, learning rate ...may be because watching you making complex things seems easy and normal has been one of my habit. Thank you SIR
@RJ-dz6ie
@RJ-dz6ie 4 жыл бұрын
How can I not say that you are amazing !! I was struggling to understand the importance of gradient descent and u cleared it to me in the simplest way possible.. Thank you so much sir :)
@anuragmukherjee1878
@anuragmukherjee1878 2 жыл бұрын
For those who are confused. The convergence derivative will be dJ/dm.
@tusharikajoshi8410
@tusharikajoshi8410 Жыл бұрын
what's J in this? Y values? I'm super confused about this d/dm of m, cz it would be just 1. and m I think is just total number of values. Shouldn't the slope be d/dx of y?
@mdmynuddin1888
@mdmynuddin1888 Жыл бұрын
@@tusharikajoshi8410 it will be the cost or loss (J)
@mdmynuddin1888
@mdmynuddin1888 Жыл бұрын
new(m) = m- d(loss or cost)/dm * Alpha(learning rate.
@suhasiyer7317
@suhasiyer7317 11 ай бұрын
Super helpful
@threads25
@threads25 9 ай бұрын
I'dont think because it netwons method actually
@tarunsingh-yj9lz
@tarunsingh-yj9lz Жыл бұрын
Best video on youtube to understand the intution and math(surface level) behind Linear regression. Thank you for such great content
@ayurdubey4818
@ayurdubey4818 2 жыл бұрын
The video was really great. But I would like to point out that the derivative that you took for convergence theorem, there instead of (dm/dm) it should be derivative of cost function with respect to m . Also a little suggestion at the end it would have been helpful, if you mentioned what m was, total number of points or the slope of the best fit line. Apart from this the video helped me a lot hope you add a text somewhere in this video to help the others.
@shubhamkohli2535
@shubhamkohli2535 3 жыл бұрын
Really awesome video , so much better than many famous online portals charging huge amount of money to teach things.
@shailesh1981able
@shailesh1981able 2 жыл бұрын
Awesome!! Cleared all doubts seeing this video! Thanks alot Mr. Krish for creating indepth content on such subject!
@FaizanKhan-fn6ew
@FaizanKhan-fn6ew 4 жыл бұрын
Thanq so much for all your efforts.... Knowledge, rate of speech and ability to make thing easy are nicest skill that you hold...
@pjanjanam
@pjanjanam 2 жыл бұрын
A small comment at 17:35. I guess it is Derivative of J(m) over m. In other words, the rate of change of J(m) over a minute change of m. That gives us the slope at instantaneous points, especially for non linear curves when slope is not constant. At each point of "m, J(m)", Gradient descent travels in the opposite direction of slope to find the Global minima, with the smaller learning rate. Please correct me if I am missing something. Thanks for a wonderful video on this concept @Krish, your videos are very helpful to understand the Math intuition behind the concepts, I am a super beneficiary of your videos, Huge respect!!.
@anuragbhatt6178
@anuragbhatt6178 4 жыл бұрын
The best I've come across on gradient descent and convergence theorem
@moulisiramdasu6753
@moulisiramdasu6753 3 жыл бұрын
Really thanks you krish. you just cleared my doubts on cost function and gradient descent. First I saw Andrew Ng class but have few doubts after seeing you video. Now its crystal clear.. Thank You...
@skviknesh
@skviknesh 3 жыл бұрын
Great! Fantastic! Fantabulous! tasting the satisfaction of learning completely - only in your videos!!!!!
@nanditagautam6310
@nanditagautam6310 2 жыл бұрын
This is the best stuff i ever came across on this topic !
@animeshkoley6478
@animeshkoley6478 3 жыл бұрын
Best explanation of Linear Regression🙏🙏🙏.Simply wow🔥🔥
@akrsrivastava
@akrsrivastava 4 жыл бұрын
Hi Krish, Thanks for the video. Some queries/clarifications required: 1. We do not take gradient of m wrt m. That will always be 1. We take the gradient of J wrt m 2. If we have already calculated the cost function J at multiple values of m, then why do we need to do gradient descent because we already know the m where J is minimum 3. So we start with an m , calculate grad(J) at that point and update m with m' = m - grad(J)* learn_rate and repeat till we reach some convergence criteria Please let me know if my understanding is correct.
@slowhanduchiha
@slowhanduchiha 4 жыл бұрын
Yes this is correct
@vamsikrishna4107
@vamsikrishna4107 3 жыл бұрын
I think we have to train the model to reach that min. loss point while performing grad. descent in real life problems.
@shreyasbs2861
@shreyasbs2861 3 жыл бұрын
How to find best Y intercept ?
@pranitaumarji5224
@pranitaumarji5224 4 жыл бұрын
Thankyou for this awesome explanation!
@supervickeyy1521
@supervickeyy1521 4 жыл бұрын
i knew the concept of Linear Regression but didn't know the logic behind it.. the way Line of Regression is chosen. Thanks for this!
@pradeepmallampalli6510
@pradeepmallampalli6510 3 жыл бұрын
Thank you Soo much Krish. No where I could find such a detailed explanation You made my Day!
@arunsundar489
@arunsundar489 4 жыл бұрын
Please add the indepth math intution of other algorithms like logistic, random forest, support vector and ANN.. Many Thanks for the clearly explained abt linear regression
@rambaldotra2221
@rambaldotra2221 3 жыл бұрын
Thank You Sir, You have explained everything about gradient Descent in the best possible easiest way !!
@azizahmad1344
@azizahmad1344 2 жыл бұрын
Such a great explanation of gradient descent and convergence theorem.
@dhainik.suthar
@dhainik.suthar 3 жыл бұрын
This maths is same as coursera machine learning courses Thank you sir for this great content ..
@padduchennamsetti6516
@padduchennamsetti6516 4 күн бұрын
you just made the whole concept clear with this video,you are a great teacher
@annapurnaparida7655
@annapurnaparida7655 3 жыл бұрын
So beautifully explained...did not find anywhere this kind of clarity....keepnup the good work....
@harshdhamecha5503
@harshdhamecha5503 3 жыл бұрын
There's a little correction in Convergence Theorem: derivative of J(m) should be there in place of derivative of m in numerator.
@salmanjaved2816
@salmanjaved2816 3 жыл бұрын
Correct 👍
@xanderkristopher1412
@xanderkristopher1412 3 жыл бұрын
sorry to be so off topic but does anyone know of a way to get back into an instagram account..? I was stupid lost my password. I love any tricks you can give me.
@priyanshusharma2516
@priyanshusharma2516 3 жыл бұрын
Watched this video 3 times back to back .Now its embaded in my mind forever. Thanks Krish , great explanation !!
@nidhimehta9278
@nidhimehta9278 3 жыл бұрын
Best video on theory of linear regression! Thankyou soo much Krish!
@PRASHANTSHARMA-ev7rr
@PRASHANTSHARMA-ev7rr 4 жыл бұрын
Hi Sir, I am from cloud & DevOps background is it make sense to go & learn Ml AI, what path I can follow to become a dataops engineer or devops ml ai engineer.
@V2traveller
@V2traveller 4 жыл бұрын
every line you speak..so much important to understand ths concept......thank u
@mayureshgawai5951
@mayureshgawai5951 3 жыл бұрын
No one can find easiest explanation of gradient descent on youtube. This video is the exception.
@9902152322
@9902152322 2 жыл бұрын
god bless you too sir, explained very well. basics helps to grow high level understanding
@python_by_abhishek
@python_by_abhishek 3 жыл бұрын
Before watching this video I was struggling with the concepts exactly like you were struggling in plotting the gradient descent curve. ☺️Thanks for explaining this beautifully.
@PritishMishra
@PritishMishra 3 жыл бұрын
I knew that their will be an Indian that can make all the stuffs easy !! Thanks Krish
@nikhil1303
@nikhil1303 4 жыл бұрын
This is a really good explanation for Linear Regresison, Krish.. looking forward to check out more of your videos..thanks and keep going!!
@koushikkumar4938
@koushikkumar4938 3 жыл бұрын
Implementation part: Multiple linear Regression - kzfaq.info/get/bejne/a9imoc-LvODTqGw.html Simple linear Regression - kzfaq.info/get/bejne/e5Ooo5CEz8yzg40.html
@ngarwailau2665
@ngarwailau2665 2 жыл бұрын
Your explanations are the clearest!!!
@w3r161
@w3r161 4 ай бұрын
Thank you my friend, you are a great teacher!
@magelauditore333
@magelauditore333 4 жыл бұрын
Sir, you are outstanding. Please keep it up
@ahmedbouchou6893
@ahmedbouchou6893 4 жыл бұрын
Hi . Can you please do a video about the architecture of machine learning systems in real world . How does really work in real life .for example how hadop (pig,hive) , spark, flask , Cassandra , tableau are all integrated to create a machine learning architecture. Like an e2e
@deeptigoyal4342
@deeptigoyal4342 3 жыл бұрын
one of the best explanation so far :)
@mellowftw
@mellowftw 3 жыл бұрын
Thanks so much sir.. you're doing good for the community
@varshadevgankar8242
@varshadevgankar8242 3 жыл бұрын
sir i can' find the simple regression and multiple regression video as u said and some videos are little jumbled its getting difficult to follow the videos and plz do explain the functionalities of each and every keyword or a inbuilt function when ur explaining the code...ofcourse ur explaining in a very good way but i faced a liitle problem while folllowing that practical implementation of univariate,multivariate,and bivariate analysis(there you have used FACETGRID function)..so will u plz expalin me what is the exact use of facetgrid...?
@tamellasivasubrahmanyam6683
@tamellasivasubrahmanyam6683 4 жыл бұрын
you are ultimate, got answers to some many questions, video is good.
@meetbardoliya6645
@meetbardoliya6645 2 жыл бұрын
Value of the video is just undefinable! Thanks a lot :)
@arrooow9019
@arrooow9019 3 жыл бұрын
Oh my gosh this is awesome tutorial I ever seen God bless you sir🤩🤩
@shhivram929
@shhivram929 3 жыл бұрын
Hi krish, that was an awesome explanation of Gradient Descent. With respect to finding the optimal slope. But in linear regression both slope and the intercept are tweakable parameters, how do we achive the optimal intercept value in linear regression.
@shrikantlandage7305
@shrikantlandage7305 4 жыл бұрын
my god that was clear as crystal...thanks krish
@wellwhatdoyakno6251
@wellwhatdoyakno6251 2 жыл бұрын
lovely! love it.
@aayushsuman4592
@aayushsuman4592 4 ай бұрын
Thank you so much, Krish!
@nikifoxy69
@nikifoxy69 3 жыл бұрын
Loved it. Thanks Krish.
@vishnuppriya5263
@vishnuppriya5263 Жыл бұрын
Really great sir. I very much thank you sir for this clear explanation
@priyankachoubey4570
@priyankachoubey4570 2 жыл бұрын
As always Krish very well explained!!
@shchiranth6626
@shchiranth6626 3 жыл бұрын
Great Tut sir got things pretty quick with this video ty
@ajinkyadeshmukh9674
@ajinkyadeshmukh9674 2 жыл бұрын
Hi Krish, That was an awesome explanation for the maths used for linear regression, especially for the cost function. Can you make a video on 5 assumptions of linear regression and also explain the assumptions in detail.
@juozapasjurksa1400
@juozapasjurksa1400 2 жыл бұрын
Thank you! This video was so good!
@ShiVa-jy5ly
@ShiVa-jy5ly 3 жыл бұрын
Thankyou sir...Get to learn so much from you.
@SanjeevKumar-dr6qj
@SanjeevKumar-dr6qj Жыл бұрын
Great sir. Love this video
@auroshisray9140
@auroshisray9140 3 жыл бұрын
Thank you Krish bhaiya!
@vishwashah4109
@vishwashah4109 3 жыл бұрын
Best explanation. Thank you!
@RanjithKumar-jo7xf
@RanjithKumar-jo7xf 2 жыл бұрын
Nice Explanation, I like this.
@mohitpatel7876
@mohitpatel7876 4 жыл бұрын
At 14:56, how do we decide how many slope values to try? and how about selecting intercepts in a certain range?..
@ruchit9697
@ruchit9697 4 жыл бұрын
The trials of slope selections go until the cost function reaches the local minima point ....and for intercept there are some random initialization techniques through which a fixed value is set for intercept....
@ankitchauhan6629
@ankitchauhan6629 3 жыл бұрын
What about the C (intercept) value? how does the algorithm selects the C value?
@rezafarrokhi9871
@rezafarrokhi9871 3 жыл бұрын
Thanks for all great prepared videos, I think you meant (deriv.J(m) / deriv(m)) at 17'.45", is it correct?
@karthiavenger4577
@karthiavenger4577 4 жыл бұрын
Yaar you nailed it man after watching sooo many videos i had some Idea , By Finishing your Video now i m completely clear 😍😍😍😍
@jagdishsahu1118
@jagdishsahu1118 4 жыл бұрын
Right
@varungupta2727
@varungupta2727 4 жыл бұрын
Similar to Andrew NG course from coursera kind of revision for me 😊😊
@Gayathri-jo4ho
@Gayathri-jo4ho 4 жыл бұрын
Can you please suggest me how to begin with in order to learn machine learning
@Gayathri-jo4ho
@Gayathri-jo4ho 3 жыл бұрын
@@ArpitDhamija did you have knowledge on machine learning??if so, please suggest me I saw so many but I couldnt able to .
@shhivram929
@shhivram929 3 жыл бұрын
@@Gayathri-jo4ho This playlist itself is a fantastic place to start, Or can enroll in this course "Machine Learning A-Z by krill eremenkrov" in udemy. The course will give you an intuitive understanding of the ML Algorithms. Then it's up to you to research and study the math behind each concept..Reff (kgnuggets, Medium, MachineLearningplus and lot more)
@Gayathri-jo4ho
@Gayathri-jo4ho 3 жыл бұрын
@@shhivram929 thank you
@sarithajaligama9548
@sarithajaligama9548 3 жыл бұрын
Exactly. This is the equivalent of Andrew Ng's description
@kunaltibrewal2881
@kunaltibrewal2881 4 жыл бұрын
It would be great if you could suggest some best books for python programming?
@kevinsusan3345
@kevinsusan3345 4 жыл бұрын
I had so much difficulty in understanding gradient descent but after this video It's perfectly clear
@muralimohan6974
@muralimohan6974 3 жыл бұрын
Bro, how we update the slope
@user-ec9he3nz7f
@user-ec9he3nz7f 4 ай бұрын
really great explanation sir 😍
@sharikatv1989
@sharikatv1989 3 жыл бұрын
This is super helpful!
@jaspreetsingh5334
@jaspreetsingh5334 2 жыл бұрын
Thanks Krish u are helping alot
@Karthik-wj5rs
@Karthik-wj5rs Жыл бұрын
Finally I understood the perfect answer of gradient descent..
@cutecreature_san
@cutecreature_san 3 жыл бұрын
your videos are clear and easy to understand
@sahilswaroop1996
@sahilswaroop1996 4 жыл бұрын
excellent video u are a champion man
@debrupdey7948
@debrupdey7948 Жыл бұрын
great video sir, so lucid
@Neuraldata
@Neuraldata 3 жыл бұрын
We would also recommend your videos to our students!
@pearlbabbar7981
@pearlbabbar7981 2 жыл бұрын
Amazing explanation! I have one question, from where did you study all of this? Some books or the net?
@nivitus9037
@nivitus9037 4 жыл бұрын
Great...
@PavanKumar-xg8ye
@PavanKumar-xg8ye 3 жыл бұрын
Excellent!!!!!
@dhruv1324
@dhruv1324 Жыл бұрын
never found a better explaination
@nayanjain3594
@nayanjain3594 3 жыл бұрын
Hi Krish, how to calculate the intercept value as in this we have initialized it to 0 and we have not calculated at the end. We have calculated only slope of best fit line.
@glamgalmanu
@glamgalmanu 4 жыл бұрын
can you do more math intuition s please. These are very helpful. Thanks!
@sagarparigi1884
@sagarparigi1884 3 жыл бұрын
This video is really helpful.
@cynthialobo1995
@cynthialobo1995 4 жыл бұрын
Very nice explanation. Thank you.
@dheerajnuka6245
@dheerajnuka6245 4 жыл бұрын
Hi, Tried searching links but not able to found could you share the link for better practice. Thanks
@avinashgote2770
@avinashgote2770 Жыл бұрын
good expplanation now clear all queries
@mvcutube
@mvcutube 3 жыл бұрын
Nice tutorial. Thank you
@Dinesh-uh4gw
@Dinesh-uh4gw 3 жыл бұрын
Excellent Explanation
@pradnyavk9673
@pradnyavk9673 Жыл бұрын
very well explained Thank you.
@jayeshmudaliar9155
@jayeshmudaliar9155 3 жыл бұрын
best one sir thank you so much
@shan5612
@shan5612 3 жыл бұрын
Great,but not able to find the link for how to implement in python,plz awaiting for your valuable reply.
@nurali2525
@nurali2525 2 жыл бұрын
This guy was born to teach
@dan684al
@dan684al 3 жыл бұрын
where is the link on the top right corner for the implementation as you said in the end?
@user-ki9uz1wj5f
@user-ki9uz1wj5f 6 ай бұрын
the only video that made gradient descent so simple that even 2nd grade students woud understand
@sanjug7317
@sanjug7317 2 жыл бұрын
Very good and detailed explanation
@TheBala7123
@TheBala7123 2 жыл бұрын
Excellent explanation sir. I have started following your videos for all the ML related topics its very interesting. One doubt = In Gradient Descent, when slope is zero, M value will be considered as the slope of the best file line. I do not understand this. Can you please explain here? Thanks.
@amitpadaliya6916
@amitpadaliya6916 4 жыл бұрын
amazing man!
Tutorial 7- Pyspark With Python|Introduction To Databricks
13:17
Slow motion boy #shorts by Tsuriki Show
00:14
Tsuriki Show
Рет қаралды 10 МЛН
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 42 МЛН
Can A Seed Grow In Your Nose? 🤔
00:33
Zack D. Films
Рет қаралды 29 МЛН
Linear Regression, Clearly Explained!!!
27:27
StatQuest with Josh Starmer
Рет қаралды 232 М.
Multiple Linear Regression using python and sklearn
19:51
Krish Naik
Рет қаралды 149 М.
Learn Statistical Regression in 40 mins! My best video ever. Legit.
40:25
Solve any equation using gradient descent
9:05
Edgar Programmator
Рет қаралды 53 М.
Statistics 101: Multiple Linear Regression, The Very Basics 📈
20:26
Brandon Foltz
Рет қаралды 1,3 МЛН
Gradient Boosting In Depth Intuition- Part 1 Machine Learning
11:20
Slow motion boy #shorts by Tsuriki Show
00:14
Tsuriki Show
Рет қаралды 10 МЛН