Skip to main content
Ctrl+K
Version 0.14.dev0 - Home Version 0.14.dev0 - Home
  • Getting Started
  • User Guide
  • API reference
  • Examples
  • Release history
    • About us
  • GitHub
  • Getting Started
  • User Guide
  • API reference
  • Examples
  • Release history
  • About us
  • GitHub

Section Navigation

  • Under-sampling methods
    • ClusterCentroids
    • CondensedNearestNeighbour
    • EditedNearestNeighbours
    • RepeatedEditedNearestNeighbours
    • AllKNN
    • InstanceHardnessThreshold
    • NearMiss
    • NeighbourhoodCleaningRule
    • OneSidedSelection
    • RandomUnderSampler
    • TomekLinks
  • Over-sampling methods
    • RandomOverSampler
    • SMOTE
    • SMOTENC
    • SMOTEN
    • ADASYN
    • BorderlineSMOTE
    • KMeansSMOTE
    • SVMSMOTE
  • Combination of over- and under-sampling methods
    • SMOTEENN
    • SMOTETomek
  • Ensemble methods
    • EasyEnsembleClassifier
    • RUSBoostClassifier
    • BalancedBaggingClassifier
    • BalancedRandomForestClassifier
  • Batch generator for Keras
    • BalancedBatchGenerator
    • balanced_batch_generator
  • Batch generator for TensorFlow
    • balanced_batch_generator
  • Miscellaneous
    • FunctionSampler
  • Pipeline
    • Pipeline
    • make_pipeline
  • Metrics
    • classification_report_imbalanced
    • sensitivity_specificity_support
    • sensitivity_score
    • specificity_score
    • geometric_mean_score
    • macro_averaged_mean_absolute_error
    • make_index_balanced_accuracy
    • ValueDifferenceMetric
  • Datasets
    • make_imbalance
    • fetch_datasets
  • Utilities
    • parametrize_with_checks
    • check_neighbors_object
    • check_sampling_strategy
    • check_target_type
    • parametrize_with_checks
  • API reference
  • Batch generator for TensorFlow

Batch generator for TensorFlow#

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

tensorflow.balanced_batch_generator(X, y, *)

Create a balanced batch generator to train tensorflow model.

previous

balanced_batch_generator

next

balanced_batch_generator

Edit on GitHub

This Page

  • Show Source

© Copyright 2014-2025, The imbalanced-learn developers.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.16.1.