code: def __init__(
      self,
      data_pack: mz.DataPack,
      embedding_matrix: np.ndarray,
      bin_size: int = 30,
      hist_mode: str = "CH",
      num_dup: int = 1,
      num_neg: int = 1,
      batch_size: int = 32,
      shuffle: bool = True,
  ):
      super().__init__(
          data_pack=data_pack,
          mode="pair",
          num_dup=num_dup,
          num_neg=num_neg,
          batch_size=batch_size,
          shuffle=shuffle,
          callbacks=[
              mz.data_generator.callbacks.Histogram(
                  embedding_matrix=embedding_matrix,
                  bin_size=bin_size,
                  hist_mode=hist_mode,
              )
          ],
      )
      print_deprecation_warning(self)
  
imports: import numpy
  import matchzoo
label_desc: Use image node_id 1 to create a new HistogramPairDataGenerator object from inherited base classes: mz with example: obj = HistogramPairDataGenerator(data_pack, embedding_matrix, bin_size, hist_mode, num_dup, num_neg, batch_size, shuffle)