Increase model stability using Bagging in Python

Let’s see how to increase the stability of a model using bagging technique

Gianluca Malato
Towards Data Science
5 min readOct 18, 2021

--

Example of bagging. Image by author

Data scientists usually search for a model that has the highest accuracy possible. However, they should focus on another term too, which is stability. In this article, I explain what it is and how to increase it using a technique called “bagging”.

--

--

Theoretical Physicists, Data Scientist and fiction author. I teach Data Science, statistics and SQL on YourDataTeacher.com. E-mail: gianluca@gianlucamalato.it