Handling Class Imbalance by Introducing Sample Weighting in the Loss Function Medium US, 17 Dec 2020 Dec 17 · 8 min read “Nobody is Perfect” This quote not just applies to us humans but also the data that surrounds us.