Discover more from Daily Dose of Data Science
An Effective Yet Underrated Technique To Improve Model Performance
Robust ML models are driven by diverse training data. Here's a simple yet highly effective technique that can help you create a diverse dataset and increase model performance.
One way to increase data diversity is using data augmentation.
The idea is to create new samples by transforming the available samples. This can prevent overfitting, improve performance, and build robust models.
For images, you can use imgaug (linked in comments). It provides a variety of augmentation techniques such as flipping, rotating, scaling, adding noise to images, and many more.
Find more info: Imgaug.
Share this post on LinkedIn: Post Link.
Thanks for reading Daily Dose of Data Science! Subscribe for free to receive new posts and support my work.
Find the code for my tips here: GitHub.