Early Stopping. The Most Popular Regularization Technique In Machine Learning.

  Рет қаралды 14,541

Underfitted

Underfitted

Жыл бұрын

Train a model for too long, and it will stop generalizing appropriately. Don't train it long enough, and it won't learn.
That's a critical tradeoff when building a machine learning model, and finding the perfect number of iterations is essential to achieving the results we expect.
Early stopping is one of the most popular regularization techniques to train machine learning models. It's both easy to implement and very effective.
🔔 Subscribe for more stories: www.youtube.com/@underfitted?...
📚 My 3 favorite Machine Learning books:
• Deep Learning With Python, Second Edition - amzn.to/3xA3bVI
• Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow - amzn.to/3BOX3LP
• Machine Learning with PyTorch and Scikit-Learn - amzn.to/3f7dAC8
Twitter: / svpino
Disclaimer: Some of the links included in this description are affiliate links where I'll earn a small commission if you purchase something. There's no cost to you.

Пікірлер: 52
@paulallen1597
@paulallen1597 Жыл бұрын
Excellent high-level explanation of this topic. 10/10. Thank you for your hard work!
@underfitted
@underfitted Жыл бұрын
Glad you liked it!
@limotto9452
@limotto9452 19 күн бұрын
You sounds like a hero of all Machine Learning realm. Thank you very much for the video sir.
@erfanelmtalab1615
@erfanelmtalab1615 Жыл бұрын
Supreme edit ! can't wait to see your channel grow ...
@alienm.nunezrivero2996
@alienm.nunezrivero2996 Жыл бұрын
That was awesome! My teacher, my mentor, you are just the person I had the opportunity to learn from the most in my whole carrier. Thank you for sharing stuff like this and also for the time we spent working together in the past. I noticed you are now doing what you love the more... just keep teaching
@underfitted
@underfitted Жыл бұрын
Yo! What’s up! Thanks for the comment! Love ya, man!
@user-xt2om1ev9z
@user-xt2om1ev9z Жыл бұрын
Great stuff! Looking forward to hearing more insights!
@srishtigupta5507
@srishtigupta5507 Жыл бұрын
One of the most interesting video to learn from. Thanks!
@emresahindance
@emresahindance Жыл бұрын
You've got yourself a subscriber brother, great edit, clarity.
@underfitted
@underfitted Жыл бұрын
Thanks for the sub!
@karlbooklover
@karlbooklover Жыл бұрын
implemented early stopping auto-saving best model for os-cnn, great explanation! I love your content
@underfitted
@underfitted Жыл бұрын
Glad it was helpful!
@kozaTG
@kozaTG 3 ай бұрын
i hate how he tricks you into watching another video and you can't ignore because of how good the one you're currently watching is
@PritishMishra
@PritishMishra Жыл бұрын
Awesome Explanation and The Thumbnail is lit 🔥
@alwaleedalattas8384
@alwaleedalattas8384 Жыл бұрын
Really like the way you explained it, thanks a lot
@underfitted
@underfitted Жыл бұрын
Glad it was helpful!
@ThiagoSilvaOfficial
@ThiagoSilvaOfficial Жыл бұрын
Nice video, thanks
@graysadler4085
@graysadler4085 Жыл бұрын
This is exactly what I’m building! I’m creating variable training sets to see which training set size has best performance.
@underfitted
@underfitted Жыл бұрын
Sounds great!
@roshanaryal310
@roshanaryal310 Жыл бұрын
Great explanation as always, Santiago 💯💯🔥
@underfitted
@underfitted Жыл бұрын
Appreciate it!
@Naeem2460
@Naeem2460 8 ай бұрын
Amazingly creative explanation, new sub ❤
@a7med7x7
@a7med7x7 7 ай бұрын
I just discovered one of the best channels
@whilstblower901
@whilstblower901 Жыл бұрын
Sir your Explanation is excellent please make Videos on Regularization for Deep learning Parameter norm Penalties, Norm Penalties as Constrained Optimization
@11aniketkumar
@11aniketkumar Жыл бұрын
Wow, your teaching skills are excellent
@underfitted
@underfitted Жыл бұрын
Thanks!
@abdullahyaser9073
@abdullahyaser9073 Жыл бұрын
Fantastic explanation 👏
@underfitted
@underfitted Жыл бұрын
Glad you liked it
@varunahlawat9013
@varunahlawat9013 Жыл бұрын
OMG superbbbbbbbbbbbbb, today itself I came across this confusion (I've just started ML, today started with linear regression, so it's not always linear ahh satisfaction :))
@underfitted
@underfitted Жыл бұрын
Glad it was helpful!
@karimmerchaoui9736
@karimmerchaoui9736 Жыл бұрын
Just what I was looking for ! how about doing a full machine learning course and simplify concepts with the same approach you did in this video ?
@underfitted
@underfitted Жыл бұрын
Working on it.
@M1911Original
@M1911Original Жыл бұрын
I wish you could provide a technical walkthrough alongside the theoretical
@dimasveliz6745
@dimasveliz6745 Жыл бұрын
nice analogy
@underfitted
@underfitted Жыл бұрын
Thanks :)
@tzvi7989
@tzvi7989 Жыл бұрын
Great video. Guess you're still limited by the input data though - especially in the omics fields
@pandabear_77
@pandabear_77 10 ай бұрын
Sir, I had a question. What would be difference between num of boost rounds vs early stopping rounds, since both are available as parameters in xgb.train. I am a little lost as to what would be difference between the two ? Any clarification on the same is appreciated.
@thomaswijgerse723
@thomaswijgerse723 9 ай бұрын
Early stopping is kinda frowned upon right? Since it does regularization and training at the same time. I think the preferred methods are L1, L2 and dropout iirc?
@TheInevitableHulk
@TheInevitableHulk Жыл бұрын
You could tie the deceleration of the validation loss to the learn rate after a certain threshold.
@underfitted
@underfitted Жыл бұрын
Right on
@nicholasmarshall5775
@nicholasmarshall5775 Жыл бұрын
Great video, thanks! At 05:33, you mention the requirement of a "performance metric" - isn't this just the loss function the model is being optimized for?
@underfitted
@underfitted Жыл бұрын
It depends. Sometimes you need something business-specific. For example, what’s the impact of the model in real life?
@shavilyarajput5477
@shavilyarajput5477 Жыл бұрын
As far as i know santiago , epochs are in neural network right how can i use early stopping in ML ? I know it might be a noob question but i didn't really get it.
@underfitted
@underfitted Жыл бұрын
Any algorithm that relies on an iterative approach can benefit from early stopping. But yes, we primarily use it with neural networks.
@aayushpatil7514
@aayushpatil7514 Ай бұрын
0:50 isn't this model over fitting to data?
@nedafiroz514
@nedafiroz514 Жыл бұрын
I want to say one thing, As many times I see your videos, i get inspired to work on the suggestion and improve my model. ❤The best explanation ever. Watching over several times
@stephenpaek9175
@stephenpaek9175 Жыл бұрын
Amazing content, please keep going Santiago
@underfitted
@underfitted Жыл бұрын
Thanks, will do!
@headshock1111
@headshock1111 Жыл бұрын
Wait was this supposed to be an allegory for self improvement or what
@vinaykamath6628
@vinaykamath6628 Жыл бұрын
Is it just me or does this guy sound like PewDiePie
@StephenGillie
@StephenGillie Жыл бұрын
Can an AI be trained to be better at training AI? You're a machine learning expert with a ton of manual work - why not get machine learning to do it for you?
@user-sn2xt1rj7b
@user-sn2xt1rj7b 5 ай бұрын
poor show
Active Learning. The Secret of Training Models Without Labels.
6:31
How AI 'Understands' Images (CLIP) - Computerphile
18:05
Computerphile
Рет қаралды 191 М.
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 10 МЛН
No empty
00:35
Mamasoboliha
Рет қаралды 10 МЛН
Stay on your way 🛤️✨
00:34
A4
Рет қаралды 24 МЛН
The Confusion Matrix in Machine Learning
8:45
Underfitted
Рет қаралды 15 М.
Introduction To Autoencoders In Machine Learning.
13:54
Underfitted
Рет қаралды 12 М.
Has Generative AI Already Peaked? - Computerphile
12:48
Computerphile
Рет қаралды 915 М.
Regularization in a Neural Network | Dealing with overfitting
11:40
The Most Important Algorithm in Machine Learning
40:08
Artem Kirsanov
Рет қаралды 356 М.
This is why Deep Learning is really weird.
2:06:38
Machine Learning Street Talk
Рет қаралды 377 М.
How I’d learn ML in 2024 (if I could start over)
7:05
Boris Meinardus
Рет қаралды 1 МЛН
154 - Understanding the training and validation loss curves
27:47
DigitalSreeni
Рет қаралды 103 М.
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 6 МЛН
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 18 МЛН