Can anyone tell me what is the simplest way to apply class_weight in Keras when the dataset is unbalanced please? I only have two classes in my target. Thanks. Continue reading...