class_docstr: BinnedFeatureGenerator bins incoming int and float features to num_bins unique int values, maintaining relative rank order.
class_docstr_tok: ["BinnedFeatureGenerator","bins","incoming","int","and","float","features","to","num_bins","unique","int","values",",","maintaining","relative","rank","order","."]
code: def _get_bin_map(self, X: DataFrame) -> dict:
      return binning.generate_bins(
          X, list(X.columns), ideal_bins=self.num_bins
      )
  
file_path: autogluon/features/src/autogluon/features/generators/binned.py
imports: import copy
  import logging
  import pandas
  from pandas import DataFrame
  from autogluon.common.features.types import R_FLOAT, R_INT, S_BINNED
  from ..None import binning
  from ..utils import get_smallest_valid_dtype_int
  from .abstract import AbstractFeatureGenerator
label_desc: Use image node_id 5 for calling the BinnedFeatureGenerator obj's underlying member method code with example usage: obj._get_bin_map(X) and returns: binning