Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Machine Learning Tutorial Python – 21: Ensemble Learning – Bagging

137.9K views on YouTube

Ensemble learning is all about using multiple models to combine their prediction power to get better predictions that has low variance. Bagging and boosting are two popular techniques that allows us to tackle high variance issue. In this video we will learn about bagging with simple visual demonstration. We will also right python code in sklearn to use BaggingClassifier. And oh yes, in the end we have the exercise for you, as always!

Code: https://github.com/codebasics/py/blob/master/ML/19_Bagging/bagging_diabetes_prediction.ipynb
Exercise: https://github.com/codebasics/py/blob/master/ML/19_Bagging/bagging_exercise.md

⭐️ Timestamps ⭐️

00:00 Theory
08:01 Coding
22:25 Exercise

Do you want to learn technology from me? Check https://resources.codebasics.io/5ivcdQ for my affordable video courses.

🌎 Website: https://www.codebasics.io/

🎥 Codebasics Hindi channel: https://www.youtube.com/channel/UCTmFBhuhMibVoSfYom1uXEg

#️⃣ Social Media #️⃣
🔗 Discord: https://discord.gg/r42Kbuk
📸 Instagram: https://www.instagram.com/codebasicshub/
🔊 Facebook: https://www.facebook.com/codebasicshub
📱 Twitter: https://twitter.com/codebasicshub
📝 Linkedin (Personal): https://www.linkedin.com/in/dhavalsays/
📝 Linkedin (Codebasics): https://www.linkedin.com/company/codebasics/
🔗 Patreon: https://www.patreon.com/codebasics?fan_landing=true

❗❗ DISCLAIMER: All opinions expressed in this video are of my own and not that of my employers’.