Batch generator for Keras

The imblearn.keras provides utilities to deal with imbalanced dataset in keras.

keras.BalancedBatchGenerator(X, y, *[, …])

Create balanced batches when training a keras model.

keras.balanced_batch_generator(X, y, *[, …])

Create a balanced batch generator to train keras model.