code: def __init__(
      self,
      method="quantile",
      n_bins=10,
      split_pt_dict=None,
      bin_col=None,
      transform_method=None,
      category_col=None,
      local_only=False,
      error_rate=1e-6,
      adjustment_factor=0.5,
  ):
      self.method = method
      self.bin_col = bin_col
      self.category_col = category_col
      self.n_bins = n_bins
      self._federation_bin_obj = None
      # param check
      if self.method in ["quantile", "bucket", "manual"]:
          self._bin_obj = StandardBinning(
              method,
              n_bins,
              split_pt_dict,
              bin_col,
              transform_method,
              category_col,
              error_rate,
              adjustment_factor,
          )
      else:
          raise ValueError(
              f"{self.method} binning method not supported, please check"
          )
      self.local_only = local_only
      self.column_anonymous_map = None
  
imports: import logging
  import numpy
  import pandas
  from fate.arch import Context
  from fate.arch.histogram import HistogramBuilder
  from ..abc.module import HeteroModule, Module
label_desc: Use image node_id 1 to create a new HeteroBinningModuleGuest object from inherited base classes: HeteroModule with example: obj = HeteroBinningModuleGuest(method, n_bins, split_pt_dict, bin_col, transform_method, category_col, local_only, error_rate, adjustment_factor)