code: def from_model(cls, model) -> "HeteroBinningModuleGuest":
      bin_obj = HeteroBinningModuleGuest(
          method=model["meta"]["method"],
          bin_col=model["meta"]["bin_col"],
          category_col=model["meta"]["category_col"],
          n_bins=model["meta"]["n_bins"],
      )
      bin_obj.restore(model["data"])
      return bin_obj
  
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 9 for calling the HeteroBinningModuleGuest obj's underlying member method code with example usage: obj.from_model(cls, model) and returns: bin_obj