
上QQ阅读APP看书,第一时间看更新
Assigning weights for classes
When we assign equal weightage to the rows that belong to a defaulter and the rows that belong to a non-defaulter, potentially the model can fine-tune for the non-defaulters. In this section, we will look into ways of assigning a higher weightage so that our model classifies defaulters better.