how to set class weights for imbalanced classes code example
Example: keras unbalanced data
class_weight = {0: 1.,
1: 50.,
2: 2.}
class_weight = {0: 1.,
1: 50.,
2: 2.}