The Battle of Polynomials | Towards Bayesian Regression

  Рет қаралды 10,014

Kapil Sachdeva

Kapil Sachdeva

Күн бұрын

In this tutorial, I explain the process of building models to fit a dataset using various degrees of polynomials.
I then compare the predictions made by these various models and investigate why a more capable model (one with a higher degree polynomial) overfitted and explain the various remedies to tackle it by making use of more training data points and performing regularization.
The tutorial provides the various derivations & mathematical justifications behind the usage of the error function (sum squared) but then argues that this view of regression is very limiting and if there is an alternative view to modeling that explains these formulations better.
#
PRML - (available for free, thanks to Dr. Bishop) - www.microsoft....
The (python) source code used to reproduce the experiment from the book can be found here in the form of colab/jupyter notebook -
colab.research...
or, for read-only view see this
ksachdeva.gith...
#linearregression
#ridgeregression
#overfitting

Пікірлер: 44
@bharadwajreddy7840
@bharadwajreddy7840 3 жыл бұрын
This is an amazing series, please continue doing videos for rest of "pattern recognition and machine learning" book
@KapilSachdeva
@KapilSachdeva 3 жыл бұрын
Will do.
@KapilSachdeva
@KapilSachdeva 3 жыл бұрын
Feeling guilty now :( …. Apologies for the delay.
@KaranYadav-hw9yo
@KaranYadav-hw9yo 3 жыл бұрын
Yeah..this is really helpful...I was struggling to get sense of these equations but then this video has very systematically explained the concepts!!!
@KapilSachdeva
@KapilSachdeva 3 жыл бұрын
@@KaranYadav-hw9yo thanks 🙏… glad you found it helpful!
@Pruthvikajaykumar
@Pruthvikajaykumar 2 жыл бұрын
This channel is gold mine seriously. Thank you Sir!
@KapilSachdeva
@KapilSachdeva 2 жыл бұрын
🙏
@adesiph.d.journal461
@adesiph.d.journal461 3 жыл бұрын
Please do more from PRML! A whole generation of us need it :) Thank you!
@KapilSachdeva
@KapilSachdeva 3 жыл бұрын
Do you mean beyond Bayesian Regression and Inference? … I am trying to base most of the tutorials in this series using examples and plots from PRML provided it makes sense. For example, the latest (Markov Chains) in PRML is not covered to my satisfaction.
@adesiph.d.journal461
@adesiph.d.journal461 3 жыл бұрын
@@KapilSachdeva So here is how I see it, A lot of Advanced ML courses abroad require you to have prerequisites in the form of PRML or the MML book. At least if someone wants to understand research papers a lot of them assume students know chapters from PRML like Kernel Methods and Approximate Inference (which become important in Generative models, VAEs). Your videos are super nice so if you are working on a series on these lines I believe undergraduates can start understanding the subject in more depth and also start contributing and try their hand in research. Definitely, if you feel find other books to make more sense for a particular topic that is the way forward, but its just the confidence it gives students knowing they covered the prerequisite book with the reputation of PRML feels good.
@KapilSachdeva
@KapilSachdeva 3 жыл бұрын
All fair points. Thanks, your suggestion makes lot of sense and see the value in it. Let me ponder over it on how to execute on this great suggestion ! 🙏
@adesiph.d.journal461
@adesiph.d.journal461 3 жыл бұрын
@@KapilSachdeva Thank you! Really looking forward!
@KapilSachdeva
@KapilSachdeva 3 жыл бұрын
🙏
@gender121
@gender121 2 жыл бұрын
Really a treasure of knowledge expressed in very simple way….a help to learn Bayesian treatment. Please complete the series and more videos are expected.
@KapilSachdeva
@KapilSachdeva 2 жыл бұрын
🙏
@mathewjones8891
@mathewjones8891 7 ай бұрын
This was a wonderful tutorial. Your graphics, style, clarity and humour are very helpful. Looking forward to the rest of the series. Specifically, I'm interested in using Bayesian prediction on my own data.
@KapilSachdeva
@KapilSachdeva 7 ай бұрын
🙏
@johnjohnston3815
@johnjohnston3815 Ай бұрын
I just found your channel today and I am glad I did! Great stuff
@zgbjnnw9306
@zgbjnnw9306 2 жыл бұрын
This video is so helpful for me after I finished my regression class. I didn't under the overfitting concept. Now I do! Thank you!
@KapilSachdeva
@KapilSachdeva 2 жыл бұрын
🙏
@hariharanvenkatraman3074
@hariharanvenkatraman3074 Жыл бұрын
such a gem of the playlist. Every topics are explained clearly. Please do more videos with the same book❤❤❤
@KapilSachdeva
@KapilSachdeva Жыл бұрын
🙏
@sanjaythorat
@sanjaythorat Жыл бұрын
Very well explained. Please keep up the good work!
@KapilSachdeva
@KapilSachdeva Жыл бұрын
🙏
@Dev-zr8si
@Dev-zr8si 2 жыл бұрын
This is amazing, I hope you make more. Thank you.
@KapilSachdeva
@KapilSachdeva 2 жыл бұрын
🙏… there are 10 more videos in this playlist called “Towards Bayesian Regression”
@sertacderya3775
@sertacderya3775 Жыл бұрын
Very helpful videos, thank you very much!
@KapilSachdeva
@KapilSachdeva Жыл бұрын
🙏
@unimatorx
@unimatorx Жыл бұрын
That is super useful! Fantastic work :)
@KapilSachdeva
@KapilSachdeva Жыл бұрын
🙏
@cerioscha
@cerioscha Жыл бұрын
Great video, thanks !
@KapilSachdeva
@KapilSachdeva Жыл бұрын
🙏
@aarjavik123
@aarjavik123 3 жыл бұрын
Thanks for excellent lecture
@KapilSachdeva
@KapilSachdeva 3 жыл бұрын
🙏
@drewburns7805
@drewburns7805 Жыл бұрын
Thank you. Very helpful! But I think there is a mistake in saying the weights vector is a row vector. I believe it should be a column vector for t = Xw
@KapilSachdeva
@KapilSachdeva Жыл бұрын
🙏 thanks for pointing it out. You are correct. I will add a note in the description.
@gender121
@gender121 Ай бұрын
Can you please guide me whether weight vector is column vector or row vector. It is creating confusion in multiplication. Thanks in advance for the great series.
@medihazukic5382
@medihazukic5382 5 ай бұрын
Amazing lectures, thank you so much! I was wondering at 12:07 the partial derivatives of E wrt w_i (in the right panel), shouldn't those be the partial derivatives of ys and not Es?
@KapilSachdeva
@KapilSachdeva 5 ай бұрын
No it is E, the error function. Our goal is to minimize the error.
@ankurgupta8060
@ankurgupta8060 2 жыл бұрын
How to create this type of video. Just curious its spot on with black background and animation is enough to serve the purpose. Any lead is appreciated 👍. Thanks for the video and the content.
@KapilSachdeva
@KapilSachdeva 2 жыл бұрын
🙏 PowerPoint with black theme and morph transitions and animations. Not much more than that.
@KapilSachdeva
@KapilSachdeva Жыл бұрын
@@hyperadapted sometimes in latex but mostly in PowerPoint :)
Maximum Likelihood Estimation - THINK PROBABILITY FIRST!
24:07
Kapil Sachdeva
Рет қаралды 7 М.
Gaussian Processes
23:47
Mutual Information
Рет қаралды 127 М.
Как подписать? 😂 #shorts
00:10
Денис Кукояка
Рет қаралды 8 МЛН
Win This Dodgeball Game or DIE…
00:36
Alan Chikin Chow
Рет қаралды 43 МЛН
Tutorial 10: Bayesian Inference: Part 11: Bayesian Linear Regression in Python
27:29
Bayesian Regression in R
19:39
Spencer Pao
Рет қаралды 13 М.
Posterior Predictive Distribution - Proper Bayesian Treatment!
26:33
Regularization Part 1: Ridge (L2) Regression
20:27
StatQuest with Josh Starmer
Рет қаралды 1 МЛН
Bayesian Curve Fitting - Your First Baby Steps!
15:11
Kapil Sachdeva
Рет қаралды 7 М.
11d Machine Learning: Bayesian Linear Regression
15:20
GeostatsGuy Lectures
Рет қаралды 47 М.
Polynomial regression
8:57
Mike X Cohen
Рет қаралды 89 М.
Ridge Regression (L2 Regularization)
9:54
Endless Engineering
Рет қаралды 17 М.
Lecture74 (Data2Decision) Bayesian Regression, part 1
25:45
Chris Mack
Рет қаралды 8 М.
Introduction to Bayesian data analysis - part 1: What is Bayes?
29:30