I'm trying to develop a 1D CNN model for a high imbalance dataset. I tried giving sample_weights trying to compensate for the class imbalance. But it always classifies into one class.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.