Linear Regression: A friendly introduction

  Рет қаралды 39,558

Serrano.Academy

Serrano.Academy

Күн бұрын

Пікірлер: 119
@sanguinj
@sanguinj 3 жыл бұрын
Luis. I really like your way of teaching. I decided at my 64 start to learn ML, by starting to review my linear algebra. Your way of getting to our heads SVM is the best. Keep doing your hard. Thank you so much for your time. I am just subscribed in your channel !
@suchismitagoswami5609
@suchismitagoswami5609 7 ай бұрын
The best part of your teaching style is how beautifully you help us to visualize a complex problem. This technique has helped me in many context to simplify and break down a complex problem into smaller problems..
@mohammedhasan6522
@mohammedhasan6522 5 жыл бұрын
I sometimes wonder, how can people describe things so simply. Always a big fan and looking forward to seeing more complex things in your style. :)
@kamalkumar-ew8ry
@kamalkumar-ew8ry 5 жыл бұрын
I am beginner to Machine Learning. But able to follow this session 100%. Very rare people can explain the things so easily like you Luis Serrano. Thanks for sharing this video.
@Derfaut
@Derfaut 5 жыл бұрын
High quality content with visualizations and so easy to understand. Thank you!
@chakrapani_nallam
@chakrapani_nallam 5 жыл бұрын
The best teacher if we want to learn "how the machines learn".I have watched many of your videos and suggesting them to newbies.
@maheshBasavaraju
@maheshBasavaraju 5 ай бұрын
Your explanation is almost like an elementary school teacher. regression is addng and subtracting to slope and y-intercept. couldn't get easier than this. great!
@subrata6666
@subrata6666 3 жыл бұрын
Your videos explanations visualizations are just addictive
@neuromorphing9933
@neuromorphing9933 5 жыл бұрын
Luis has an awesome talent to explain complicated things such that even kids can follow and understand. Good job !
@riffaxelerator7299
@riffaxelerator7299 3 жыл бұрын
Even adults can follow and understand too!
@tonakkie635
@tonakkie635 5 жыл бұрын
Again a great lecture Luis. Especially very nice for beginners. I forwarded you video to my daughter who just had a tough course on statistics. Keep up the great work👍. Thanks Ton
@atikfaysal426
@atikfaysal426 4 жыл бұрын
You're the best teacher I have found on KZbin. You explain so intuitively. I wish to get more videos from you.
@ruudhermans4243
@ruudhermans4243 5 жыл бұрын
Number 1 video on linear regression I have seen so far on youtue. It makes what sounds complex, easy to understand.
@abhijeetsnaik
@abhijeetsnaik 3 жыл бұрын
best part is I understood complex Concept very easily.. !! Thanks a lot.. I am fan of this channel.
@luisbermudez7000
@luisbermudez7000 5 жыл бұрын
Really good! Thought it would be too simplified and abstracted, but no. I can code this up. More please!!
@FarizDarari
@FarizDarari 11 ай бұрын
One of the BEST linear regression tutorials, many thanks!!!
@jochoniahnzomo5937
@jochoniahnzomo5937 4 жыл бұрын
Things have never been so in clear my mind. I love your method of teaching
@SiriJustDoIt
@SiriJustDoIt 4 жыл бұрын
This is called right / write from scratch ... Great and Simple .. Amazing
@julienbonin
@julienbonin 5 жыл бұрын
You video's are awesome! I love how structured and prepared you are, yet you keep it simple! You rock!
@HypnosisBear
@HypnosisBear 3 жыл бұрын
I'm extremely lucky to find this channel. This is a god level explanation, thx sooo much. 🙏😎😎😎👍👍👍👍
@omarhammouche4831
@omarhammouche4831 5 жыл бұрын
you're the best teacher
@muskankhaneja9512
@muskankhaneja9512 4 жыл бұрын
Sir, It is so good to learn from your videos. Complicated things such simplified! Thank you.
@moinulhoque2160
@moinulhoque2160 4 жыл бұрын
No doubt!! You are the best. We all lost in math equation, rather than visualizing it.
@121Pal
@121Pal 5 жыл бұрын
Very simple yet powerful video. You have a great gift for teaching.
@rajeshvarma2162
@rajeshvarma2162 2 жыл бұрын
After watching this tutorial, I became a big fan of yours.
@OzScout66
@OzScout66 4 жыл бұрын
One word..... BRILLIANT!
@rajkumarc6759
@rajkumarc6759 5 жыл бұрын
Thanks Luis, I am truly benefiting from your lessons, you are making these concepts very easy to understand. Have already started to view your playlists especially the ML and maths... Continue the good work!!!!
@ignaciosanchezgendriz1457
@ignaciosanchezgendriz1457 Жыл бұрын
Really good Luis, thanks for sharing the way you see ML 🎉
@peregudovoleg
@peregudovoleg 3 жыл бұрын
Fresh and intuitive explanation. Thank you.
@arkanasays
@arkanasays 3 жыл бұрын
Fabulous explanation and awesome graphics. Please do post more videos on ML algorithms, you explain them so clearly.
@pushkarparanjpe
@pushkarparanjpe 5 жыл бұрын
Love this style of teaching!
@spicecandy5248
@spicecandy5248 5 жыл бұрын
Excellent Luis!! Thanx!! impressive way of explaining complex things for making understanding easy n trivial
@neelkamal3357
@neelkamal3357 25 күн бұрын
Wow man , my mind was just blown away now
@user-bz7fj1fk2m
@user-bz7fj1fk2m Жыл бұрын
10QUVM for all your zeal and valuable presentation!!!
@AlexPrabhakaran
@AlexPrabhakaran 5 жыл бұрын
Simple and powerful explanation. Thank you Luis for this wonderful video.
@senthilmuruganr234
@senthilmuruganr234 Ай бұрын
Excellent presentation sir
@himanshudalai1028
@himanshudalai1028 5 жыл бұрын
Beautiful & Extra-ordinary explanation !! Thank You LUIS.
@changshenglism
@changshenglism 3 жыл бұрын
feel easy to understand the algorithm! many thanks!!
@victorrodas4357
@victorrodas4357 5 жыл бұрын
Muchas Gracias Luis. A ti si te entiendo.
@MarcelTndl
@MarcelTndl 4 жыл бұрын
Muy bueno Luis, ya lo estoy probando en Go . Gracias !!!
@VikramSingh-fl4qe
@VikramSingh-fl4qe 11 ай бұрын
You got a shoutout from one of India's finest Data Science KZbinr Nitish @CampusX, Thank you so much for your very simplified version of datasc
@SerranoAcademy
@SerranoAcademy 11 ай бұрын
Ohhh thank you! I got a huge bump in subscribers and was trying to figure out where it came from! I just saw Nitish's video, such a kind shout out. I'll thank him, I'm a big fan of him as well.
@kanokyusuki
@kanokyusuki 5 жыл бұрын
Thank you so much Luis! This has been really helpful.
@devidevatha
@devidevatha Жыл бұрын
I have an arts background, but I was able to follow your video. ❤🧡 Thanks for uploading. Keep uploading more.
@noorhashem7
@noorhashem7 6 ай бұрын
Love these explanations! What tool do you use for these wonderful animations?
@carlodavid7360
@carlodavid7360 5 жыл бұрын
Thanks @Luis Serrano
@SerranoAcademy
@SerranoAcademy 5 жыл бұрын
Thanks for watching!
@carlodavid7360
@carlodavid7360 5 жыл бұрын
@@SerranoAcademy can you do friendly introduction to GANs?
@SerranoAcademy
@SerranoAcademy 5 жыл бұрын
@@carlodavid7360 Great idea! It's one of the things I've been looking at, trying to understand them more clearly these days...
@RahulRageshRSquare
@RahulRageshRSquare 5 жыл бұрын
Gans! Please!
@agentNirmites
@agentNirmites 4 жыл бұрын
Great teacher, Thank you very much.
@soajack
@soajack 5 жыл бұрын
Another great video of @Luis Serrano !!! Great !!!
@wookotech4216
@wookotech4216 5 жыл бұрын
Thank You! You made it very simple and clear!
@AndrewReeman_RemD
@AndrewReeman_RemD 3 жыл бұрын
Great videos and such clear explanations. Thank you for creating these
@frankpimiskern
@frankpimiskern 5 жыл бұрын
Holy Smokes thank you Luis! Clear and concise. Thank You!
@soniaardila
@soniaardila 5 жыл бұрын
Very friendly introduction ! Thanks! See you soon in Bogotá!
@SerranoAcademy
@SerranoAcademy 5 жыл бұрын
Thank you! Definitely, see you soon!
@felixvadan6073
@felixvadan6073 5 жыл бұрын
Really great stuff. Please continue making these videos.
@koushikdas2755
@koushikdas2755 2 жыл бұрын
Great. Content.... Well explained...thanks so much
@abdelrahmanwaelhelaly1871
@abdelrahmanwaelhelaly1871 3 жыл бұрын
These videos are really good, there are a lot of mistakes you made in this chapter in your book , which lead to a very confusing experience. here it's much better.
@pauldmanuel
@pauldmanuel 4 жыл бұрын
Luis Simply amazing. One small question? It is true that the linear regression line always passes through the mean of the data points. Why don't we start with the line which passes through the mean of the data points? In this case, we worry about only the slope and we can ignore y-intercept. Does it make any difference? Paul Manuel
@SiriJustDoIt
@SiriJustDoIt 4 жыл бұрын
That is great trick( rather random line , start at mean) ... Please let me know it worked or improved your model by any means...
@RiteshMagreIT
@RiteshMagreIT 5 жыл бұрын
Sir I am doing research in visual speech recognition. Please make a video on visual speech recognition. Your way of explaining is very nice.
@QuantaCompassAnalytics
@QuantaCompassAnalytics 5 ай бұрын
Luis, I really liked the explanation of pseudo code, 😊 Thankyou for connecting on LinkedIn ❤
@jameseconomy2578
@jameseconomy2578 5 жыл бұрын
Luis, All your videos are so helpful. I have a question though regarding this one. How does the point say "Come closer" (how does the point know it needs to come closer) and how do we know the line is actually closer to the point? Thanks.
@BharatSharma-ek8sb
@BharatSharma-ek8sb 5 жыл бұрын
Thank you so much . I hope learning from you will make difference in my professional career. I have 2 questions. 1). When I initialize random line , I need to choose some initial numbers for slope and Y intercept . what is best practice for choosing these numbers. 2) using square trick , I need 2 coordinates to find vertical and horizontal distances. I have one coordinate from dataset (x1,y1) but how to find another one (x2,y2) (which i assume satisfies line equation?) .
@Han-ve8uh
@Han-ve8uh 3 жыл бұрын
For vertical gap, the 2 points have same x. One y comes from the point, the other y comes from prediction from line by substituting into y=mx+b. For horizontal gap, the 2 points have same y. One x comes from the point, the other x is 0 since it's on the y axis.
@atinsood
@atinsood 5 жыл бұрын
Luis, much appreciate this and making this so easy to understand. Few questions: 1. Does the line always need to be a straight line or can it be a curve(or is that the reason why it is called linear). 2. If so why/what implications is using a curved line also thanks for the hidden gem explaining beautifully why square error is called square error. 3. when doing the square error, why only consider the vertical distance, why not create squares using horizontal distances
@SerranoAcademy
@SerranoAcademy 5 жыл бұрын
Thanks! A curved line can be used, for example, one with a polynomial equation (quadratic, cubic), instead of linear. This is called polynomial regression. One can also combine lines to make curved lines, and this is what neural networks do.
@Han-ve8uh
@Han-ve8uh 3 жыл бұрын
Vertical distances have practical meanings. It's the gap between the predicted value and actual value we care about. In simple linear regression, vertical axis is output and horizontal axis is input. Intuitively, vertical gaps are more important to minimize than horizontal gaps.
@EliezerTseytkin
@EliezerTseytkin 5 жыл бұрын
Simple and brilliant! Thank you!
@kskuppu
@kskuppu 5 жыл бұрын
Superb!! Simple and Best. Keep doing the good work.
@fahimachowdhury6780
@fahimachowdhury6780 2 жыл бұрын
In your first step, Do we take the random line? Or do we draw a line by doing average? How do I know whether a point is below or above to the line and left or right to the y-axis?
@davide8228
@davide8228 2 жыл бұрын
We just pick a random line. To see if a point is below or above.... it's only a math problem. It's very easy so instead of ask here try for yourself with pen and paper. Make a Cartesian plane and pick a point, writing its coordinates
@macknightxu2199
@macknightxu2199 3 жыл бұрын
should machine learning include back propagation?
@jenyasidyakin8061
@jenyasidyakin8061 5 жыл бұрын
Thank you, Luis, you are the best teacher. The "square trick" is an official name for that algorithm ? is that an alternetive to error function and gradient dicent ?
@mayankshah1123
@mayankshah1123 5 жыл бұрын
Nice video Sir!!! It would be nice If you could provide the powerpoint presentation file in the description.
@box40able
@box40able 4 жыл бұрын
Hola, me encanta tus vídeos, ¿este vídeo está disponible en español?
@huojinchowdhury3933
@huojinchowdhury3933 3 жыл бұрын
I am little bit confused here Say, when first point say come closer it goes closer to it. Again when second point says come closer it goes towards it. If the third point is way more far from previous two point, then line will be go far way from first two points to be closer to third point. That means, data with more outlier, line will be never near maximum points but it will remain besides outliers. Is it something like while line moving towards a point, it will consider one point at a time? Or considers all other points towards which it moves already and the current point?
@Han-ve8uh
@Han-ve8uh 3 жыл бұрын
This video is showing stochastic gradient descent where each update only considers 1 point. You can consider more than 1 point too (mini-batch GD) or even all the points in the data (GD), which is the most accurate way of updating weights and biases. The geometric interpretation he gives here is exactly the same as the usual gradient descent we see from other sources (just different by constant factors). If we want to consider more points, then the update for both slope and y-intercept will consider the mean of the current operations on vertical/horizontal gaps. Assuming the line updates by looking at points randomly, each point should get seen the same number of times and after many epochs of seeing all points (you can consider 1 epoch as seeing 1 point, or 1 epoch as seeing all points), the line should get better. The issue you mentioned of line not getting updated to a better position and always staying beside outliers should not happen unless the points you use to update the line are always the same outliers.
@danellis7443
@danellis7443 5 жыл бұрын
Merry Christmas Luiz, hope you’re good :)
@SerranoAcademy
@SerranoAcademy 5 жыл бұрын
Thanks Dan, merry christmas to you too!
@TheSaintsVEVO
@TheSaintsVEVO 4 жыл бұрын
How do you extend this to higher dimensions? Is there a recommended video for that?
@vibekdutta6539
@vibekdutta6539 5 жыл бұрын
ypu are awesome mr.luis
@farzadfarzadian8827
@farzadfarzadian8827 5 жыл бұрын
You clever and clear my 5th grade son understands it.
@joaquingrezmansilla8638
@joaquingrezmansilla8638 4 жыл бұрын
hello Luis, i like the way you teach. Tendrás este video en español? vi el del cluster analisis y me ayudó mucho para mi tesis de magíster...
@SerranoAcademy
@SerranoAcademy 4 жыл бұрын
Gracias Joaquin! No tengo exactamente el mismo video en espanol, pero casi igual, con regresion lineal. Aca esta: kzbin.info/www/bejne/gp3MfqOcgtmde9E
@sintwelve
@sintwelve 5 жыл бұрын
Please make a book so I can put you properly in my reference! Or is there another way for me to do so?
@SerranoAcademy
@SerranoAcademy 5 жыл бұрын
Thanks! A book is coming in a few months, but in the meantime you can reference the video. I’ll make the announcement when it’s out
@saliyari
@saliyari 3 жыл бұрын
Hi, What do you use for your animations? I wanna make some slides for my students (now that everything is online) but I don't have much of an experience with apps that could make a nice animation like you have here.
@SerranoAcademy
@SerranoAcademy 3 жыл бұрын
Hi Saleh, thanks for your question! I use keynote for the animations, and iMovie for the editing.
@saliyari
@saliyari 3 жыл бұрын
@@SerranoAcademy Thanks a lot. Kudos to you for posting high quality material and making it available to the public. Also, I asked the same question on your homepage. Please ignore that message. Thanks again.
@dtakamalakirthidissanayake9770
@dtakamalakirthidissanayake9770 4 жыл бұрын
Thank You. This Is Great!!!
@ПавлоК-з9н
@ПавлоК-з9н 10 ай бұрын
I'm wondering if dependency is not linear (but lets say, exponential or quadratic) does the solving non linear task would still be called linear regression?
@SerranoAcademy
@SerranoAcademy 10 ай бұрын
Absolutely! That is called quadratic regression, or polynomial regression if the degree is higher. These models can also be trained in the same way as linear regression (by updating the weights using gradient descent). Note that the higher the degree of the polynomial, the better the fit, but the more prone you are to overfitting, so often when polynomial regression is used, one should also use something like regularization, to prevent overfitting.
@ПавлоК-з9н
@ПавлоК-з9н 10 ай бұрын
@@SerranoAcademy got, thx so much. Perhaps that could be a topic for one of the next video ;)
@SerranoAcademy
@SerranoAcademy 10 ай бұрын
@@ПавлоК-з9н Great idea! i've been wanting to make a video on polynomial regression for a while, but something else always comes up...
@kiran082
@kiran082 4 жыл бұрын
Great Video
@peeyushkumar8843
@peeyushkumar8843 5 жыл бұрын
Sir,how can i know that this is the fitted line??
@dilipgawade9686
@dilipgawade9686 5 жыл бұрын
Hi Sir, Please make videos on Random Forest and Descision Tree
@thisismrsanjay
@thisismrsanjay Жыл бұрын
you should be adding more videos in youtube really different then rest
@ayman001B
@ayman001B 5 жыл бұрын
Where can I actually code the algorithm and visualise it ? and Thank you for succiding at explaining something my teatchers failed at.
@SerranoAcademy
@SerranoAcademy 5 жыл бұрын
Thanks! I suggest coding it in numpy (python). You can also find packages like scikit-learn, which already have implemented it, so you don't need to hard code it.
@sofianeben3028
@sofianeben3028 4 жыл бұрын
i appreciate it mate
@yasmad4553
@yasmad4553 5 жыл бұрын
Thx alot So informative
@aujard1236
@aujard1236 5 жыл бұрын
감사합니다. 좋은 영상 입니다. 추천 합니다.
@weekoo9189
@weekoo9189 5 жыл бұрын
Yo! Great Video!
@moueshchronicles
@moueshchronicles 5 жыл бұрын
Excellent
@scherwinn
@scherwinn 5 жыл бұрын
Clever great!
@priyasearcher
@priyasearcher 5 жыл бұрын
understood sir
@koreaorang2351
@koreaorang2351 5 жыл бұрын
Thanks!!
@aigaurav5024
@aigaurav5024 5 жыл бұрын
Thanku sir
@macknightxu2199
@macknightxu2199 3 жыл бұрын
pick one random point, later pick another random point?
@haydarsalah2968
@haydarsalah2968 2 жыл бұрын
its great but i think it need more math besides visualization
@entropiclips
@entropiclips 4 жыл бұрын
grat vid
@testme2026
@testme2026 2 жыл бұрын
Those three videos go very well with the book, woudl be great to do a video for each chapter like those. . Thank you again
@SerranoAcademy
@SerranoAcademy 2 жыл бұрын
Thanks! Great idea! I’m actually working on a decisión trees one now. There are a few other videos for chapters in the book, like a naive Bayes video, so hopefully soon I can get them all there.
@testme2026
@testme2026 2 жыл бұрын
@@SerranoAcademy love it, thank you so much
@maulanakamal6188
@maulanakamal6188 4 жыл бұрын
Even i am not native English can grasp
Support Vector Machines (SVMs): A friendly introduction
30:58
Serrano.Academy
Рет қаралды 90 М.
Когда отец одевает ребёнка @JaySharon
00:16
История одного вокалиста
Рет қаралды 13 МЛН
World‘s Strongest Man VS Apple
01:00
Browney
Рет қаралды 56 МЛН
ДЕНЬ УЧИТЕЛЯ В ШКОЛЕ
01:00
SIDELNIKOVVV
Рет қаралды 4 МЛН
This mother's baby is too unreliable.
00:13
FUNNY XIAOTING 666
Рет қаралды 38 МЛН
Principal Component Analysis (PCA)
26:34
Serrano.Academy
Рет қаралды 411 М.
A friendly introduction to Bayes Theorem and Hidden Markov Models
32:46
Serrano.Academy
Рет қаралды 476 М.
Gradient Descent, Step-by-Step
23:54
StatQuest with Josh Starmer
Рет қаралды 1,3 МЛН
Shannon Entropy and Information Gain
21:16
Serrano.Academy
Рет қаралды 205 М.
A Friendly Introduction to Machine Learning
30:49
Serrano.Academy
Рет қаралды 938 М.
The covariance matrix
13:57
Serrano.Academy
Рет қаралды 98 М.
Machine Learning: Testing and Error Metrics
44:43
Serrano.Academy
Рет қаралды 109 М.
How does Netflix recommend movies? Matrix Factorization
32:46
Serrano.Academy
Рет қаралды 345 М.
A Friendly Introduction to Generative Adversarial Networks (GANs)
21:01
Serrano.Academy
Рет қаралды 255 М.
Query, Key and Value Matrix for Attention Mechanisms in Large Language Models
18:21
Когда отец одевает ребёнка @JaySharon
00:16
История одного вокалиста
Рет қаралды 13 МЛН