code: def __init__(
      self,
      num_node,
      feature_bin_sizes,
      value_schemas,
      global_seed=None,
      seed=None,
      node_mapping=None,
      k=None,
      enable_cumsum=True,
  ):
      self._num_node = num_node
      self._feature_bin_sizes = feature_bin_sizes
      self._node_data_size = sum(feature_bin_sizes)
      self._value_schemas = value_schemas
      self._global_seed = global_seed
      self._seed = seed
      self._node_mapping = node_mapping
      self._enable_cumsum = enable_cumsum
      self._k = k
  
imports: from ._histogram_distributed import DistributedHistogram
  from ._histogram_local import Histogram
label_desc: Use image node_id 1 to create a new HistogramBuilder object  with example: obj = HistogramBuilder(num_node, feature_bin_sizes, value_schemas, global_seed, seed, node_mapping, k, enable_cumsum)