Thanks @ptrblck



 moreshud:

My approach of getting the class weights is by summing the 1’s in each class label of the tragets of the training dataset and taking the inverse as suggested.


Is this approach in the case of multiclass multilabel?